-
-
Save skydoves/3a5f770f18a5983782b785305c99fe5d to your computer and use it in GitHub Desktop.
remote_video_track
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 | |
val remoteVideoTrackState by sessionManager.remoteVideoSinkFlow.collectAsState(null) | |
val remoteVideoTrack = remoteVideoTrackState | |
if (remoteVideoTrack != null) { | |
VideoRenderer( | |
videoTrack = remoteVideoTrack, | |
modifier = Modifier.fillMaxSize() | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment