Class RawPacket.HeaderExtension

  • All Implemented Interfaces:
    org.jitsi.utils.ByteArrayBuffer
    Enclosing class:
    RawPacket

    public class RawPacket.HeaderExtension
    extends ByteArrayBufferImpl
    Represents an RTP header extension with the RFC5285 one-byte header:
    
     0
     0 1 2 3 4 5 6 7
     +-+-+-+-+-+-+-+-+
     |  ID   |  len  |
     +-+-+-+-+-+-+-+-+
     
    • Method Detail

      • getExtId

        public int getExtId()
        Returns:
        the ID field of this extension.
      • getExtLength

        public int getExtLength()
        Returns:
        the number of bytes of data in this header extension.