UCC_MEDIA_STREAM_STATE_CHANGE_REASON Enumeration

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Enumerates the reasons for changes of an active media state.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

Syntax

'Declaration
Public Enumeration UCC_MEDIA_STREAM_STATE_CHANGE_REASON
public enum UCC_MEDIA_STREAM_STATE_CHANGE_REASON
public enum class UCC_MEDIA_STREAM_STATE_CHANGE_REASON
public enum UCC_MEDIA_STREAM_STATE_CHANGE_REASON
public enum UCC_MEDIA_STREAM_STATE_CHANGE_REASON

Members

Member name Description
UCCMSSCR_DEVICE_ERROR A flag indicating that the media state changed because of a device error.
UCCMSSCR_ERROR A flag indicating that the media state changed because of an error.
UCCMSSCR_MEDIA_CONNECTIVITY_FAILURE A flag indicating that the media state changed because the media failed to be connected to the remote endpoint.
UCCMSSCR_NETWORK_BANDWIDTH_LIMITATION A flag indicating that the media state changed because of the limitation of the network bandwidth.
UCCMSSCR_NO_DEVICE A flag indicating that the media state changed because no media device is found.
UCCMSSCR_NO_PORT A flag indicating that the media state changed because no port is found.
UCCMSSCR_NORMAL A flag indicating that the media state changed because of a normal operation or event.
UCCMSSCR_PORT_MAPPING_FAILURE A flag indicating that the media state changed because the specified port could not be mapped.
UCCMSSCR_REMOTE_REQUEST A flag indicating that the media state changed because of the request by the remote endpoint.
UCCMSSCR_TIMEOUT A flag indicating that the media state changed because it has timed out.

Remarks

An application can examine the reason for a media state change by reading the Reason property on the IUccMediaChannelEvent and IUccAudioVideoMediaChannelStreamsEvent interfaces and comparing it against the values defined here.

Win32 COM/C++ Syntax

typedef enum UCC_MEDIA_STREAM_STATE_CHANGE_REASON
{
   UCCMSSCR_NORMAL,
   UCCMSSCR_TIMEOUT,
   UCCMSSCR_NO_DEVICE,
   UCCMSSCR_NO_PORT,
   UCCMSSCR_PORT_MAPPING_FAILURE,
   UCCMSSCR_REMOTE_REQUEST,
   UCCMSSCR_MEDIA_CONNECTIVITY_FAILURE,
   UCCMSSCR_NETWORK_BANDWIDTH_LIMITATION,
   UCCMSSCR_DEVICE_ERROR,
   UCCMSSCR_ERROR
};

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

Microsoft.Office.Interop.UccApi Namespace