Audio
Enable Audio
The enableAudio
method enables the local microphone and starts producing the audio stream with the label audio
.
// Enable audio stream
await huddleClient.localPeer.enableAudio();
Disable Audio
The disableAudio
method stops the local audio stream and also stops producing the audio stream with remote peers.
// Disable audio stream
await huddleClient.localPeer.disableAudio();