IRTCClient::get_ActiveMedia

The get_ActiveMedia property returns the media types for which streams currently exist in the active session.

HRESULT get_ActiveMedia(long*plMediaType);

Parameters

  • plMediaType
    [out] Pointer to a long containing the RTCMT_ flags.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

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.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, IRTCMediaEvent, RTC_MEDIA_EVENT_TYPE