Class AudioService
The audio service offers two properties for the services that allow accessing audio methods for the Local and Remote participants.
Inherited Members
Namespace: DolbyIO.Comms.Services
Assembly: DolbyIO.Comms.Sdk.dll
Syntax
public sealed class AudioService
Examples
try
{
await _sdk.Audio.Local.StartAsync();
await _sdk.Audio.Remote.StopAsync(participantId);
}
catch
{
// Error handling
}
Properties
| Improve this Doc View SourceLocal
Gets the local audio service.
Declaration
public LocalAudioService Local { get; }
Property Value
Type | Description |
---|---|
LocalAudioService | The service that allows accessing audio methods for the local participant. |
Remote
Gets the remote audio service.
Declaration
public RemoteAudioService Remote { get; }
Property Value
Type | Description |
---|---|
RemoteAudioService | The service that allows accessing audio methods for remote participants. |