|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlibrtp.RtcpPkt
public class RtcpPkt
Common RTCP packet headers.
Field Summary | |
---|---|
protected int |
itemCount
Number of items, e.g. |
protected int |
length
The length of the RTCP packet, in 32 bit blocks minus 1. |
protected int |
packetType
The type of RTCP packet, 8 bits |
protected int |
padding
Padding , 1 bit |
protected int |
problem
Whether a problem has been encountered during parsing |
protected byte[] |
rawPkt
Contains the actual data (eventually) |
protected boolean |
received
Only used for feedback message: Whether this packet was received |
protected long |
ssrc
The ssrc that sent this, usually dictated by RTP Session |
protected long |
time
Only used for feedback messages: Time message was generated |
protected int |
version
The version, always 2, 2 bits |
Constructor Summary | |
---|---|
RtcpPkt()
|
Method Summary | |
---|---|
protected boolean |
check(java.net.InetAddress adr,
ParticipantDatabase partDb)
Check whether this packet came from the source we expected. |
protected void |
encode()
This is just a dummy to make Eclipse complain less. |
protected boolean |
parseHeaders(int start)
Parses the common header of an RTCP packet |
protected void |
writeHeaders()
Writes the common header of RTCP packets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int problem
protected int version
protected int padding
protected int itemCount
protected int packetType
protected int length
protected long ssrc
protected byte[] rawPkt
protected long time
protected boolean received
Constructor Detail |
---|
public RtcpPkt()
Method Detail |
---|
protected boolean parseHeaders(int start)
start
- where in this.rawPkt the headers start
protected void writeHeaders()
protected void encode()
protected boolean check(java.net.InetAddress adr, ParticipantDatabase partDb)
adr
- address that packet came frompartDb
- the participant database for the session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |