Audio
Enable Audio
The enableAudio
method enables the local microphone and starts producing the audio stream with the label audio
.
Example
// 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.
Example
// Disable audio stream
huddleClient.localPeer.disableAudio();