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

Commit

Permalink
Fix audio only user issue (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
starwarfan authored Jul 12, 2019
1 parent a37f433 commit b3e3183
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-meeting/app-server/html/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function userExit() {
$("#user-list").empty();
$('#video-panel').empty();
localStream = undefined;
isAudioOnly = false;
clearInterval(refreshMute);
}

Expand Down Expand Up @@ -1354,7 +1355,7 @@ function playpause() {
}

function toggleVideo() {
if (!localPublication) {
if (!localPublication || isAudioOnly) {
return;
}

Expand Down

0 comments on commit b3e3183

Please sign in to comment.