• Stian Selnes's avatar
    rtp: add H.261 RTP payloader and depayloader · ef8d630a
    Stian Selnes authored
    Implementation according to RFC 4587.
    
    Payloader create fragments on MB boundaries in order to match MTU size
    the best it can. Some decoders/depayloaders in the wild are very strict
    about receiving a continuous bit-stream (e.g. no no-op bits between
    frames), so the payloader will shift the compressed bit-stream of a
    frame to align with the last significant bit of the previous frame.
    
    Depayloader does not try to be fancy in case of packet loss. It simply
    drops all packets for a frame if there is a loss, keeping it simple.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751886
    ef8d630a