setMicrophoneEnabled

suspend fun setMicrophoneEnabled(enabled: Boolean)

If set to enabled, creates and publishes a microphone audio track if not already done, and unmutes the mic.

If set to disabled, mutes the mic.

This will use capture and publish default options from Room.

See also