|
live
|
#include <RTCP.hh>


Public Member Functions | |
| unsigned | numMembers () const |
| unsigned | totSessionBW () const |
| void | setupForSRTCP () |
| void | setByeHandler (TaskFunc *handlerTask, void *clientData, Boolean handleActiveParticipantsOnly=True) |
| void | setByeWithReasonHandler (ByeWithReasonHandlerFunc *handlerTask, void *clientData, Boolean handleActiveParticipantsOnly=True) |
| void | setSRHandler (TaskFunc *handlerTask, void *clientData) |
| void | setRRHandler (TaskFunc *handlerTask, void *clientData) |
| void | setSpecificRRHandler (struct sockaddr_storage const &fromAddress, Port fromPort, TaskFunc *handlerTask, void *clientData) |
| void | unsetSpecificRRHandler (struct sockaddr_storage const &fromAddress, Port fromPort) |
| void | setAppHandler (RTCPAppHandlerFunc *handlerTask, void *clientData) |
| void | sendAppPacket (u_int8_t subtype, char const *name, u_int8_t *appDependentData, unsigned appDependentDataSize) |
| Groupsock * | RTCPgs () const |
| void | setStreamSocket (int sockNum, unsigned char streamChannelId, TLSState *tlsState) |
| void | addStreamSocket (int sockNum, unsigned char streamChannelId, TLSState *tlsState) |
| void | removeStreamSocket (int sockNum, unsigned char streamChannelId) |
| void | setAuxilliaryReadHandler (AuxHandlerFunc *handlerFunc, void *handlerClientData) |
| void | injectReport (u_int8_t const *packetpacket, unsigned packetSize, struct sockaddr_storage const &fromAddress) |
| void | schedule (double nextTime) |
| void | reschedule (double nextTime) |
| void | sendReport () |
| void | sendBYE (char const *reason=NULL) |
| int | typeOfEvent () |
| int | sentPacketSize () |
| int | packetType () |
| int | receivedPacketSize () |
| int | checkNewSSRC () |
| void | removeLastReceivedSSRC () |
| void | removeSSRC (u_int32_t ssrc, Boolean alsoRemoveStats) |
| UsageEnvironment & | envir () const |
| char const * | name () const |
| virtual Boolean | isSource () const |
| virtual Boolean | isSink () const |
| virtual Boolean | isRTSPClient () const |
| virtual Boolean | isRTSPServer () const |
| virtual Boolean | isMediaSession () const |
| virtual Boolean | isServerMediaSession () const |
Static Public Member Functions | |
| static RTCPInstance * | createNew (UsageEnvironment &env, Groupsock *RTCPgs, unsigned totSessionBW, unsigned char const *cname, RTPSink *sink, RTPSource *source, Boolean isSSMTransmitter=False, SRTPCryptographicContext *crypto=NULL) |
| static Boolean | lookupByName (UsageEnvironment &env, char const *instanceName, RTCPInstance *&resultInstance) |
| static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
| static void | close (UsageEnvironment &env, char const *mediumName) |
| static void | close (Medium *medium) |
Protected Member Functions | |
| RTCPInstance (UsageEnvironment &env, Groupsock *RTPgs, unsigned totSessionBW, unsigned char const *cname, RTPSink *sink, RTPSource *source, Boolean isSSMTransmitter, SRTPCryptographicContext *crypto) | |
| virtual | ~RTCPInstance () |
| virtual void | noteArrivingRR (struct sockaddr_storage const &fromAddressAndPort, int tcpSocketNum, unsigned char tcpStreamChannelId) |
| void | incomingReportHandler1 () |
| TaskToken & | nextTask () |
Private Member Functions | |
| virtual Boolean | isRTCPInstance () const |
| Boolean | addReport (Boolean alwaysAdd=False) |
| void | addSR () |
| void | addRR () |
| void | enqueueCommonReportPrefix (unsigned char packetType, u_int32_t SSRC, unsigned numExtraWords=0) |
| void | enqueueCommonReportSuffix () |
| void | enqueueReportBlock (RTPReceptionStats *receptionStats) |
| void | addSDES () |
| void | addBYE (char const *reason) |
| void | sendBuiltPacket () |
| void | onExpire1 () |
| void | processIncomingReport (unsigned packetSize, struct sockaddr_storage const &fromAddressAndPort, int tcpSocketNum, unsigned char tcpStreamChannelId) |
| void | onReceive (int typeOfPacket, int totPacketSize, u_int32_t ssrc) |
Static Private Member Functions | |
| static void | onExpire (RTCPInstance *instance) |
| static void | incomingReportHandler (RTCPInstance *instance, int) |
|
protected |
References totSessionBW().
Referenced by createNew(), incomingReportHandler(), lookupByName(), and onExpire().
|
protectedvirtual |
|
private |
|
private |
|
private |
|
private |
| void RTCPInstance::addStreamSocket | ( | int | sockNum, |
| unsigned char | streamChannelId, | ||
| TLSState * | tlsState ) |
| int RTCPInstance::checkNewSSRC | ( | ) |
|
staticinherited |
|
static |
References False, NULL, RTCPgs(), RTCPInstance(), and totSessionBW().
|
private |
References packetType().
|
private |
|
private |
|
inlineinherited |
Definition at line 59 of file Media.hh.
References fEnviron.
Referenced by MediaSubsession::env(), GenericMediaServer::ClientConnection::envir(), GenericMediaServer::ClientSession::envir(), and RTPInterface::envir().
|
staticprivate |
References RTCPInstance().
|
protected |
| void RTCPInstance::injectReport | ( | u_int8_t const * | packet, |
| unsigned | packetSize, | ||
| struct sockaddr_storage const & | fromAddress ) |
|
virtualinherited |
Reimplemented in MediaSession.
|
virtualinherited |
Reimplemented in RTSPClient.
|
virtualinherited |
Reimplemented in RTSPServer.
|
virtualinherited |
Reimplemented in ServerMediaSession.
|
virtualinherited |
Reimplemented in MediaSource.
|
staticinherited |
References Medium().
|
static |
References RTCPInstance().
|
inlineinherited |
Definition at line 61 of file Media.hh.
References fMediumName.
Referenced by QuickTimeFileSink::_atom(), RTSPServer::lookupByName(), RTCPInstance::sendAppPacket(), and OnDemandServerMediaSubsession::sendRTCPAppPacket().
|
inlineprotectedinherited |
|
protectedvirtual |
| unsigned RTCPInstance::numMembers | ( | ) | const |
|
staticprivate |
References RTCPInstance().
|
private |
|
private |
|
inline |
Definition at line 218 of file RTCP.hh.
References fTypeOfPacket.
Referenced by enqueueCommonReportPrefix().
|
private |
|
inline |
| void RTCPInstance::removeLastReceivedSSRC | ( | ) |
| void RTCPInstance::removeSSRC | ( | u_int32_t | ssrc, |
| Boolean | alsoRemoveStats ) |
|
inline |
Definition at line 117 of file RTCP.hh.
References fRTCPInterface, and RTPInterface::removeStreamSocket().
| void RTCPInstance::reschedule | ( | double | nextTime | ) |
|
inline |
Definition at line 113 of file RTCP.hh.
References fRTCPInterface, and RTPInterface::gs().
Referenced by createNew().
| void RTCPInstance::schedule | ( | double | nextTime | ) |
| void RTCPInstance::sendAppPacket | ( | u_int8_t | subtype, |
| char const * | name, | ||
| u_int8_t * | appDependentData, | ||
| unsigned | appDependentDataSize ) |
References Medium::name().
|
private |
| void RTCPInstance::sendReport | ( | ) |
|
inline |
| void RTCPInstance::setAppHandler | ( | RTCPAppHandlerFunc * | handlerTask, |
| void * | clientData ) |
|
inline |
Definition at line 122 of file RTCP.hh.
References fRTCPInterface, and RTPInterface::setAuxilliaryReadHandler().
| void RTCPInstance::setByeHandler | ( | TaskFunc * | handlerTask, |
| void * | clientData, | ||
| Boolean | handleActiveParticipantsOnly = True ) |
References True.
| void RTCPInstance::setByeWithReasonHandler | ( | ByeWithReasonHandlerFunc * | handlerTask, |
| void * | clientData, | ||
| Boolean | handleActiveParticipantsOnly = True ) |
References True.
| void RTCPInstance::setRRHandler | ( | TaskFunc * | handlerTask, |
| void * | clientData ) |
| void RTCPInstance::setSpecificRRHandler | ( | struct sockaddr_storage const & | fromAddress, |
| Port | fromPort, | ||
| TaskFunc * | handlerTask, | ||
| void * | clientData ) |
| void RTCPInstance::setSRHandler | ( | TaskFunc * | handlerTask, |
| void * | clientData ) |
| void RTCPInstance::setStreamSocket | ( | int | sockNum, |
| unsigned char | streamChannelId, | ||
| TLSState * | tlsState ) |
| void RTCPInstance::setupForSRTCP | ( | ) |
|
inline |
Definition at line 67 of file RTCP.hh.
References fTotSessionBW.
Referenced by createNew(), and RTCPInstance().
|
inline |
| void RTCPInstance::unsetSpecificRRHandler | ( | struct sockaddr_storage const & | fromAddress, |
| Port | fromPort ) |
|
private |
|
private |
|
private |
|
private |
|
privateinherited |
|
private |
Definition at line 192 of file RTCP.hh.
Referenced by receivedPacketSize().
|
private |
Definition at line 191 of file RTCP.hh.
Referenced by sentPacketSize().
|
privateinherited |
|
privateinherited |
Definition at line 84 of file Media.hh.
Referenced by nextTask().
|
private |
|
private |
Definition at line 174 of file RTCP.hh.
Referenced by removeStreamSocket(), RTCPgs(), and setAuxilliaryReadHandler().
|
private |
|
private |
Definition at line 175 of file RTCP.hh.
Referenced by totSessionBW().
|
private |
Definition at line 194 of file RTCP.hh.
Referenced by typeOfEvent().
|
private |
Definition at line 195 of file RTCP.hh.
Referenced by packetType().