SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.media
Interface RtpFlow

All Known Implementing Classes:
RtpFlowImpl

public interface RtpFlow

RtpFlow Interface. The role of a RtpFlow is simply to handle media data transfer between two end points as well as playback and capture.

Author:
Symphorien Wanko

Method Summary
 void addMediaListener(MediaListener listener)
          Add a listener to be informed when there of media events.
 String getLocalAddress()
          Gives the local address used by this flow
 int getLocalPort()
          Gives the local port used by this flow
 String getRemoteAddress()
          Gives the remote address used by this flow
 int getRemotePort()
          Gives the remote port used by this flow
 void pause()
          Pause transmission on this flow
 void resume()
          Resume transmission on this flow
 void start()
          Start transmitting and receiving data inside this flow.
 void stop()
          Stop transmission and reception of data inside this flow.
 

Method Detail

start

void start()
Start transmitting and receiving data inside this flow.


stop

void stop()
Stop transmission and reception of data inside this flow.


getLocalPort

int getLocalPort()
Gives the local port used by this flow

Returns:
the local port used by this flow

getLocalAddress

String getLocalAddress()
Gives the local address used by this flow

Returns:
the local address used by this flow

getRemotePort

int getRemotePort()
Gives the remote port used by this flow

Returns:
the remote port used by this flow

getRemoteAddress

String getRemoteAddress()
Gives the remote address used by this flow

Returns:
the remote address used by this flow

pause

void pause()
Pause transmission on this flow


resume

void resume()
Resume transmission on this flow


addMediaListener

void addMediaListener(MediaListener listener)
Add a listener to be informed when there of media events.


SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.