| SyncSource(3) | Library Functions Manual | SyncSource(3) |
SyncSource - Synchronization source in an RTP session.
#include <sources.h>
enum State { stateUnknown, statePrevalid,
stateActive, stateInactive, stateLeaving }
Synchronization source states during an RTP session.
SyncSource (uint32 ssrc)
~SyncSource ()
State getState () const
bool isSender () const
Whether this source sends RTP data packets. uint32 getID () const
Participant * getParticipant () const
Get the participant this synchronization source is asociated to. tpport_t
getDataTransportPort () const
tpport_t getControlTransportPort () const
const InetAddress & getNetworkAddress () const
SyncSource (const SyncSource &source)
SyncSource & operator= (const SyncSource &source)
class SyncSourceHandler
Synchronization source in an RTP session.
Each synchronization source in an RTP session is identified by a 32-bit numeric SSRC identifier. Each SyncSource object is related to a Participant object, which can be retrieved through the getParticipant() method.
Author
Examples
ccrtptest.cpp, and rtplisten.cpp.
Synchronization source states during an RTP session. In general, new synchronization sources are not considered valid until multiple valid data packets or a valid RTCP compound packet has been received from the new source (
See also
A valid participant is in stateActive state if RTP and/or RTCP packets are currently being received from it. If, after a small number of RTCP report intervals (see IncomingDataQueue::setSourceExpirationPeriod() ), no packets are received, it will reach the stateInactive state. If, after a small number of RTCP report intervals, no packet is received from an inactive source, it will be deleted.
If RTCP is being used, after receiving a BYE RTCP packet from a synchronization source, it will reach the stateLeaving state and will be deleted after a delay (see QueueRTCPManager::setLeavingDelay()).
Sources in statePrevalid and stateLeaving are not counted for the number of session members estimation.
Enumerator
Parameters
Parameters
Examples
ccrtptest.cpp, and rtplisten.cpp.
Examples
ccrtptest.cpp, and rtplisten.cpp.
Examples
ccrtptest.cpp, and rtplisten.cpp.
Examples
ccrtptest.cpp, and rtplisten.cpp.
Get the participant this synchronization source is asociated to.
Return values
Examples
ccrtptest.cpp, and rtplisten.cpp.
Whether this source sends RTP data packets.
Examples
ccrtptest.cpp.
Generated automatically by Doxygen for ccRTP from the source code.
| ccRTP |