mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
rtmpproto: Send chunk size on the network channel
This makes sure that e.g. Adobe FME actually reacts to it. As long as the value we've been sending is the default one (128), the bug hasn't been noticed. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d6ded94036
commit
8b5e0d17e7
@ -492,7 +492,7 @@ static int read_connect(URLContext *s, RTMPContext *rt)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
// Chunk size
|
// Chunk size
|
||||||
if ((ret = ff_rtmp_packet_create(&pkt, RTMP_SYSTEM_CHANNEL,
|
if ((ret = ff_rtmp_packet_create(&pkt, RTMP_NETWORK_CHANNEL,
|
||||||
RTMP_PT_CHUNK_SIZE, 0, 4)) < 0)
|
RTMP_PT_CHUNK_SIZE, 0, 4)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user