Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created February 23, 2023 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skydoves/2c68b14bed515d48bc33c3adf308c080 to your computer and use it in GitHub Desktop.
Save skydoves/2c68b14bed515d48bc33c3adf308c080 to your computer and use it in GitHub Desktop.
eanble_microphone
// 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