Skip to content

Commit

Permalink
fix: corrected mute prop value in viewer so autoplay would work (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackshen authored Feb 28, 2023
1 parent 4df04bb commit 84e9d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/viewer/src/components/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const Content = () => {
mediaStream={source.mediaStream}
volume={attributes?.volume}
displayVideo={attributes?.displayVideo}
muted={attributes?.volume === 0}
muted={attributes?.muteAudio || attributes?.volume === 0}
displayMuteButton={true}
/>
<ControlBar
Expand Down

0 comments on commit 84e9d2d

Please sign in to comment.