Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3293 from XRFoundation/av-only-channel-server
Browse files Browse the repository at this point in the history
A/V fixup
  • Loading branch information
barankyle authored Sep 15, 2021
2 parents af21ebe + 2d0e4f8 commit bfc9cfb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ const PartyParticipantWindow = (props: Props): JSX.Element => {
videoRef.current.muted = true
videoRef.current.setAttribute('playsinline', 'true')
if (videoStream != null) {
setVideoProducerPaused(videoStream.paused)
const originalTrackEnabledInterval = setInterval(() => {
if (videoStream.track.enabled) {
clearInterval(originalTrackEnabledInterval)
Expand Down

0 comments on commit bfc9cfb

Please sign in to comment.