com.cisco.jtapi.extensions
Class CiscoG723MediaCapability

java.lang.Object
  extended by com.cisco.jtapi.extensions.CiscoMediaCapability
      extended by com.cisco.jtapi.extensions.CiscoG723MediaCapability

public class CiscoG723MediaCapability
extends CiscoMediaCapability

Introduction

The CiscoG723MediaCapability object specifies the properties for a G.723 encoded RTP stream. Applications that support G.723 media termination use this object to specify their preferred packet size and bit rate when registering a CiscoMediaTerminal.

The default packet size is thirty milliseconds and the default bit rate is 6.4k.


Field Summary
static int FRAMESIZE_SIXTY_MILLISECOND_PACKET
          RTP Packet Framesize: Sixty millisecond RTP packet
static int FRAMESIZE_THIRTY_MILLISECOND_PACKET
          RTP Packet Framesize: Thirty millisecond RTP packet
static int FRAMESIZE_TWENTY_MILLISECOND_PACKET
          RTP Packet Framesize: Twenty millisecond RTP packet
 
Fields inherited from class com.cisco.jtapi.extensions.CiscoMediaCapability
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS, ISAC, WIDEBAND_256K_10_MILLISECONDS
 
Constructor Summary
CiscoG723MediaCapability()
          Constructs a CiscoG723MediaCapability
CiscoG723MediaCapability(int rtpPacketFrameSize, int bitRate)
          Constructs a CiscoG723MediaCapability
 
Method Summary
 int getBitRate()
          Returns the bit rate specified by this capability object.
 java.lang.String toString()
          Overwrites the Object.toString() method.
 
Methods inherited from class com.cisco.jtapi.extensions.CiscoMediaCapability
getMaxFramesPerPacket, getPayloadType, isSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FRAMESIZE_TWENTY_MILLISECOND_PACKET

public static final int FRAMESIZE_TWENTY_MILLISECOND_PACKET
RTP Packet Framesize: Twenty millisecond RTP packet

See Also:
Constant Field Values

FRAMESIZE_THIRTY_MILLISECOND_PACKET

public static final int FRAMESIZE_THIRTY_MILLISECOND_PACKET
RTP Packet Framesize: Thirty millisecond RTP packet

See Also:
Constant Field Values

FRAMESIZE_SIXTY_MILLISECOND_PACKET

public static final int FRAMESIZE_SIXTY_MILLISECOND_PACKET
RTP Packet Framesize: Sixty millisecond RTP packet

See Also:
Constant Field Values
Constructor Detail

CiscoG723MediaCapability

public CiscoG723MediaCapability(int rtpPacketFrameSize,
                                int bitRate)
Constructs a CiscoG723MediaCapability

CiscoG723MediaCapability

public CiscoG723MediaCapability()
Constructs a CiscoG723MediaCapability
Method Detail

getBitRate

public int getBitRate()
Returns the bit rate specified by this capability object.

Returns:
a bit rate from the RTPBitRate interface

toString

public java.lang.String toString()
Overwrites the Object.toString() method.

Overrides:
toString in class CiscoMediaCapability