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(DataOutputStream dataoutputstream) |
int |
calcLength() |
long |
getBitrate()
Gets the bitrate described in this packet in bits per second.
|
long[] |
getDest() |
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. |
void |
setDest(long[] dest) |
String |
toString() |
getFCI, getSenderSSRC, getSourceSSRC, getSourceSSRC, isPSFBPacket, isRTCPFBPacket, isRTPFBPacket, toRawPacketpublic 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(DataOutputStream dataoutputstream) throws IOException
RTCPFBPacketassemble in class RTCPFBPacketIOExceptionpublic int calcLength()
RTCPFBPacketcalcLength in class RTCPFBPacketpublic String toString()
toString in class RTCPFBPacketpublic long getBitrate()
public static boolean isREMBPacket(org.jitsi.utils.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.Copyright © 2022 jitsi.org. All rights reserved.