public class RTCPSenderThread
extends java.lang.Thread
| Modifier | Constructor and Description |
|---|---|
protected |
RTCPSenderThread(RTCPSession rtcpSession,
RTPSession rtpSession)
Constructor for new thread
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
mcSendCompRtcpPkt(CompRtcpPkt pkt)
Multicast version of sending a Compound RTCP packet
|
protected CompRtcpPkt |
preparePacket(Participant part,
boolean regular)
Prepare a packet.
|
protected void |
reconsiderTiming(long ssrc)
Check whether we can send an immediate feedback packet to this person
|
void |
run()
Start the RTCP sender thread.
|
protected void |
sendByes()
Send BYE messages to all the relevant participants
|
protected int |
sendCompRtcpPkt(CompRtcpPkt pkt,
java.net.InetSocketAddress receiver)
Unicast version of sending a Compound RTCP packet
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected RTCPSenderThread(RTCPSession rtcpSession, RTPSession rtpSession)
rtcpSession - parent RTCP sessionrtpSession - parent RTP sessionprotected void sendByes()
protected int mcSendCompRtcpPkt(CompRtcpPkt pkt)
pkt - the packet to bestprotected int sendCompRtcpPkt(CompRtcpPkt pkt, java.net.InetSocketAddress receiver)
pkt - the packet to bestreceiver - the socket address of the recipientprotected void reconsiderTiming(long ssrc)
ssrc - SSRC of participantprotected CompRtcpPkt preparePacket(Participant part, boolean regular)
part - the participant to report toregular - whether this is a regularly, or early scheduled RTCP packetpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread