Class JingleMediaManager
java.lang.Object
org.jivesoftware.smackx.jingleold.media.JingleMediaManager
- Direct Known Subclasses:
JmfMediaManager
,MultiMediaManager
,ScreenShareMediaManager
,SpeexMediaManager
,TestMediaManager
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract JingleMediaSession
createMediaSession
(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession) Create a Media Session Implementation.getName()
abstract List<PayloadType>
Return all supported Payloads for this Manager.Returns the Preferred PayloadType of the Media Manager.Returns the transport manager that goes with this media manager.
-
Field Details
-
MEDIA_NAME
- See Also:
-
-
Constructor Details
-
JingleMediaManager
-
-
Method Details
-
getTransportManager
Returns the transport manager that goes with this media manager.- Returns:
- the transport manager.
-
getPayloads
Return all supported Payloads for this Manager.- Returns:
- The Payload List
-
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 pleaseremote
- TODO javadoc me pleaselocal
- TODO javadoc me pleasejingleSession
- the jingle session.- Returns:
- the media session
-
getName
-