public class RTCPSenderInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
MSB_1_BASE_TIME |
static int |
SIZE
The size of the sender info
|
Constructor and Description |
---|
RTCPSenderInfo(byte[] rtcpPacket,
int offset,
int length)
Parses an RTCP Sender Report (SR) packet
|
Modifier and Type | Method and Description |
---|---|
long |
getNtpTimestampLSW()
Returns the timestamp least significant word
|
long |
getNtpTimestampMSW()
Returns the timestamp most significant word
|
double |
getNtpTimestampSecs()
Returns the timestamp value in seconds
|
long |
getOctetCount()
Returns the octet (cumulative) count.
|
long |
getPacketCount()
Returns the packet (cumulative) count.
|
long |
getRtpTimestamp()
Returns the RTP timestamp of this SR packet
|
long |
getTimestamp()
Returns the timestamp of the information
|
java.lang.String |
toString()
Returns a String reprensenting the information about the RTCP sender
|
public static final int SIZE
public static final long MSB_1_BASE_TIME
public RTCPSenderInfo(byte[] rtcpPacket, int offset, int length) throws java.io.IOException
offset
- offset after which the RTCP SR startslength
- length of the packetrtcpPacket
- The data of the RTCP packetjava.io.IOException
- I/O Exceptionpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public long getTimestamp()
public double getNtpTimestampSecs()
public long getNtpTimestampMSW()
public long getNtpTimestampLSW()
public long getRtpTimestamp()
public long getOctetCount()
public long getPacketCount()