|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlibrtp.RtcpPkt
jlibrtp.RtcpPktRR
public class RtcpPktRR
RTCP packets for Receiver Reports
Field Summary | |
---|---|
protected long[] |
delaySR
Delay on last SRC |
protected long[] |
extHighSeqRecv
Extended highest sequence received |
protected long[] |
interArvJitter
Interarrival jitter |
protected int[] |
lossFraction
Fraction (over 256) of packets lost |
protected int[] |
lostPktCount
Number of lost packets |
protected Participant[] |
reportees
Array of participants to send Receiver Reports to |
protected long[] |
reporteeSsrc
SSRC of participants the reports are for |
protected long[] |
timeStampLSR
Middle 32 bits of NTP when last SR was received |
Fields inherited from class jlibrtp.RtcpPkt |
---|
itemCount, length, packetType, padding, problem, rawPkt, received, ssrc, time, version |
Constructor Summary | |
---|---|
protected |
RtcpPktRR(byte[] aRawPkt,
int start,
int rrCount)
If rcount < 0 we assume we have to parse the entire packet, otherwise we'll just parse the receiver report blocks (ie. |
protected |
RtcpPktRR(Participant[] reportees,
long ssrc)
Constructor for a packet with receiver reports |
Method Summary | |
---|---|
void |
debugPrint()
Debug purposes only |
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt CompRtcpPkt will call this automatically |
protected byte[] |
encodeRR()
Encodes the individual Receiver Report blocks, so they can be used either in RR packets or appended to SR |
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 Participant[] reportees
protected long[] reporteeSsrc
protected int[] lossFraction
protected int[] lostPktCount
protected long[] extHighSeqRecv
protected long[] interArvJitter
protected long[] timeStampLSR
protected long[] delaySR
Constructor Detail |
---|
protected RtcpPktRR(Participant[] reportees, long ssrc)
reportees
- the participants on which to generate reportsssrc
- the SSRC of the sender, from the RTPSessionprotected RtcpPktRR(byte[] aRawPkt, int start, int rrCount)
aRawPkt
- the byte[] with the report(s)start
- where in the raw packet to start readingrrCount
- the number of receiver reports, -1 if this does not come from an SRMethod Detail |
---|
protected void encode()
encode
in class RtcpPkt
protected byte[] encodeRR()
public void debugPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |