Audio
Enable Audio
The enableAudio
method enables the local microphone and starts producing the audio track.
Example
// Enable audio stream
val audioTrack = 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();