Fix and simplify screen sharing

This commit is contained in:
Robin
2025-11-12 15:02:19 -05:00
parent 27b76b4b1d
commit a62d8368a1
3 changed files with 28 additions and 63 deletions

View File

@@ -734,8 +734,7 @@ export const InCallView: FC<InCallViewProps> = ({
<ShareScreenButton
key="share_screen"
className={styles.shareScreen}
disabled={sharingScreen === undefined}
enabled={sharingScreen === true}
enabled={sharingScreen}
onClick={vm.toggleScreenSharing}
onTouchEnd={onControlsTouchEnd}
data-testid="incall_screenshare"