OSDN Git Service

avformat/rtmpproto: Fix RTMP control message handling error in listen mode.
authorHiroyuki OYAMA <oyama@module.jp>
Wed, 12 Oct 2016 06:33:44 +0000 (15:33 +0900)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Oct 2016 14:16:32 +0000 (16:16 +0200)
commit47f74df29cb1ad2cef468f6acc7c572241937b04
treec7adff5096055eaa68eee981d84c87b7c5a59101
parent03ec6b780cfae85b8bf0f32b2eda201063ad061b
avformat/rtmpproto: Fix RTMP control message handling error in listen mode.

Fix problem to fail by a RTMP Control Message except "Set Chunk Size (1)" after an RTMP handshake. When 'nginx-rtmp-module' relays an RTMP, it sends not only control message 'Set Chunk Size (1)' but also 'Window Acknowledgement Size (5)'.

Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rtmpproto.c