Skip to content

Commit

Permalink
fix camera opening failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Pairman committed Mar 9, 2024
1 parent 817c585 commit 261884a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xdcheckin/server/static/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function cameraOn() {
e.srcObject = stream;
e.addEventListener("playing", () => {
if (!e.height)
resizeCamera();
resizePlayers();
});
e.play();
}).catch(() => {
Expand Down Expand Up @@ -100,4 +100,4 @@ async function muteOtherPlayers(player) {
});
if (player)
player.setVolume(1);
}
}

0 comments on commit 261884a

Please sign in to comment.