public class RtcpPktPSFB extends RtcpPkt
Modifier and Type | Field and Description |
---|---|
protected byte[] |
alfBitString
Application Layer Feedback Message
|
protected boolean |
notRelevant
If this packet was for a different SSRC
|
protected byte[] |
rpsiBitString
RPSI information as natively defined by the video codec
|
protected int |
rpsiPadding
RPSI number of padded bits at end of bitString
|
protected int |
rpsiPayloadType
RPSI payloadType RTP payload type
|
protected int[] |
sliFirst
SLI macroblock (MB) address of the first lost macroblock number
|
protected int[] |
sliNumber
SLI number of lost macroblocks
|
protected int[] |
sliPictureId
SLI six least significant bits of the codec-specific identifier
|
protected long |
ssrcMediaSource
SSRC we are sending feeback to
|
Modifier | Constructor and Description |
---|---|
protected |
RtcpPktPSFB(byte[] aRawPkt,
int start,
RTPSession rtpSession)
Constructor that parses a raw packet to retrieve information
|
protected |
RtcpPktPSFB(long ssrcPacketSender,
long ssrcMediaSource)
Generic constructor, then call make
|
Modifier and Type | Method and Description |
---|---|
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)
|
protected void |
makeAppLayerFeedback(byte[] bitString)
Make this packet an Application specific feedback message
|
protected void |
makePictureLossIndication()
Make this packet a Picture loss indication
|
protected void |
makeRefPictureSelIndic(int bitPadding,
int payloadType,
byte[] bitString)
Make this packet a Reference Picture Selection Indication
|
protected void |
makeSliceLossIndication(int[] sliFirst,
int[] sliNumber,
int[] sliPictureId)
Make this packet a Slice Loss Indication
|
check, parseHeaders, writeHeaders
protected boolean notRelevant
protected long ssrcMediaSource
protected int[] sliFirst
protected int[] sliNumber
protected int[] sliPictureId
protected int rpsiPadding
protected int rpsiPayloadType
protected byte[] rpsiBitString
protected byte[] alfBitString
protected RtcpPktPSFB(long ssrcPacketSender, long ssrcMediaSource)
ssrcPacketSender
- ssrcMediaSource
- protected RtcpPktPSFB(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 makePictureLossIndication()
protected void makeSliceLossIndication(int[] sliFirst, int[] sliNumber, int[] sliPictureId)
sliFirst
- macroblock (MB) address of the first lost macroblocksliNumber
- number of lost macroblockssliPictureId
- six least significant bits of the codec-specific identifierprotected void makeRefPictureSelIndic(int bitPadding, int payloadType, byte[] bitString)
bitPadding
- number of padded bits at end of bitStringpayloadType
- RTP payload type for codecbitString
- RPSI information as natively defined by the video codecprotected void makeAppLayerFeedback(byte[] bitString)
bitString
- the original application messageprotected int getFMT()
protected void encode()
public void debugPrint()