Skip to content

Commit

Permalink
Remove old conference struture and make multitrack coference default
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaboleken committed Dec 20, 2023
1 parent 0514b00 commit ed3b9fd
Show file tree
Hide file tree
Showing 4 changed files with 592 additions and 1,351 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ <h3 class="col text-muted">WebRTC Conference</h3>
WebRTC Conference is an enterprise edition feature. <br/>
<a href="https://antmedia.io">Try Enterprise Edition for free at antmedia.io</a>
</div>
<div class="alert alert-primary text-center" role="alert" style="margin-top:-2em">
This conference solution is deprecated. Please use performance efficient <a href="conference.html">Conference</a>
<br/>
</div>
<div id="players" class="row">
<div class="col-sm-3">
<video id="localVideo" autoplay muted controls playsinline></video>
Expand Down Expand Up @@ -282,13 +286,13 @@ <h3 class="col text-muted">WebRTC Conference</h3>
});
}


var roomNameBox = document.getElementById("roomName");

if (roomId != null) {
roomNameBox.value = roomId;
}

var isDataChannelOpen = false;
var isMicMuted = false;
var isCameraOff = false;
Expand Down Expand Up @@ -479,7 +483,7 @@ <h3 class="col text-muted">WebRTC Conference</h3>
//TODO: Disable this one if user stops publishing
webRTCAdaptor.enableAudioLevelForLocalStream((value) => {

//PAY ATTENTION: No need to send audio level any more because server side can get it from the RTP header in AMS v2.7+
//PAY ATTENTION: No need to send audio level any more because server side can get it from the RTP header in AMS v2.7+
//webRTCAdaptor.updateAudioLevel(publishStreamId, Math.floor(value*100));
}, 200);
};
Expand Down
Loading

0 comments on commit ed3b9fd

Please sign in to comment.