public class AudioChannel extends Object
Constructor and Description |
---|
AudioChannel(javax.media.MediaLocator locator,
String localIpAddress,
String remoteIpAddress,
int localPort,
int remotePort,
javax.media.Format format,
JingleMediaSession jingleMediaSession)
Creates an Audio Channel for a desired jmf locator.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
setTrasmit(boolean active)
Set transmit activity.
|
String |
start()
Starts the transmission.
|
void |
stop()
Stops the transmission if already started.
|
public AudioChannel(javax.media.MediaLocator locator, String localIpAddress, String remoteIpAddress, int localPort, int remotePort, javax.media.Format format, JingleMediaSession jingleMediaSession)
locator
- media locatorlocalIpAddress
- local IP addressremoteIpAddress
- remote IP addresslocalPort
- local port numberremotePort
- remote port numberformat
- audio formatpublic String start()
public void stop()
public void setTrasmit(boolean active)
active
- active state