[Live-devel] Increasing video latency for RTSP client

Ross Finlayson finlayson at live555.com
Mon Nov 23 01:16:50 PST 2015


> I'm trying to decode RTSP H264 streams, there is an IP camera that has 5MP frames. I used to have lots of decoding errors and this was due to the receive buffer size. Using the increaseReceiveBufferTo(...) function I managed to fix the decoding artifacts.
> 
> Now however, I have an ever-increasing video delay, it starts small but keeps delaying over time. I don't know what could be causing this. The program does very little else so I don't think the computer cannot keep up.
> 
> Is there something within Live555 that can cause/prevent such delays?

No.  If the stream is being sent properly, then the receiving client should be receiving H.264 video NAL units (with proper ‘presentation times’), to feed to your decoder.

Does an existing RTSP/RTP media player client - e.g. VLC - play this same stream properly?


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list