IRTCMediaRequestEvent::get_ProposedMedia

The get_ProposedMedia method gets a set of flags describing the media types proposed by the other party in a session.

HRESULT get_ProposedMedia(long*plMediaTypes);

Parameters

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

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
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.
RTC_E_POINTER The plMediaTypes parameter is an invalid pointer.

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