public class TestMediaManager extends JingleMediaManager
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_NAME |
Constructor and Description |
---|
TestMediaManager(JingleTransportManager transportManager) |
Modifier and Type | Method and Description |
---|---|
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 |
setPayloads(List<PayloadType> payloads) |
void |
setPreferredPayloadType(PayloadType preferredPayloadType) |
getTransportManager
public static final String MEDIA_NAME
public TestMediaManager(JingleTransportManager transportManager)
public List<PayloadType> getPayloads()
getPayloads
in class JingleMediaManager
public void setPayloads(List<PayloadType> payloads)
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