-
-
Save skydoves/1372a70dae8896c81a217f47869e6671 to your computer and use it in GitHub Desktop.
flip_camera
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 flipCamera() { | |
(videoCapturer as? Camera2Capturer)?.switchCamera(null) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment