IRTCReInviteEvent::GetRemoteSessionDescription

This method retrieves the session description from the remote client. The session description is created by the remote client using the IRTCSession2::ReInviteWithSessionDescription method.

HRESULT GetRemoteSessionDescription(
  BSTR* pbstrContentType,
  BSTR* pbstrSessionDescription
);

Parameters

  • pbstrContentType
    [out] Pointer to a BSTR that will be filled with the content type for the session description, or an empty string if there is no entry. The method is responsible for allocating the buffer. The caller is responsible for releasing this memory with SysFreeString.
  • pbstrSessionDescription
    [out] Pointer to a BSTR that will be filled with the session description, or an empty string if there is no entry. The method is responsible for allocating the buffer. The caller is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant.

Remarks

This method is used for sessions of type RTCST_APPLICATION only. A call to this method for any other type of session will fail. This method should be called when the REINVITE event state is RTCRIN_INCOMING. The application calls this method before answering an incoming REINVITE request with IRTCReInviteEvent::Accept method.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCReInviteEvent::Accept | IRTCSession | IRTCSession2::ReInviteWithSessionDescription | RTC_REINVITE_STATE | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.