unmute Mic
This method can be used to unmute the local participant's microphone.
Events:
onStreamEnabled— emitted on all participants when the audio stream is enabled
Code Example:
meeting.unmuteMic()
Content copied to clipboard
This method can be used to unmute the local participant's microphone using a custom audio track.
Events:
onStreamEnabled— emitted on all participants when the audio stream is enabled
Requires a joined meeting. Called before join completes (error code 3001) or while the meeting is reconnecting (error code 3014), the call emits onError locally and disposes customTrack, so it cannot be reused afterwards.
Code Example:
val audioTrack = VideoSDK.createAudioTrack("speech_standard", context)
meeting.unmuteMic(audioTrack)
Content copied to clipboard
Parameters
custom Track
the CustomStreamTrack to use as the audio source