|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.rtp.RTCPSenderInfo
public class RTCPSenderInfo
Represents the sender info part of the RTCP SR Packet
| Field Summary | |
|---|---|
static long |
MSB_1_BASE_TIME
|
static int |
SIZE
The size of the sender info |
| Constructor Summary | |
|---|---|
RTCPSenderInfo(byte[] rtcpPacket,
int offset,
int length)
Parses an RTCP Sender Report (SR) packet |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZE
public static final long MSB_1_BASE_TIME
| Constructor Detail |
|---|
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 packet
java.io.IOException - I/O Exception| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public long getTimestamp()
public double getNtpTimestampSecs()
public long getNtpTimestampMSW()
public long getNtpTimestampLSW()
public long getRtpTimestamp()
public long getOctetCount()
public long getPacketCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||