[Live-devel] Framed Source Issue

Ross Finlayson finlayson+mobile at live555.com
Fri Mar 27 14:42:22 PDT 2009


On Mar 27, 2009, at 9:28 AM, "Mukherjee, Debargha" <debargha.mukherjee at hp.com 
 > wrote:

> Hi Ross,
>
> I am still somewhat confused.
> The parameter fDurationInMicrosecondss is being set correctly by me  
> in the deliverFrame() function of my AudioEncSource class before the  
> call to FramedSource::afterGetting(this). Could you point me to  
> where in your code it is actually used to decide when to make the  
> next call?
>
> In line 144 of MPEG1or2AudioStreamFramer::continueReadProcessing(),  
> as you mentioned, it is *set* anyways by your code. So however I set  
> it in my class does not seem to matter at all.
>>
>>
>>
>>

If your audio source object delivers discrete audio frames (one at a  
time), then you should *not* feed it into a  
"MPEG1or2AudioStreamFramer". (That class is for parsing MPEG audio  
from an unstructured byte stream.). Instead, feed your input source  
directly to your "MPEG1or2AudioRTPSink".


More information about the live-devel mailing list