public class MediaManager extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_CLOCK |
| Constructor | Description |
|---|---|
MediaManager(UserAgent userAgent,
DtmfEventHandler dtmfEventHandler,
Logger logger) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
connected() |
|
CaptureRtpSender |
getCaptureRtpSender() |
|
DatagramSocket |
getDatagramSocket() |
|
SoundSource |
getSoundSource() |
|
void |
handleAck(String destAddress,
int destPort,
Codec codec) |
|
void |
sendDtmf(char digit) |
|
void |
setDatagramSocket(DatagramSocket datagramSocket) |
|
void |
stopSession() |
|
void |
successResponseReceived(String localAddress,
String remoteAddress,
int remotePort,
Codec codec) |
|
void |
updateRemote(String destAddress,
int destPort,
Codec codec) |
|
void |
waitConnected() |
|
void |
waitFinishedSending() |
public static final int DEFAULT_CLOCK
public MediaManager(UserAgent userAgent, DtmfEventHandler dtmfEventHandler, Logger logger)
public CaptureRtpSender getCaptureRtpSender()
public void successResponseReceived(String localAddress, String remoteAddress, int remotePort, Codec codec)
public void sendDtmf(char digit)
public void stopSession()
public void setDatagramSocket(DatagramSocket datagramSocket)
public DatagramSocket getDatagramSocket()
public SoundSource getSoundSource()
public boolean connected()
public void waitConnected()
throws InterruptedException
InterruptedExceptionpublic void waitFinishedSending()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2018. All rights reserved.