[Live-devel] how to make latency as low as possible
Ross Finlayson
finlayson at live555.com
Mon Jan 16 04:12:37 PST 2017
You need to copy data to “fTo” and call “FramedSource::afterGetting(this)” only *once*, for each NAL unit that you deliver. (Your code seems to be doing this multiple times for each delivery; this is wrong.)
In other words, each call to “doGetNextFrame()” must (eventually) lead to the delivery of exactly one H.264 NAL unit, followed by exactly one call to “FramedSource::afterGetting(this)”.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list