Class RTPSessionMgr

  • All Implemented Interfaces:
    javax.media.Controls, javax.media.rtp.SessionManager

    public class RTPSessionMgr
    extends net.sf.fmj.media.rtp.RTPSessionMgr
    Implements RTPManager for the purposes of the libjitsi library in general and the neomedia package in particular.

    Allows MediaStream to optionally utilize SSRCFactory.

    Author:
    Lyubomir Marinov
    • Field Summary

      • Fields inherited from class net.sf.fmj.media.rtp.RTPSessionMgr

        defaultstats, remotelistener, sendstreamlistener, sessionlistener, streamlistener, transstats
      • Fields inherited from interface javax.media.rtp.SessionManager

        SSRC_UNSPEC
    • Constructor Summary

      Constructors 
      Constructor Description
      RTPSessionMgr()
      Initializes a new RTPSessionMgr instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected long generateSSRC​(net.sf.fmj.media.rtp.GenerateSSRCCause cause)
      SSRCFactory getSSRCFactory()
      Gets the SSRCFactory utilized by this instance to generate new synchronization source (SSRC) identifiers.
      void setSSRCFactory​(SSRCFactory ssrcFactory)
      Sets the SSRCFactory to be utilized by this instance to generate new synchronization source (SSRC) identifiers.
      • Methods inherited from class net.sf.fmj.media.rtp.RTPSessionMgr

        addFormat, addMRL, addPeer, addReceiveStreamListener, addRemoteListener, addSendStreamListener, addSessionListener, addTarget, addUnicastAddr, closeSession, closeSession, createNewDS, createNewDS, createSendStream, createSendStream, dispose, formatSupported, generateCNAME, generateSSRC, getActiveParticipants, getAllParticipants, getControl, getControls, getDataSource, getDefaultSSRC, getFormat, getGlobalReceptionStats, getGlobalTransmissionStats, getLocalParticipant, getLocalReceiverAddress, getLocalSessionAddress, getLocalSSRC, getMulticastScope, getOrCreateRTCPTransmitterFactory, getPassiveParticipants, getPeers, getReceiveStreams, getRemoteParticipants, getRemoteSessionAddress, getSendStreams, getSessionAddress, getSSRC, getSSRCCache, getSSRCInfo, getStream, initialize, initialize, initialize, initSession, initSession, isDefaultDSassigned, IsNonParticipating, isSenderDefaultAddr, removeAllPeers, removeDataSource, removePeer, removeReceiveStreamListener, removeRemoteListener, removeSendStreamListener, removeSessionListener, removeTarget, removeTargets, setDefaultDSassigned, setMulticastScope, setRTCPTransmitterFactory, startSession, startSession, startSession, startSession, toString, UpdateEncodings
      • Methods inherited from class javax.media.rtp.RTPManager

        getRTPManagerList, newInstance
    • Constructor Detail

      • RTPSessionMgr

        public RTPSessionMgr()
        Initializes a new RTPSessionMgr instance.
    • Method Detail

      • getSSRCFactory

        public SSRCFactory getSSRCFactory()
        Gets the SSRCFactory utilized by this instance to generate new synchronization source (SSRC) identifiers.
        Returns:
        the SSRCFactory utilized by this instance or null if this instance employs internal logic to generate new synchronization source (SSRC) identifiers
      • generateSSRC

        protected long generateSSRC​(net.sf.fmj.media.rtp.GenerateSSRCCause cause)
        Overrides:
        generateSSRC in class net.sf.fmj.media.rtp.RTPSessionMgr
      • setSSRCFactory

        public void setSSRCFactory​(SSRCFactory ssrcFactory)
        Sets the SSRCFactory to be utilized by this instance to generate new synchronization source (SSRC) identifiers.
        Parameters:
        ssrcFactory - the SSRCFactory to be utilized by this instance to generate new synchronization source (SSRC) identifiers or null if this instance is to employ internal logic to generate new synchronization source (SSRC) identifiers