[Live-devel] FrameSource:Getnextframe error whilestreamingPCMframes

Krishna krishnaks at iwavesystems.com
Fri Oct 25 01:54:54 PDT 2013


HI Ross,

Thanks. Now afterGettingFrame function is getting called.

Regards,

From: Ross Finlayson 
Sent: Friday, October 25, 2013 3:31 AM
To: LIVE555 Streaming Media - development & use 
Subject: Re: [Live-devel] FrameSource:Getnextframe error whilestreamingPCMframes

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/ 




--------------------------------------------------------------------------------
_______________________________________________
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/20131025/ea6aa9ec/attachment.html>


More information about the live-devel mailing list