CALL_MEDIA_EVENT enumeration (tapi3if.h)

The CALL_MEDIA_EVENT enum describes call media events. The ITCallMediaEvent::get_Event method returns a member of this enum to indicate the type of call media event that occurred.

Syntax

typedef enum CALL_MEDIA_EVENT {
  CME_NEW_STREAM = 0,
  CME_STREAM_FAIL,
  CME_TERMINAL_FAIL,
  CME_STREAM_NOT_USED,
  CME_STREAM_ACTIVE,
  CME_STREAM_INACTIVE,
  CME_LASTITEM
} ;

Constants

 
CME_NEW_STREAM
Value: 0
A new media stream has been created.
CME_STREAM_FAIL
A media stream or stream request has failed.
CME_TERMINAL_FAIL
A terminal has failed.
CME_STREAM_NOT_USED
The media stream has not been used.
CME_STREAM_ACTIVE
The media stream is active.
CME_STREAM_INACTIVE
The media stream is not active.
CME_LASTITEM

Remarks

Due to latency, stream events may continue for a few seconds after a stream or related call session has been torn down.

Requirements

Requirement Value
Header tapi3if.h

See also

ITCallMediaEvent::get_Event

Media Service Provider Interface (MSPI)