Hi Ross,

I have problems streaming live PCM audio. Audio comes either directly from 
microphone (16-bit LE) 
Sampling frequency is 8k, mono(1 channel). 
I  receive a buffer in the thread and use event trigger to signal my live555 
thread.

I've created class based on DeviceSource that inherit from AudioInputDevice and 
delivers the Frame on trigger.
I am using uLawFromPCMAudioSource to convert to 8-bit u-law audio

I am getting following error if I am giving audio format as WA_PCM:
FramedSource ::getNextFrame():attempting to read more than once at the same 
time. 
One thing I observed here is FramedSource::getNextFrame is getting called twice 
at a time( uLawFromPCMAudioSource  is calling it again)

If I change audio format to WA_PCMU, I am able to stream without any error ( As 
FramedSource::getNextFrame  is getting called once at a time), and VLC also 
able to play with some noise.

Where I am going wrong ? 

Thanks in advance

Regards,
Krishna





 
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to