unmuteMic

fun unmuteMic()

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()

fun unmuteMic(customTrack: CustomStreamTrack)

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

Code Example:


val audioTrack = VideoSDK.createAudioTrack("speech_standard", context)
meeting.unmuteMic(audioTrack)

Parameters

customTrack

the CustomStreamTrack to use as the audio source