com.cisco.jtapi.extensions
Interface CiscoRTPInputProperties


public interface CiscoRTPInputProperties

Introduction

The CiscoRTPInputProperties interface returns the properties of the media received by the Terminal (the inbound media stream). CiscoRTPInputStartedEv indicates that the media started.


Method Summary
 int getBitRate()
           Returns the media bit rate.
 boolean getEchoCancellation()
           
 java.net.InetAddress getLocalAddress()
           
 int getLocalPort()
           
 int getPacketSize()
          Returns the packet size in milliseconds.
 int getPayloadType()
           Returns the payload format, which is one of the following constants:
 

Method Detail

getLocalAddress

java.net.InetAddress getLocalAddress()
Returns:
The address to which media will be directed

getLocalPort

int getLocalPort()
Returns:
The port to which media will be directed

getPacketSize

int getPacketSize()
Returns the packet size in milliseconds. If the payloadType is CiscoRTPPayload.ISAC then packet size could be variable and application should not rely on it.

Returns:
int

getPayloadType

int getPayloadType()

Returns the payload format, which is one of the following constants:

Returns:
The payload format
See Also:
CiscoRTPPayload

getEchoCancellation

boolean getEchoCancellation()
Returns:
True if the application needs to use echo cancellation

getBitRate

int getBitRate()

Returns the media bit rate. In case if the payloadType is CiscoRTPPayload.ISAC, then bit rate is variable and applications should rely on the value returned by this API. The API returns one of the following constants:

Returns:
The bit rate
See Also:
CiscoRTPBitRate