[Live-devel] FrameSource:Getnextframe error while streaming PCMframes
Ross Finlayson
finlayson at live555.com
Thu Oct 24 05:53:13 PDT 2013
> I found the problem that uLawFromPCMAudioSource afterGettingFrame is not getting called when I use DeviceSource based design and triggering concept.
> i.e.
> If I am calling FramedSource::afterGetting(this) in doGetNextFrame itself , it is calling afterGettingFrame function in uLawFromPCMAudioSource followed by calling afterGettingFrame function in MultiFramedRTPSink.
>
> If I am calling FramedSource::afterGetting(this) in deliverFrame(which will called by trigger event), then it is calling only afterGettingFrame function in MultiFramedRTPSink and not uLawFromPCMAudioSource afterGettingFrame function.
> That's why I am getting FramedSource ::getNextFrame():attempting to read more than once at the same time.
>
> Where I am going wrong?
I can't tell what's wrong, without seeing your code.
Please post the code for your "OnDemandServerMediaSubsession" subclass, and for your "DeviceSource" based class.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131024/ae350d3f/attachment.html>
More information about the live-devel
mailing list