com.cisco.jtapi.extensions
Interface CiscoRTPInputStartedEv

All Superinterfaces:
CiscoEv, CiscoTermEv, javax.telephony.events.Ev, javax.telephony.events.TermEv

public interface CiscoRTPInputStartedEv
extends CiscoTermEv

Introduction

The CiscoRTPInputStartedEv event indicates the start of incoming media.


Field Summary
static int ID
           
 
Fields inherited from interface javax.telephony.events.Ev
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Fields inherited from interface javax.telephony.events.Ev
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Method Summary
 CiscoCallID getCallID()
          Returns CiscoCallID.
 CiscoRTPHandle getCiscoRTPHandle()
           Returns a CiscoRTPHandle object.
 int getMediaConnectionMode()
          Returns a CiscoMediaConnectionMode.
 CiscoRTPInputProperties getRTPInputProperties()
          Returns CiscoRTPInputProperties, which gives the characteristics of the incoming media.
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 
Methods inherited from interface javax.telephony.events.TermEv
getTerminal
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Field Detail

ID

static final int ID
See Also:
Constant Field Values
Method Detail

getRTPInputProperties

CiscoRTPInputProperties getRTPInputProperties()
Returns CiscoRTPInputProperties, which gives the characteristics of the incoming media.

See Also:
CiscoRTPInputProperties

getCallID

CiscoCallID getCallID()
Returns CiscoCallID. CiscoRTPInputStartedEv applies to CiscoCallID.getCall().

See Also:
CiscoCallID

getCiscoRTPHandle

CiscoRTPHandle getCiscoRTPHandle()

Returns a CiscoRTPHandle object. Applications can get a call reference by using CiscoProvider.getCall. If there is no call observer or there was no call observer when this event is delivered, CiscoProvider.getCall may return null.

Returns:
CiscoRTPHandle
See Also:
CiscoRTPParams

getMediaConnectionMode

int getMediaConnectionMode()
Returns a CiscoMediaConnectionMode. The possible returned values are:
  • CiscoMediaConnectionMode.RECEIVE_ONLY: one-way media; receive only
  • CiscoMediaConnectionMode.TRANSMIT_AND_RECEIVE: two-way media
In general, you should never get an event with mode NONE; however, if that happens, applications should ignore the event and log an error.

Returns:
CiscoMediaConnectionMode
See Also:
CiscoRTPParams, CiscoMediaConnectionMode