public class MultiMediaManager extends JingleMediaManager
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_NAME |
Constructor and Description |
---|
MultiMediaManager(JingleTransportManager transportManager) |
Modifier and Type | Method and Description |
---|---|
void |
addMediaManager(JingleMediaManager manager) |
JingleMediaSession |
createMediaSession(PayloadType payloadType,
TransportCandidate remote,
TransportCandidate local,
JingleSession jingleSession)
Returns a new JingleMediaSession
|
String |
getName() |
List<PayloadType> |
getPayloads()
Return all supported Payloads for this Manager.
|
PayloadType |
getPreferredPayloadType()
Returns the Preferred PayloadType of the Media Manager
|
void |
removeMediaManager(JingleMediaManager manager) |
void |
setPreferredPayloadType(PayloadType preferredPayloadType) |
getTransportManager
public static final String MEDIA_NAME
public MultiMediaManager(JingleTransportManager transportManager)
public void addMediaManager(JingleMediaManager manager)
public void removeMediaManager(JingleMediaManager manager)
public List<PayloadType> getPayloads()
getPayloads
in class JingleMediaManager
public JingleMediaSession createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession)
createMediaSession
in class JingleMediaManager
payloadType
- payloadTyperemote
- remote Candidatelocal
- local Candidatepublic PayloadType getPreferredPayloadType()
JingleMediaManager
getPreferredPayloadType
in class JingleMediaManager
public void setPreferredPayloadType(PayloadType preferredPayloadType)
public String getName()
getName
in class JingleMediaManager