-
-
Save skydoves/2c68b14bed515d48bc33c3adf308c080 to your computer and use it in GitHub Desktop.
eanble_microphone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2023 Stream.IO, Inc. All Rights Reserved. | |
// SPDX-License-Identifier: Apache-2.0 | |
override fun enableMicrophone(enabled: Boolean) { | |
audioManager?.isMicrophoneMute = !enabled | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment