[Live-devel] Minimizing latency
Ross Finlayson
finlayson at live555.com
Mon Sep 21 14:49:00 PDT 2015
As you noted, your question has more to do with your encoder/media than with LIVE555, and therefore is hard to answer, especially because you haven’t said what kind of media you plan on streaming - i.e., what codec(s). Also, there are other issues to consider as well as ‘latency’ - e.g., data efficiency (i.e., bitrate), and resilience to packet loss and/or reordering.
E.g., much of the latency in video streaming will come from your video encoder. You could eliminate this latency by streaming raw (unencoded) video - but that would give you a very high network data rate. Maybe that’s OK for you; maybe not...
One LIVE555-specific question that I can answer, however (because it’s one that you asked): Adding the (12-byte) RTP header at the front of each RTP packet adds no significant latency, so you shouldn’t consider raw-UDP streaming (because you lose resilience to packet reordering, statistics generation, etc.), unless you have a specific reason (e.g., legacy non-standard receiving client hardware) for doing this.
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/20150921/84d81528/attachment.html>
More information about the live-devel
mailing list