live555: stream stoppped after first frame

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

live555: stream stoppped after first frame

1,947 Views
BrilliantovKiri
Senior Contributor I

Hello!

I use live555 for make RTP stream. My encoded programm capture frames from CMOS and encode it, encoded frames stored in shared memory, streamer get data from shared memory and make RTP, all work fine, but...

Sometimes RTP-stream stoppped after first frame, but all programm work, if I rerun streamer via some time I get constant RTP stream.

Anyone uses live555 on iMX53?

Can you help me debug this problem?

Thank you and excuse my bad english.

Labels (2)
Tags (1)
0 Kudos
Reply
5 Replies

1,503 Views
riteshpanchal
Contributor II

Hi,

I am trying to use live555 on imx6.

I assume i have included live555 package by adding "IMAGE_INSTALL_append = " live555"" in my local.conf file and then bitbaking fsl-image-multimedia-full.

But How to use verify installation?

and how to use live555 to create server to stream camera feed over ethernet?

Its very helpful if you give some basic commands to use live555 on imx6.

0 Kudos
Reply

1,503 Views
BrilliantovKiri
Senior Contributor I

Hello, Ritesh!

Unfortunately I not work with imx6 and I custom Makefile for build components.

For create RTSP server I inherit from RTSPServer class, also I inherit from OnDemandServerMediaSubsession for create client session and I use write classes for all my sources - H264 (H264VideoStreamDiscreteFramer), H263 (H263plusVideoStreamFramer), MPEG (MPEG4VideoStreamFramer) and JPEG (JPEGVideoSource)

0 Kudos
Reply

1,503 Views
BrilliantovKiri
Senior Contributor I

I think problem solved.

I not found reason, but sometimes variable uSecondsToGo, defined interval beetwen send packet, can be very big, e.g. 1420587564.

This patch is not very clear, but it quick solve problem, tested on live555 2013.12.15.

0 Kudos
Reply

1,503 Views
XXiao1z
Contributor III

are you using imx535's VPU library to do the encoding?

0 Kudos
Reply

1,503 Views
BrilliantovKiri
Senior Contributor I

yes, now I use VPU library for encoding and live555 for streaming

0 Kudos
Reply