|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.rtp.rtcp.RTCPPacket
public class RTCPPacket
| Nested Class Summary | |
|---|---|
static class |
RTCPPacket.Type
|
| Field Summary | |
|---|---|
protected byte |
count
varies by packet type |
protected short |
length
pkt len in words, w/o this word |
protected byte[] |
packetBuffer
|
protected UnsignedByte |
packetType
RTCP packet type |
protected boolean |
padding
padding flag |
protected UnsignedInt |
ssrc
|
protected byte |
version
protocol version |
| Constructor Summary | |
|---|---|
protected |
RTCPPacket()
|
|
RTCPPacket(IoBuffer buffer)
TODO: At this moment, the RTCP packet is not completely parsed, only some informations are extracted such as the SSRC identificator. |
| Method Summary | |
|---|---|
UnsignedInt |
getSsrc()
|
RTCPPacket.Type |
getType()
|
void |
setSsrc(UnsignedInt ssrc)
|
IoBuffer |
toByteBuffer()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected byte version
protected boolean padding
protected byte count
protected UnsignedByte packetType
protected short length
protected UnsignedInt ssrc
protected byte[] packetBuffer
| Constructor Detail |
|---|
public RTCPPacket(IoBuffer buffer)
protected RTCPPacket()
| Method Detail |
|---|
public UnsignedInt getSsrc()
public void setSsrc(UnsignedInt ssrc)
ssrc - The ssrc to set.public RTCPPacket.Type getType()
public IoBuffer toByteBuffer()
toByteBuffer in interface Packet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||