On Thu, 6 Mar 2014, Luca Barbato wrote:
On 05/03/14 15:11, Martin Storsjö wrote:
From: Martin Panter <[email protected]>
Related fix in "rtmpdump":
https://repo.or.cz/w/rtmpdump.git/commitdiff/79459a2
Adobe's RTMP specification (21 Dec 2012), section 5.3.1.3 ("Extended
Timestamp"), says "this field is present in Type 3 chunks". Type 3 chunks are
those with the one-byte header size.
This resolves intermittent hangs and segfaults caused by the read function,
and also includes an untested fix for the write function.
The read function was tested with ABC (Australia) News 24 streams, however
they are probably restricted to only Australian internet addresses. Some of
the packets at the start of these streams seem to contain junk timestamp
fields, often requiring the extended field. Test command:
ffplay rtmp://cp81899.live.edgefcs.net/live/news24-med@28772
maybe avplay, the patch itself looks fine.
Ah, indeed, sorry about that. I've amended it locally, will push in a
little while.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel