public class JmfMediaManager extends JingleMediaManager
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_NAME |
Constructor and Description |
---|
JmfMediaManager(JingleTransportManager transportManager)
Creates a Media Manager instance
|
JmfMediaManager(String mediaLocator,
JingleTransportManager transportManager)
Creates a Media Manager instance
|
Modifier and Type | Method and Description |
---|---|
JingleMediaSession |
createMediaSession(PayloadType payloadType,
TransportCandidate remote,
TransportCandidate local,
JingleSession jingleSession)
Returns a new jingleMediaSession
|
String |
getMediaLocator()
Return the media locator or null if not defined
|
String |
getName() |
List<PayloadType> |
getPayloads()
Return all supported Payloads for this Manager
|
void |
setMediaLocator(String mediaLocator)
Set the media locator
|
static void |
setupJMF()
Runs JMFInit the first time the application is started so that capture
devices are properly detected and initialized by JMF.
|
getPreferredPayloadType, getTransportManager
public static final String MEDIA_NAME
public JmfMediaManager(JingleTransportManager transportManager)
public JmfMediaManager(String mediaLocator, JingleTransportManager transportManager)
mediaLocator
- Media Locatorpublic JingleMediaSession createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession)
createMediaSession
in class JingleMediaManager
payloadType
- payloadTyperemote
- remote Candidatelocal
- local Candidatepublic List<PayloadType> getPayloads()
getPayloads
in class JingleMediaManager
public String getMediaLocator()
public void setMediaLocator(String mediaLocator)
mediaLocator
- media locator or null to use defaultpublic static void setupJMF()
public String getName()
getName
in class JingleMediaManager