|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlibrtp.RtcpPkt
jlibrtp.RtcpPktRTPFB
public class RtcpPktRTPFB
RTCP packets for RTP Feedback Messages In line with RFC 4585, this packet currently only supports NACKs
Field Summary | |
---|---|
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 |
Fields inherited from class jlibrtp.RtcpPkt |
---|
itemCount, length, packetType, padding, problem, rawPkt, received, ssrc, time, version |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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) |
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
protected long ssrcMediaSource
protected int[] PID
protected int[] BLP
Constructor Detail |
---|
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 residesMethod Detail |
---|
protected void encode()
encode
in class RtcpPkt
protected int getFMT()
protected void debugPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |