[Live-devel] A question regarding the timing of doGetNextFrame

Ross Finlayson finlayson at live555.com
Mon Feb 8 15:32:20 PST 2016


> The video appears to remain fine, but the audio gets unbelievably scratchy once more than one client connects. With only one client, everything streams and plays fine; with more than one (and it appears to grow worse and worse as more clients grow), the audio starts to get scratchy, sort of like a record player with a bad needle. 
> 
> Do you have any idea what this could be about?

Make sure that the “reuseFirstSource” parameter is True when your “OnDemandServerMediaSubsession” subclass constructor calls the “OnDemandServerMediaSubsession” constructor.  This ensures that your audio input device will get read no more than once concurrently, regardless of how many concurrent RTSP clients the server has.  (Ditto for your video input class.)

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




More information about the live-devel mailing list