Re: [Live-devel] Audio drift with live source

2010-01-13 Thread Ross Finlayson
I am using MP2 audio encoding for which the compressed framesize is supposed to be 576 bytes (sampling rate is 32 KHz, single channel). However, occasionally fMaxSize in deliverFrame() is less than 576. It is 240 or so. When that happens, I write only 240 bytes to fTo, and assign fFrameSize to

Re: [Live-devel] Audio drift with live source

2010-01-13 Thread Mukherjee, Debargha
nal Message- From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, December 17, 2009 5:19 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Audio drift with live source >In my impleme

Re: [Live-devel] Audio drift with live source

2009-12-17 Thread Ross Finlayson
In my implementation of deliverFrame() function in the classes for the sources, I read uncompressed audio and video from ring buffers (which are filled by another thread), compress them, and then fill the buffers accordingly before calling FramedSource::afterGetting(this). I also set fPresentat