[Live-devel] saving incoming RTP A/V stream as MPEG-2 transport stream
Ross Finlayson
finlayson at live555.com
Thu Apr 18 12:06:56 PDT 2013
> But you can overcome this 'lots of' recursion stack overflow by changing line 83 of "MPEG2TransportStreamMultiplexor.cpp" from
> afterGetting(this);
> to
> envir().taskScheduler().scheduleDelayedTask(0, (TaskFunc*)FramedSource::afterGetting, this);
Alternatively, to reduce the (slight) loss of inefficiency here, you could change this instead to:
if ((fOutgoingPacketCounter%10) == 0) {
envir().taskScheduler().scheduleDelayedTask(0, (TaskFunc*)FramedSource::afterGetting, this);
} else {
afterGetting(this);
}
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/20130418/177fa019/attachment.html>
More information about the live-devel
mailing list