IRTCMediaRequestEvent::get_CurrentMedia

The get_CurrentMedia method gets a set of flags describing the media types currently streamed within a session.

HRESULT get_CurrentMedia(long*plMediaTypes);

Parameters

  • plMediaTypes
    [out] Pointer to an integer value that contains any combination of the RTCMT_ bit flags describing the current streamed media types.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The plMediaTypes parameter is not a valid pointer.
RTC_E_INVALID_OBJECT_STATE The media request is not in the incoming state.
RTC_E_PLATFORM_NOT_SUPPORTED The platform must be Windows 2000 or above.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCMediaRequestEvent is defined as 52572D15-148C-4d97-A36C-2DA55C289D63.

See Also

IRTCMediaRequestEvent