Skip to content

Commit

Permalink
fix(webapp): layout presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Dec 22, 2024
1 parent a24822e commit d2cb831
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Layout(props: { meetingId: string }) {
<div></div>

{enabledPresentation
? <Player stream={presentationStream.stream} muted={true} width="auto" />
? <Player stream={presentationStream.stream} muted={true} video={true} width="auto" />
: null
}

Expand Down
2 changes: 1 addition & 1 deletion webapp/components/player/whep-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function WhepPlayer(props: { streamId: string, userStatus: Stream

return (
<center className="flex flex-col">
<Player stream={stream} muted={false} width={props.width} audio={true} video={props.userStatus.video} />
<Player stream={stream} muted={false} width={props.width} audio={true} video={props.userStatus.video && !props.userStatus.screen} />
<Detail streamId={props.streamId} connStatus={connStatus} userStatus={props.userStatus} restart={restart} />
</center>
)
Expand Down
2 changes: 1 addition & 1 deletion webapp/components/player/whip-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function WhipPlayer(props: { streamId: string, width: string }) {

return (
<center className="flex flex-col">
<Player stream={stream} muted={true} width={props.width} audio={false} video={userStatus.video} />
<Player stream={stream} muted={true} width={props.width} audio={false} video={userStatus.video && !userStatus.screen} />
<Detail streamId={props.streamId} connStatus={userStatus.state} userStatus={userStatus} restart={restart} />
</center>
)
Expand Down

0 comments on commit d2cb831

Please sign in to comment.