[Live-devel] FrameSource:Getnextframe error while streaming PCM frames
Krishna
krishnaks at iwavesystems.com
Fri Oct 11 00:10:28 PDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131011/36725bae/attachment.html>
More information about the live-devel
mailing list