[Live-devel] FrameSource:Getnextframe error while streamingPCMframes
Krishna
krishnaks at iwavesystems.com
Thu Oct 24 07:11:17 PDT 2013
Hi Ross,
I have attached
1. my Device source file Wavsource.cpp
2. WaveStreamer .cpp( took a reference from testWavAudioStreamer.cpp) where I have thread to read the samples and have code for initialization and starting the session.
Regards
From: Ross Finlayson
Sent: Thursday, October 24, 2013 6:23 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] FrameSource:Getnextframe error while streamingPCMframes
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/
--------------------------------------------------------------------------------
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131024/e1ad0e43/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WaveStreamer.cpp
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131024/e1ad0e43/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WAVSource.cpp
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131024/e1ad0e43/attachment-0003.ksh>
More information about the live-devel
mailing list