|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fmj.media.rtp.RTCPPacket
public class RTCPPacket
Represents an RTCP Packet
Field Summary | |
---|---|
static int |
PT_APP
RTCP APP Packet |
static int |
PT_BYE
RTCP BYE Packet |
static int |
PT_RR
RTCP RR Packet |
static int |
PT_SDES
RTCP SDES Packet |
static int |
PT_SR
RTCP SR Packet |
Constructor Summary | |
---|---|
RTCPPacket(byte[] data,
int offset,
int length)
Creates a new RTCPPacket |
|
RTCPPacket(java.net.DatagramPacket packet)
Creates a new RTCPPacket |
|
RTCPPacket(RTCPHeader header,
byte[] data)
Creates a new RTCPPacket |
Method Summary | |
---|---|
byte[] |
getRtcpData()
|
RTCPHeader |
getRtcpHeader()
|
int |
getRtcpLength()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PT_SR
public static final int PT_RR
public static final int PT_SDES
public static final int PT_BYE
public static final int PT_APP
Constructor Detail |
---|
public RTCPPacket(java.net.DatagramPacket packet) throws java.io.IOException
packet
- The datagram to read the packet from
java.io.IOException
public RTCPPacket(byte[] data, int offset, int length) throws java.io.IOException
data
- The data to read the packet fromoffset
- The offset into the datalength
- The length of the data
java.io.IOException
public RTCPPacket(RTCPHeader header, byte[] data)
header
- The packet headerdata
- The packet dataMethod Detail |
---|
public RTCPHeader getRtcpHeader()
public byte[] getRtcpData()
public int getRtcpLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |