Skip to content

Commit

Permalink
* only conference is now working when click the cross two times
Browse files Browse the repository at this point in the history
  • Loading branch information
h2Entwicklung committed Jan 6, 2023
1 parent b80ddeb commit bea56c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/js/onlyConference.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ api.addListener('videoConferenceJoined', function (e) {
api.addListener('videoConferenceLeft', function (e) {
leaveMeeting();
initStarSend();
api = null;
});

if (setTileview === 1) {
Expand Down Expand Up @@ -85,7 +86,9 @@ function checkClose() {
leaveMeeting();
initStarSend();
}
api.executeCommand('hangup');
if (api){
api.executeCommand('hangup');
}
leaveMeeting();
}

Expand Down

0 comments on commit bea56c9

Please sign in to comment.