Class JingleMediaManager

java.lang.Object
org.jivesoftware.smackx.jingleold.media.JingleMediaManager
Direct Known Subclasses:
JmfMediaManager, MultiMediaManager, ScreenShareMediaManager, SpeexMediaManager, TestMediaManager

public abstract class JingleMediaManager extends 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.

  • Field Details

  • Constructor Details

  • Method Details

    • getTransportManager

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

      public abstract 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 String getName()