[Live-devel] RTSP Client TCP mode

Ross Finlayson finlayson at live555.com
Sat May 26 02:55:43 PDT 2012


> I have a live555 RTSP server serving a 3mbps mpeg2ts file. The server is hosted with public internet connection.
> 
> When openRTSP  is used in RTP/UDP mode its able to receive the file properly. 

Yes, but if your network's capacity is less than 3 Mbps, then you will lose data, but the losses will occur on Transport Stream 'sync byte' boundaries.


> However when  RTP/TCP mode, openRTSP prints "Missing sync byte!" and stops getting data. 
> On the server the Receiver Report shows lot of packet loss. 
> 
> For low bitrate content TCP mode works fine. 

Your stream is exceeding the bandwidth of the network.  Therefore, you are going to lose data.  End of story.  Note that - in this case - RTP-over-TCP streaming will not save you.  If you try to stream over a too-low-bandwidth network using TCP, you'll still get data loss, but it'll occur at the sender (because of its OS buffer overflowing), rather than at the receiver.

This is the important distinction between live media streaming, and on-demand streaming (e.g., using the World-Wide Web).  If you use our software, it's important to understand this distinction.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120526/e864fdef/attachment-0001.html>


More information about the live-devel mailing list