Skip to content

Commit

Permalink
Update main.js (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
namvdo authored Jul 18, 2021
1 parent ae24cc7 commit 750a400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pubsubtest/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ clientLocal.ontrack = (track, stream) => {
// If the stream is not there in the streams map.
if (!streams[stream.id]) {
// Create a video element for rendering the stream
remoteVideo = document.createElement("video");
const remoteVideo = document.createElement("video");
remoteVideo.srcObject = stream;
remoteVideo.autoplay = true;
remoteVideo.muted = remoteVideoIsMuted;
Expand Down

0 comments on commit 750a400

Please sign in to comment.