public interface RTCPAppIntf
| Modifier and Type | Method and Description |
|---|---|
void |
APPPktReceived(Participant part,
int subtype,
byte[] name,
byte[] data)
This function is called whenever an Application (APP) packet is received.
|
void |
BYEPktReceived(Participant[] relevantParticipants,
java.lang.String reason)
This function is called whenever a Bye (BYE) packet is received.
|
void |
RRPktReceived(long reporterSsrc,
long[] reporteeSsrc,
int[] lossFraction,
int[] cumulPacketsLost,
long[] extHighSeq,
long[] interArrivalJitter,
long[] lastSRTimeStamp,
long[] delayLastSR)
This function is called whenever a Receiver Report (SR) packet is received
and returns unmodified values.
|
void |
SDESPktReceived(Participant[] relevantParticipants)
This function is called whenever a Source Description (SDES) packet is received.
|
void |
SRPktReceived(long ssrc,
long ntpHighOrder,
long ntpLowOrder,
long rtpTimestamp,
long packetCount,
long octetCount,
long[] reporteeSsrc,
int[] lossFraction,
int[] cumulPacketsLost,
long[] extHighSeq,
long[] interArrivalJitter,
long[] lastSRTimeStamp,
long[] delayLastSR)
This function is called whenever a Sender Report (SR) packet is received
and returns unmodified values.
|
void SRPktReceived(long ssrc,
long ntpHighOrder,
long ntpLowOrder,
long rtpTimestamp,
long packetCount,
long octetCount,
long[] reporteeSsrc,
int[] lossFraction,
int[] cumulPacketsLost,
long[] extHighSeq,
long[] interArrivalJitter,
long[] lastSRTimeStamp,
long[] delayLastSR)
ssrc - the (SR) SSRC of the senderntpHighOrder - (SR) NTP high orderntpLowOrder - (SR) NTP low orderrtpTimestamp - (SR) RTP timestamp corresponding to the NTP timestamppacketCount - (SR) Packets sent since start of sessionoctetCount - (SR) Octets sent since start of sessionreporteeSsrc - (RR) SSRC of sender the receiver is reporting inlossFraction - (RR) Loss fraction, see RFC 3550cumulPacketsLost - (RR) Cumulative number of packets lostextHighSeq - (RR) Extended highest sequence RTP packet receivedinterArrivalJitter - (RR) Interarrival jitter, see RFC 3550lastSRTimeStamp - (RR) RTP timestamp when last SR was receiveddelayLastSR - (RR) Delay, in RTP, since last SR was receivedvoid RRPktReceived(long reporterSsrc,
long[] reporteeSsrc,
int[] lossFraction,
int[] cumulPacketsLost,
long[] extHighSeq,
long[] interArrivalJitter,
long[] lastSRTimeStamp,
long[] delayLastSR)
reporterSsrc - SSRC of the receiver reportingreporteeSsrc - (RR) SSRC of sender the receiver is reporting inlossFraction - (RR) Loss fraction, see RFC 3550cumulPacketsLost - (RR) Cumulative number of packets lostextHighSeq - (RR) Extended highest sequence RTP packet receivedinterArrivalJitter - (RR) Interarrival jitter, see RFC 3550lastSRTimeStamp - (RR) RTP timestamp when last SR was receiveddelayLastSR - (RR) Delay, in RTP, since last SR was receivedvoid SDESPktReceived(Participant[] relevantParticipants)
relevantParticipants - participants mentioned in the SDES packetvoid BYEPktReceived(Participant[] relevantParticipants, java.lang.String reason)
relevantParticipants - participants whose SSRC was in the packetreason - the reason provided in the packetvoid APPPktReceived(Participant part, int subtype, byte[] name, byte[] data)
part - the participant associated with the SSRCsubtype - specified in the packetname - ASCII description of packetdata - in the packet