Class RTCPREMBPacket


  • public class RTCPREMBPacket
    extends RTCPFBPacket
    Created by gp on 6/24/14. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P| FMT=15 | PT=206 | length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of packet sender | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of media source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Unique identifier 'R' 'E' 'M' 'B' | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Num SSRC | BR Exp | BR Mantissa | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC feedback | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... |
    • Field Detail

      • exp

        public int exp
        The exponential scaling of the mantissa for the maximum total media bit rate value, ignoring all packet overhead.
      • mantissa

        public int mantissa
        The mantissa of the maximum total media bit rate (ignoring all packet overhead) that the sender of the REMB estimates. The BR is the estimate of the traveled path for the SSRCs reported in this message.
      • dest

        public long[] dest
        one or more SSRC entries which this feedback message applies to.
    • Constructor Detail

      • RTCPREMBPacket

        public RTCPREMBPacket​(long senderSSRC,
                              long mediaSSRC,
                              int exp,
                              int mantissa,
                              long[] dest)
      • RTCPREMBPacket

        public RTCPREMBPacket​(long senderSSRC,
                              long mediaSSRC,
                              long bitrate,
                              long[] dest)
      • RTCPREMBPacket

        public RTCPREMBPacket​(net.sf.fmj.media.rtp.RTCPCompoundPacket base)
    • Method Detail

      • getDest

        public long[] getDest()
      • setDest

        public void setDest​(long[] dest)
      • getBitrate

        public long getBitrate()
        Gets the bitrate described in this packet in bits per second.
        Returns:
        the bitrate described in this packet in bits per second.
      • isREMBPacket

        public static boolean isREMBPacket​(org.jitsi.utils.ByteArrayBuffer baf)
        Gets a boolean that indicates whether or not the packet specified in the ByteArrayBuffer that is passed in the first argument is an RTCP REMB packet.
        Parameters:
        baf - the ByteArrayBuffer that holds the RTCP packet.
        Returns:
        true if the packet specified in the ByteArrayBuffer that is passed in the first argument is an RTCP REMB packet, otherwise false.