Modifier and Type | Field and Description |
---|---|
static int |
SIZE
The size of a feedback report in bytes
|
Constructor and Description |
---|
RTCPFeedback(byte[] data,
int offset,
int length)
Creates a new RTCP Feedback report
|
Modifier and Type | Method and Description |
---|---|
long |
getDLSR()
Returns the delay since last SR (DLSR).
|
int |
getFractionLost()
Returns the fraction of RTP data packets from source SSRC_n lost since the
previous SR or RR packet was sent
|
long |
getJitter()
Returns the interarrival jitter
An estimate of the statistical variance of the RTP data packet
interarrival time, measured in timestamp units and expressed as an
unsigned integer.
|
long |
getLSR()
Returns last SR timestamp (LSR).
|
long |
getNumLost()
Returns the number of RTP data packets from source SSRC_n lost since the
previous SR or RR packet was sent.
|
long |
getSSRC()
Returns the SSRC corresponding to the feedback.
|
long |
getXtndSeqNum()
Returns the extended highest sequence number received.
|
public static final int SIZE
public RTCPFeedback(byte[] data, int offset, int length) throws java.io.IOException
data
- The data to read fromoffset
- The offset into the data where the report startslength
- The length of the reportjava.io.IOException
- I/O Exceptionpublic long getSSRC()
public int getFractionLost()
getFractionLost
in interface Feedback
public long getNumLost()
getNumLost
in interface Feedback
public long getXtndSeqNum()
getXtndSeqNum
in interface Feedback
public long getJitter()
public long getLSR()