[FFmpeg-devel] [PATCH] RTMP streaming crashes after some time with Flash Media Server (FMS), Issue 2236

Manjunath Siddaiah msiddaiah at rgbnetworks.com
Wed Mar 23 18:49:56 CET 2011


Issue 2236 is reproducible for high bitrates more than 1 Mbps. Current RTMP implementation assumes there will be one "rtmp packet" inside a "flv packet".
This assumption is true for low bitrates and for high bitrates there will be multiple "rtmp packets" inside a "flv packet". Current implementation has not taken care of this situation.
The fix is done taking care off "multiple rtmp packets" in a "flv packet".  The patch has 3 line changes in "rtmp_write" function in "libavformat/rtmpproto.c" and is provided with suitable comments.

The patch is tested overnight for video bitrate at 10 Mbps without any crashing.

-Manjunath H Siddaiah

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PATCH_for_Issue_2236.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110323/5343dc34/attachment.txt>

More information about the ffmpeg-devel mailing list