Skip to content

Commit

Permalink
unmute video issue solved with new SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
sadhana-vcloudx committed Sep 27, 2023
1 parent 2982163 commit 5eef532
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions static/js/confo.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ function videoMute() {
var currentImgPath = elem.src.split("/")[elem.src.split("/").length - 1];
if (currentImgPath === offImgName) {
localStream.unmuteVideo(function (res) {
var streamId = localStream.getID();
var player = document.getElementById("stream" + streamId);
player.srcObject = localStream.stream;
player.play();
// var streamId = localStream.getID();
// var player = document.getElementById("stream" + streamId);
// player.srcObject = localStream.stream;
// player.play();
elem.src = onImgPath;
elem.title = "Mute video";
});
Expand Down

0 comments on commit 5eef532

Please sign in to comment.