CALL_MEDIA_EVENT_CAUSE enumeration (tapi3if.h)

The CALL_MEDIA_EVENT_CAUSE enum is used by ITCallMediaEvent::get_Cause method to return a description of what caused a media event, such as a device timeout.

Syntax

typedef enum CALL_MEDIA_EVENT_CAUSE {
  CMC_UNKNOWN = 0,
  CMC_BAD_DEVICE,
  CMC_CONNECT_FAIL,
  CMC_LOCAL_REQUEST,
  CMC_REMOTE_REQUEST,
  CMC_MEDIA_TIMEOUT,
  CMC_MEDIA_RECOVERED,
  CMC_QUALITY_OF_SERVICE
} ;

Constants

 
CMC_UNKNOWN
Value: 0
Call media is unknown.
CMC_BAD_DEVICE
Device source or renderer is not functioning.
CMC_CONNECT_FAIL
Could not connect to media device.
CMC_LOCAL_REQUEST
A local request has been received.
CMC_REMOTE_REQUEST
A remote request has been received.
CMC_MEDIA_TIMEOUT
The media device timed out.
CMC_MEDIA_RECOVERED
Media processing has resumed after an interruption.
CMC_QUALITY_OF_SERVICE

Requirements

Requirement Value
Header tapi3if.h

See also

ITCallMediaEvent::get_Cause