• Stephan Soller's avatar
    rtmpproto: Handle RTMP chunk size packets before the connect packet · 4d40e073
    Stephan Soller authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    4d40e073
rtmpproto.c 92 KB