The IRTCSession2 interface contains additional methods and properties related to the session, extending the functionality provided by the IRTCSession interface. The IRTCClient::CreateSession and IRTCClient2::CreateSessionWithDescription methods create the Session object. Use QueryInterface on the Session object to discover the IRTCSession2 interface for RTC 1.2 implementations.

Methods in Vtable Order

The IRTCSession2 interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCSession2 defines the following methods, including those inherited from IRTCSession.

Method Description
SendInfo Sends a SIP INFO method. The session must be of type RTCST_PC_TO_PC, RTCST_PC_TO_PHONE, RTCST_MULTIPARTY_IM, or RTCST_IM for this method to succeed.
put_PreferredSecurityLevel Sets the proposed security level for an outgoing session. It should be called only in the RTCSS_IDLE state.
get_PreferredSecurityLevel Gets the proposed security level for an incoming session. It should be called only in the RTCSS_INCOMING state.
IsSecurityEnabled Returns whether a specified security type has been enabled for the session.
AnswerWithSessionDescription Allows applications to accept an incoming request for a session and provide the session description with the reply.
ReInviteWithSessionDescription Allows applications to include a session description with a re-Invite request.


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.