Session Service

The Session Service is responsible for connecting SDK with the Dolby.io backend by opening and closing sessions. Opening a session is mandatory before joining conferences.

To use the Session Service, follow these steps:

  1. Open a session using the session::open method.
  2. Join a conference.
  3. Leave the conference and close the session using the session::close method.

Classes

Name
structdolbyio::comms::services::session::participant_info
The class that represents the participant who tries to open a session.
classdolbyio::comms::services::session
The session class.

Types

Name
enumstate { RECONNECTING, DISCONNECTED, CONNECTING, CONNECTED}
The current state of a session.

Types Documentation

enum state

EnumeratorDescription
RECONNECTINGThe session is reconnecting.
DISCONNECTEDThe session is disconnected, this is the initial state.
CONNECTINGThe session is connecting.
CONNECTEDThe session is connected.

The current state of a session.



Did this page help you?