Skip to content
Snippets Groups Projects
Commit 8b5e0d17 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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: default avatarMartin Storsjö <martin@martin.st>
parent d6ded940
No related branches found
No related tags found
No related merge requests found
...@@ -492,7 +492,7 @@ static int read_connect(URLContext *s, RTMPContext *rt) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment