Skip to content
  • Wim Taymans's avatar
    rtp: Fix extension data support · 19681276
    Wim Taymans authored
    Allocate header, payload and padding in separate memory blocks in
    gst_rtp_buffer_allocate().
    don't use part of the payload data as storage for the extension data but store
    it in a separate memory block that can be enlarged when needed.
    Rework the one and two-byte header extension to make it reserve space for the
    extra extension first.
    Fix RTP unit test. Don't map the complete buffer or make assumptions on the
    memory layout of the underlaying implementation. We can now always add extension
    data because we have a separate memory block for it.
    19681276