Namespace DolbyIO.Comms.Services
Classes
AudioService
The audio service offers two properties for the services that allow accessing audio methods for the Local and Remote participants.
ConferenceService
The conference service allows joining and leaving conferences as well as subscribing to conference events.
To use the conference service, follow these steps:
- Open a session using OpenAsync(UserInfo) from the SessionService..
- Subscribe to events exposed through the service, for example StatusUpdated and ParticipantUpdated.
- Create a conference using the CreateAsync(ConferenceOptions) method.
- Join the created conference using the JoinAsync(Conference, JoinOptions) method or use the ListenAsync(Conference, ListenOptions) method to join the conference as a listener.
- Leave the conference using the LeaveAsync() method.
LocalAudioService
The local audio service allows enabling, disabling, and muting the local participant's audio.
LocalVideoService
The LocalVideoService is responsible for capturing the local participant's video and sending the video into a conference.
MediaDeviceService
The media device service provides access to set the input and output audio devices as well as getting notifications about the added and removed devices.
To use the media device service, follow these steps:
- Get all current audio devices using the GetAudioDevicesAsync() method.
- Set the desired input audio device by calling the SetPreferredAudioInputDeviceAsync(AudioDevice) method.
- Set the desired output audio device by calling the SetPreferredAudioOutputDeviceAsync(AudioDevice) method.
- Subscribe to the AudioDeviceAdded, AudioDeviceRemoved, and AudioDeviceChanged events.
RemoteAudioService
The remote audio service allows to mute selected remote participants (Non-Dolby Voice conferences only) and stop and start receiving audio from remote participants.
RemoteVideoService
The RemoteVideoService allows the local participant to locally start and stop remote participants` video streams transmission.
SessionService
The session service is responsible for connecting the SDK with the Dolby.io backend by opening and closing sessions.
To use the session service, follow these steps:
- Open a session using the OpenAsync(UserInfo) method.
- Join a conference using the ConferenceService.
- Leave the conference and close the session using the CloseAsync() method.
VideoService
The VideoService allows managing the local participant's and remote participants' video.