• Martin Storsjö's avatar
    rtmp: Make the input FLV parser handle data cut at any point · b14629e5
    Martin Storsjö authored
    This makes the RTMP writing code able to handle FLV data
    fed in arbitrarily small or large chunks, with multiple
    consecutive packets in one write call, or having the FLV
    packet header split over numerous write calls.
    
    When used in conjunction with the flv muxer, the AVIO buffer
    size still needs to be large enough to fit the initial metadata
    packet though, since the size of that packet is written with a
    seekback.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    b14629e5
rtmpproto.c 34.2 KB