public class RtcpPktSDES extends RtcpPkt
Modifier and Type | Field and Description |
---|---|
protected Participant[] |
participants
The participants to create SDES packets for
|
Modifier | Constructor and Description |
---|---|
protected |
RtcpPktSDES(boolean reportThisSession,
RTPSession rtpSession,
Participant[] additionalParticipants)
Constructor to create a new SDES packet
TODO:
Currently the added participants are not actually encoded
because the library lacks some support for acting as mixer or
relay in other areas.
|
protected |
RtcpPktSDES(byte[] aRawPkt,
int start,
java.net.InetSocketAddress socket,
ParticipantDatabase partDb)
Constructor that parses a received packet
|
Modifier and Type | Method and Description |
---|---|
void |
debugPrint()
Debug purposes only
|
protected void |
encode()
Encode the packet into a byte[], saved in .rawPkt
CompRtcpPkt will call this automatically
|
check, parseHeaders, writeHeaders
protected Participant[] participants
protected RtcpPktSDES(boolean reportThisSession, RTPSession rtpSession, Participant[] additionalParticipants)
reportThisSession
- include information from RTPSession as a participantrtpSession
- the session itselfadditionalParticipants
- additional participants to includeprotected RtcpPktSDES(byte[] aRawPkt, int start, java.net.InetSocketAddress socket, ParticipantDatabase partDb)
aRawPkt
- the byte[] containing the packetstart
- where in the byte[] this packet startssocket
- the address from which the packet was receivedpartDb
- the participant database