<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Ross,</DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">I have problems streaming live PCM audio.
Audio comes either directly from microphone (16-bit LE) </FONT></DIV>
<DIV><FONT face="Times New Roman">Sampling frequency is 8k, mono(1 channel).
</FONT></DIV>
<DIV><FONT face="Times New Roman">I receive a buffer in the thread and use
event trigger to signal my live555 thread.</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">I've created class based on DeviceSource that
inherit from AudioInputDevice and delivers the Frame on trigger.</FONT></DIV>
<DIV>I am using uLawFromPCMAudioSource to convert to 8-bit u-law audio</DIV>
<DIV> </DIV>
<DIV>I am getting following error if I am giving audio format as WA_PCM:</DIV>
<DIV>FramedSource ::getNextFrame():attempting to read more than once at the same
time. </DIV>
<DIV>One thing I observed here is FramedSource::getNextFrame is getting called
twice at a time( uLawFromPCMAudioSource is calling it again)</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Where I am going wrong ? </DIV>
<DIV> </DIV>
<DIV>Thanks in advance</DIV>
<DIV> </DIV>
<DIV>Regards,<BR>Krishna</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<H1> </H1>
<DIV><FONT
face="Times New Roman"><BR></FONT> </DIV></DIV></DIV></BODY></HTML>