IRTCSession2::ReInviteWithSessionDescription
The ReInviteWithSessionDescription method allows applications to include a session description with a re-Invite request.
HRESULT ReInviteWithSessionDescription(BSTRbstrContentType,
BSTRbstrSessionDescription,
LONG_PTRbstrlCookie);
Parameters
- bstrContentType
[in] The content type for the session description of the re-Invite request. - bstrSessionDescription
[in] The session description that is included in the re-Invite request. - bstrlCookie
[in] An application-provided cookie, which can be used for pairing the notifications with the information sent. The application should guarantee a unique value for this cookie.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_INVALID_SESSION_STATE | The session state is not valid. |
RTC_E_MEDIA_ENABLED | The media stack is enabled. |
E_FAIL | Insufficient memory to perform this operation. |
Remarks
The content type is application specific. Applications should ensure that the called party is able to decipher the content type of the session description.
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_IRTCSession2 is defined as 17D7CDFC-B007-484c-99D2-86A8A820991D.
See Also
IRTCSession2, Session Negotiation, Sen a Reinvite on a Connected Application Session