[Live-devel] ASIO input device -> RTP stream

Ross Finlayson finlayson at live555.com
Fri Sep 19 22:52:19 PDT 2014


> Audio is getting on to the network but in a bad state with many pops ticks and glitches, and a lot of variable latency.

This suggests that you're probably not packing PCM audio samples into outgoing RTP packets properly.  Make sure that your source's "doGetNextFrame()" implementation is packing an appropriate number of complete PCM audio samples (remember that you'll have 2x as many bytes if the audio is stereo) before calling "FramedSource::afterGetting()".  Also make sure that you're setting "fPresentationTime" properly (it must be aligned with 'wall clock' time: the time that you'd get by calling "gettimeofday()".)  You also need to set "fDurationInMicroseconds" appropriately each time.

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/20140919/d81635aa/attachment.html>


More information about the live-devel mailing list