Skip to content

Commit

Permalink
Merge pull request cloudflare#155 from cloudflare/fix-screenshare-for…
Browse files Browse the repository at this point in the history
…-user-sharing

Fix screenshare for presenter
  • Loading branch information
third774 authored Jan 13, 2025
2 parents 61608e1 + 716bd02 commit 3d788d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Participant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const Participant = forwardRef<
isScreenShare ? undefined : user.tracks.audio
)
const pulledVideoTrack = usePulledVideoTrack(
isSelf || (!isScreenShare && dataSaverMode) ? undefined : user.tracks.video
isScreenShare || (!isSelf && !dataSaverMode) ? user.tracks.video : undefined
)
const audioTrack = isSelf ? userMedia.audioStreamTrack : pulledAudioTrack
const videoTrack =
Expand Down

0 comments on commit 3d788d8

Please sign in to comment.