public class RTCPREMBPacket extends RTCPFBPacket
Modifier and Type | Field and Description |
---|---|
long[] |
dest
one or more SSRC entries which this feedback message applies to.
|
int |
exp
The exponential scaling of the mantissa for the maximum total media
bit rate value, ignoring all packet overhead.
|
static int |
FMT |
int |
mantissa
The mantissa of the maximum total media bit rate (ignoring all packet
overhead) that the sender of the REMB estimates.
|
fci, fmt, PSFB, RTPFB, senderSSRC, sourceSSRC
Constructor and Description |
---|
RTCPREMBPacket(long senderSSRC,
long mediaSSRC,
int exp,
int mantissa,
long[] dest) |
RTCPREMBPacket(long senderSSRC,
long mediaSSRC,
long bitrate,
long[] dest) |
RTCPREMBPacket(net.sf.fmj.media.rtp.RTCPCompoundPacket base) |
Modifier and Type | Method and Description |
---|---|
void |
assemble(java.io.DataOutputStream dataoutputstream) |
int |
calcLength() |
long |
getBitrate()
Gets the bitrate described in this packet in bits per second.
|
long[] |
getDest() |
static boolean |
isREMBPacket(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. |
void |
setDest(long[] dest) |
java.lang.String |
toString() |
getFCI, getSenderSSRC, getSourceSSRC, getSourceSSRC, isPSFBPacket, isRTCPFBPacket, isRTPFBPacket, toRawPacket
public static final int FMT
public int exp
public int mantissa
public long[] dest
public RTCPREMBPacket(long senderSSRC, long mediaSSRC, int exp, int mantissa, long[] dest)
public RTCPREMBPacket(long senderSSRC, long mediaSSRC, long bitrate, long[] dest)
public RTCPREMBPacket(net.sf.fmj.media.rtp.RTCPCompoundPacket base)
public long[] getDest()
public void setDest(long[] dest)
public void assemble(java.io.DataOutputStream dataoutputstream) throws java.io.IOException
RTCPFBPacket
assemble
in class RTCPFBPacket
java.io.IOException
public int calcLength()
RTCPFBPacket
calcLength
in class RTCPFBPacket
public java.lang.String toString()
toString
in class RTCPFBPacket
public long getBitrate()
public static boolean isREMBPacket(ByteArrayBuffer baf)
ByteArrayBuffer
that is passed in the first argument is an RTCP
REMB packet.baf
- the ByteArrayBuffer
that holds the RTCP packet.ByteArrayBuffer
that
is passed in the first argument is an RTCP REMB packet, otherwise false.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.