Prevent call PiP from appearing in outgoing screen share.

This commit is contained in:
Cody Henthorne
2026-07-20 13:32:07 -04:00
committed by Greyson Parrelli
parent 8b71bde890
commit 7af82fbc87
@@ -298,7 +298,7 @@ class WebRtcCallViewModel : ViewModel() {
@MainThread
fun updateFromWebRtcViewModel(webRtcViewModel: WebRtcViewModel, enableVideo: Boolean) {
canEnterPipMode.value = !webRtcViewModel.state.isPreJoinOrNetworkUnavailable
canEnterPipMode.value = !webRtcViewModel.state.isPreJoinOrNetworkUnavailable && !webRtcViewModel.isLocalScreenSharing
if (isCallStarting && webRtcViewModel.state.isPassedPreJoin) {
isCallStarting = false
}