public class RtcpPktAPP extends RtcpPkt
Modifier and Type | Field and Description |
---|---|
protected byte[] |
pktData
Data of packet
|
protected byte[] |
pktName
Name of packet, 4 bytes ASCII
|
Modifier | Constructor and Description |
---|---|
protected |
RtcpPktAPP(byte[] aRawPkt,
int start)
Constructor that parses a received Application RTCP packet
|
protected |
RtcpPktAPP(long ssrc,
int subtype,
byte[] pktName,
byte[] pktData)
Constructor for a new Application RTCP packet
|
Modifier and Type | Method and Description |
---|---|
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt
CompRtcpPkt will call this automatically
|
check, parseHeaders, writeHeaders
protected byte[] pktName
protected byte[] pktData
protected RtcpPktAPP(long ssrc, int subtype, byte[] pktName, byte[] pktData)
ssrc
- the SSRC of the sender, presumably taken from RTPSessionsubtype
- the subtype of packet, application specificpktName
- byte[4] representing ASCII name of packetpktData
- the byte[4x] data that represents the message itselfprotected RtcpPktAPP(byte[] aRawPkt, int start)
aRawPkt
- the raw packet containing the datestart
- where in the raw packet this packet starts