public class RTCPFBPacket
extends net.sf.fmj.media.rtp.RTCPPacket
| Modifier and Type | Field and Description |
|---|---|
byte[] |
fci |
int |
fmt
Feedback message type (FMT).
|
static int |
PSFB |
static int |
RTPFB |
long |
senderSSRC
SSRC of packet sender.
|
long |
sourceSSRC
SSRC of media source.
|
| Constructor and Description |
|---|
RTCPFBPacket(int fmt,
int type,
long senderSSRC,
long sourceSSRC) |
RTCPFBPacket(net.sf.fmj.media.rtp.RTCPCompoundPacket base) |
| Modifier and Type | Method and Description |
|---|---|
void |
assemble(DataOutputStream dataoutputstream) |
int |
calcLength() |
static org.jitsi.utils.ByteArrayBuffer |
getFCI(org.jitsi.utils.ByteArrayBuffer baf)
Gets the Feedback Control Information (FCI) field of an RTCP FB message.
|
long |
getSenderSSRC() |
long |
getSourceSSRC() |
static long |
getSourceSSRC(org.jitsi.utils.ByteArrayBuffer baf)
Gets the SSRC of the media source of the packet specified in the
ByteArrayBuffer passed in as an argument. |
static boolean |
isPSFBPacket(org.jitsi.utils.ByteArrayBuffer baf)
Gets a boolean that indicates whether or not the packet specified in the
ByteArrayBuffer passed in as an argument is an RTP FB packet. |
static boolean |
isRTCPFBPacket(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
RTPFB or PSFB packet. |
static boolean |
isRTPFBPacket(org.jitsi.utils.ByteArrayBuffer baf)
Gets a boolean that indicates whether or not the packet specified in the
ByteArrayBuffer passed in as an argument is an RTP FB packet. |
RawPacket |
toRawPacket() |
String |
toString() |
public static final int RTPFB
public static final int PSFB
public byte[] fci
public int fmt
public long senderSSRC
public long sourceSSRC
public RTCPFBPacket(int fmt,
int type,
long senderSSRC,
long sourceSSRC)
public RTCPFBPacket(net.sf.fmj.media.rtp.RTCPCompoundPacket base)
public static boolean isRTCPFBPacket(org.jitsi.utils.ByteArrayBuffer baf)
ByteArrayBuffer that is passed in the first argument is an RTCP
RTPFB or PSFB packet.baf - the ByteArrayBuffer that holds the RTCP packet.ByteArrayBuffer that
is passed in the first argument is an RTCP RTPFB or PSFB packet,
otherwise false.public static boolean isRTPFBPacket(org.jitsi.utils.ByteArrayBuffer baf)
ByteArrayBuffer passed in as an argument is an RTP FB packet.baf - the ByteArrayBuffer that holds the packetByteArrayBuffer
passed in as an argument is an RTP FB packet, otherwise false.public static boolean isPSFBPacket(org.jitsi.utils.ByteArrayBuffer baf)
ByteArrayBuffer passed in as an argument is an RTP FB packet.baf - the ByteArrayBuffer that holds the packetByteArrayBuffer
passed in as an argument is an RTP FB packet, otherwise false.public static long getSourceSSRC(org.jitsi.utils.ByteArrayBuffer baf)
ByteArrayBuffer passed in as an argument.baf - the ByteArrayBuffer that holds the packetByteArrayBuffer passed in as an argument, or -1 in case of an
error.public static org.jitsi.utils.ByteArrayBuffer getFCI(org.jitsi.utils.ByteArrayBuffer baf)
baf - the ByteArrayBuffer that contains the RTCP message.public void assemble(DataOutputStream dataoutputstream) throws IOException
assemble in class net.sf.fmj.media.rtp.RTCPPacketIOExceptionpublic int calcLength()
calcLength in class net.sf.fmj.media.rtp.RTCPPacketpublic String toString()
toString in class net.sf.fmj.media.rtp.util.Packetpublic RawPacket toRawPacket() throws IOException
RawPacket representation of this RTCPFBPacket.IOExceptionpublic long getSenderSSRC()
Sender SSRC field of this RTCP feedback
packet.public long getSourceSSRC()
Source SSRC field of this RTCP feedback
packet.Copyright © 2022 jitsi.org. All rights reserved.