Class JingleMediaManager

  • Direct Known Subclasses:
    JmfMediaManager, MultiMediaManager, ScreenShareMediaManager, SpeexMediaManager, TestMediaManager

    public abstract class JingleMediaManager
    extends java.lang.Object
    This class provides necessary Jingle Session jmf methods and behavior.

    The goal of this class is to provide a flexible way to make JingleManager control jmf streaming APIs without implement them. For instance you can implement a file transfer using java sockets or a VOIP Media Manager using JMF. You can implement many JingleMediaManager according to you necessity.

    • Method Detail

      • getTransportManager

        public JingleTransportManager getTransportManager()
        Returns the transport manager that goes with this media manager.
        Returns:
        the transport manager.
      • getPayloads

        public abstract java.util.List<PayloadType> getPayloads()
        Return all supported Payloads for this Manager.
        Returns:
        The Payload List
      • getPreferredPayloadType

        public PayloadType getPreferredPayloadType()
        Returns the Preferred PayloadType of the Media Manager.
        Returns:
        The PayloadType
      • createMediaSession

        public abstract JingleMediaSession createMediaSession​(PayloadType payloadType,
                                                              TransportCandidate remote,
                                                              TransportCandidate local,
                                                              JingleSession jingleSession)
        Create a Media Session Implementation.
        Parameters:
        payloadType - TODO javadoc me please
        remote - TODO javadoc me please
        local - TODO javadoc me please
        jingleSession - the jingle session.
        Returns:
        the media session
      • getName

        public java.lang.String getName()