|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlibrtp.RtcpPkt
jlibrtp.RtcpPktPSFB
public class RtcpPktPSFB
RTCP packets for Payload-Specific Feedback Messages
Field Summary | |
---|---|
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 |
private RTPSession |
rtpSession
Parent RTP Session |
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 |
Fields inherited from class jlibrtp.RtcpPkt |
---|
itemCount, length, packetType, padding, problem, rawPkt, received, ssrc, time, version |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
void |
debugPrint()
Debug purposes only |
private void |
decAppLayerFB(byte[] aRawPkt,
int start)
Decode Application specific feedback message |
private void |
decPictureLossIndic()
Decode Picture Loss indication |
private void |
decRefPictureSelIndic(byte[] aRawPkt,
int start)
Decode Reference Picture Selection Indication |
private void |
decSliceLossIndic(byte[] aRawPkt,
int start)
Decode Slice Loss Indication |
private void |
encAppLayerFB()
Encode Application Layer Feedback |
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt CompRtcpPkt will call this automatically |
private void |
encRefPictureSelIndic()
Encode a Reference Picture Selection Indication |
private void |
encSliceLossIndic()
Encode a Slice Loss Indication |
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 |
Methods inherited from class jlibrtp.RtcpPkt |
---|
check, parseHeaders, writeHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean notRelevant
private RTPSession rtpSession
protected long ssrcMediaSource
protected int[] sliFirst
protected int[] sliNumber
protected int[] sliPictureId
protected int rpsiPadding
protected int rpsiPayloadType
protected byte[] rpsiBitString
protected byte[] alfBitString
Constructor Detail |
---|
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 residesMethod Detail |
---|
protected 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 messageprivate void decPictureLossIndic()
private void decSliceLossIndic(byte[] aRawPkt, int start)
aRawPkt
- start
- private void decRefPictureSelIndic(byte[] aRawPkt, int start)
aRawPkt
- start
- private void decAppLayerFB(byte[] aRawPkt, int start)
aRawPkt
- start
- private void encSliceLossIndic()
private void encRefPictureSelIndic()
private void encAppLayerFB()
protected int getFMT()
protected void encode()
encode
in class RtcpPkt
public void debugPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |