> I tried it and I still get a stack overflow.

Grumble.  What's happening here is not infinite recursion, but 'lots of' 
recursion - caused by the fact that some of your input frames (H.264, 
presumably) are so ridiculously large.

Once again: A reminder to everyone who is encoding and streaming H.264 video: 
DO NOT encode your H.264 NAL units to be more than a few 10s of kBytes in size.

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);

Unfortunately, this will make the code (slightly) less efficient - but I'll 
make this change in the next release of the software.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to