[Live-devel] HTTP live streaming crash

Ross Finlayson finlayson at live555.com
Sun Jan 12 16:27:58 PST 2014


>    The latest release(0107) will fail with a SIGSEGV on HTTP live streaming.

That's strange.  The code for HTTP Live Streaming has not been changed in several months.


> It faults at MediaSink::onSourceClosure.

It would be nice to know exactly why the fault is occurring.


>    In TCPStreamSink::processBuffer, onSourceClosure is being called twice, one being called inside the fSource->getNextFrame call, and the other being called when the source is done.

No, the function that's being called (as a 'input source closure' handler) as a result of "getNextFrame()" is "TCPStreamSink::ourOnSourceClosure()" (note the "our" in the name).  It's a different function from the "onSourceClosure()" function that's called later.

There might well still be a bug in the code, but that's not it.

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/20140112/9139ae8c/attachment.html>


More information about the live-devel mailing list