Share via


RTC_MEDIA_EVENT_REASON

The RTC_MEDIA_EVENT_REASON enumeration describes the media streaming events.

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;

Constants

  • RTCMER_NORMAL
    The stream was started/stopped normally as a result of a media negotiation.

  • RTCMER_HOLD
    The stream was stopped/resumed as a result of the remote party putting the call on hold/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 bad or in use.

  • RTCMER_NO_PORT
    The stream failed to start because a port was unavailable.

    **RTC 1.0:  **This enumeration value is not supported.

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

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

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

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.

See Also

IRTCMediaEvent::get_EventReason