Class SpeexMediaManager
- java.lang.Object
-
- org.jivesoftware.smackx.jingleold.media.JingleMediaManager
-
- org.jivesoftware.smackx.jingleold.mediaimpl.jspeex.SpeexMediaManager
-
public class SpeexMediaManager extends JingleMediaManager
Implements a jingleMediaManager using JMF based API and JSpeex. It supports Speex codec. This API only currently works on windows.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MEDIA_NAME
-
Constructor Summary
Constructors Constructor Description SpeexMediaManager(JingleTransportManager transportManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JingleMediaSession
createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession)
Returns a new jingleMediaSession.java.lang.String
getName()
java.util.List<PayloadType>
getPayloads()
Return all supported Payloads for this Manager.static void
setupJMF()
Runs JMFInit the first time the application is started so that capture devices are properly detected and initialized by JMF.-
Methods inherited from class org.jivesoftware.smackx.jingleold.media.JingleMediaManager
getPreferredPayloadType, getTransportManager
-
-
-
-
Field Detail
-
MEDIA_NAME
public static final java.lang.String MEDIA_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpeexMediaManager
public SpeexMediaManager(JingleTransportManager transportManager)
-
-
Method Detail
-
createMediaSession
public JingleMediaSession createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession)
Returns a new jingleMediaSession.- Specified by:
createMediaSession
in classJingleMediaManager
- Parameters:
payloadType
- payloadTyperemote
- remote Candidatelocal
- local CandidatejingleSession
- the jingle session.- Returns:
- JingleMediaSession TODO javadoc me please
-
getPayloads
public java.util.List<PayloadType> getPayloads()
Return all supported Payloads for this Manager.- Specified by:
getPayloads
in classJingleMediaManager
- Returns:
- The Payload List
-
setupJMF
public static void setupJMF()
Runs JMFInit the first time the application is started so that capture devices are properly detected and initialized by JMF.
-
getName
public java.lang.String getName()
- Overrides:
getName
in classJingleMediaManager
-
-