public class RtcpPktRR extends RtcpPkt
Modifier and Type | Field and Description |
---|---|
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
|
Modifier | Constructor and Description |
---|---|
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
|
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 byte[] |
encodeRR()
Encodes the individual Receiver Report blocks,
so they can be used either in RR packets or appended to SR
|
check, parseHeaders, writeHeaders
protected Participant[] reportees
protected long[] reporteeSsrc
protected int[] lossFraction
protected int[] lostPktCount
protected long[] extHighSeqRecv
protected long[] interArvJitter
protected long[] timeStampLSR
protected long[] delaySR
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 SRprotected void encode()
protected byte[] encodeRR()
public void debugPrint()