public abstract class JingleMediaManager extends Object
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.
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_NAME |
Constructor and Description |
---|
JingleMediaManager(JingleTransportManager transportManager) |
Modifier and Type | Method and Description |
---|---|
abstract JingleMediaSession |
createMediaSession(PayloadType payloadType,
TransportCandidate remote,
TransportCandidate local,
JingleSession jingleSession)
Create a Media Session Implementation.
|
String |
getName() |
abstract List<PayloadType> |
getPayloads()
Return all supported Payloads for this Manager.
|
PayloadType |
getPreferredPayloadType()
Returns the Preferred PayloadType of the Media Manager.
|
JingleTransportManager |
getTransportManager()
Return The transport manager that goes with this media manager.
|
public static final String MEDIA_NAME
public JingleMediaManager(JingleTransportManager transportManager)
public JingleTransportManager getTransportManager()
public abstract List<PayloadType> getPayloads()
public PayloadType getPreferredPayloadType()
public abstract JingleMediaSession createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession)
payloadType
- remote
- local
-