public class RtcpPktRTPFB extends RtcpPkt
Modifier and Type | Field and Description |
---|---|
protected int[] |
BLP
bitmask of following lost packets, shared index with PID
|
protected boolean |
notRelevant
If this packet was for a different SSRC
|
protected int[] |
PID
RTP sequence numbers of lost packets
|
protected long |
ssrcMediaSource
SSRC we are sending feeback to
|
Modifier | Constructor and Description |
---|---|
protected |
RtcpPktRTPFB(byte[] aRawPkt,
int start,
RTPSession rtpSession)
Constructor that parses a raw packet to retrieve information
|
protected |
RtcpPktRTPFB(long ssrcPacketSender,
long ssrcMediaSource,
int FMT,
int[] PID,
int[] BLP)
Constructor for RTP Feedback Message
|
Modifier and Type | Method and Description |
---|---|
protected void |
debugPrint()
Debug purposes only
|
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt
CompRtcpPkt will call this automatically
|
protected int |
getFMT()
Get the FMT (Feedback Message Type)
|
check, parseHeaders, writeHeaders
protected boolean notRelevant
protected long ssrcMediaSource
protected int[] PID
protected int[] BLP
protected RtcpPktRTPFB(long ssrcPacketSender, long ssrcMediaSource, int FMT, int[] PID, int[] BLP)
ssrcPacketSender
- SSRC of sender, taken from RTPSessionssrcMediaSource
- SSRC of recipient of this messageFMT
- the Feedback Message SubtypePID
- RTP sequence numbers of lost packetsBLP
- bitmask of following lost packets, shared index with PIDprotected RtcpPktRTPFB(byte[] aRawPkt, int start, RTPSession rtpSession)
aRawPkt
- the raw packet to be parsedstart
- the start of the packet, in bytesrtpSession
- the session on which the callback interface residesprotected void encode()
protected int getFMT()
protected void debugPrint()