Skip to content
Snippets Groups Projects
Commit 4d40e073 authored by Stephan Soller's avatar Stephan Soller Committed by Martin Storsjö
Browse files

rtmpproto: Handle RTMP chunk size packets before the connect packet


In all other cases where ff_rtmp_packet_read is used, the packet returned
is passed to rtmp_parse_result more or less immediately. In this single
case, the content of the packet was required to be a connect packet.

Some clients, e.g. Open Broadcaster Software, send a chunk size packet
before the connect packet. If the first packet is a chunk size packet,
handle it and read another one, requiring this to be a connect packet
instead.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 64771397
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment