Partager via


RTC_MEDIA_EVENT_REASON (Windows Embedded CE 6.0)

1/6/2010

This enumeration defines possible reasons for a media streaming event.

Syntax

typedef enum RTC_MEDIA_EVENT_REASON { 
  RTCMER_NORMAL, 
  RTCMER_HOLD, 
  RTCMER_TIMEOUT, 
  RTCMER_BAD_DEVICE, 
  RTCMER_NO_PORT, 
  RTCMER_PORT_MAPPING_FAILED,
  RTCMER_REMOTE_REQUEST 
} RTC_MEDIA_EVENT_REASON;

Elements

  • RTCMER_NORMAL
    The stream was started or stopped normally as a result of a media negotiation.
  • RTCMER_HOLD
    The stream was stopped or resumed as a result of the remote party putting the call on hold or resuming it from hold.
  • RTCMER_TIMEOUT
    A timeout has caused the stream to stop.
  • RTCMER_BAD_DEVICE
    The stream failed to start because the device was faulty or in use.
  • RTCMER_NO_PORT
    The stream failed to start because a port was unavailable.

    This enumeration value is available only for RTC 1.2 and later.

  • RTCMER_PORT_MAPPING_FAILED
    The stream failed to start because a port could not be mapped.

    This enumeration value is available only for RTC 1.2 and later.

  • RTCMER_REMOTE_REQUEST
    The media event was due to a request from a remote client.

    This enumeration value is available only for RTC 1.2 and later.

Requirements

Header rtccore.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

RTC Client API Enumerations
IRTCMediaEvent:IDispatch