Поделиться через


RTC Session Object (Windows Embedded CE 6.0)

1/6/2010

The Session object represents a single RTC communication session.

There are two varieties of Session object: Session and Session2.

Session Object

The Session object was introduced in RTC 1.0 and is accessed using the IRTCSession interface. This interface does the following:

  • Represents the entity that can create or receive audio calls and text messaging sessions
  • Provides session information such as state, media types, and participant information

To create a Session object, use IRTCClient::CreateSession.

For a code example that shows how to create and use a Session object, see Create a Session and Make a Call.

Session2 Object

The RTC Session2 object is part of RTC 1.2 and is accessed using the IRTCSession2 interface. This interface provides additional methods that enable users to do the following:

  • Specify security levels for the session
  • Manage a session with an application-defined session description

To create a Session2 object, call IUnknown::QueryInterface on an IRTCSession reference.

For more information about session negotiations using the Session2 object, see the Session Negotiation information at this Microsoft Web site.

See Also

Concepts

RTC Client API Objects and Interfaces
RTC Client API Code Examples