[Live-devel] FrameSource:Getnextframe error while streamingPCMframes

Ross Finlayson finlayson at live555.com
Thu Oct 24 15:01:08 PDT 2013


I think your problem is here:

void triggerLive555Scheduler(void) {
	scheduler->triggerEvent(WAVSource::s_frameReceivedTrigger, sessionState.source);
}

The problem with this is the second parameter to "triggerEvent()".  It needs to be a pointer to a "WAVSource" object.  If you are streaming raw PCM audio, and inserting a "uLawFromPCMAudioSource" filter object in front of it, then "sessionState.source" will point to that filter object, which is the wrong thing to be passing to "triggerEvent()".

So, you should change the second parameter to be "wavSource".


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/ba1f6421/attachment.html>


More information about the live-devel mailing list