[mirotalksfu] - fix ejectAll, update dep
هذا الالتزام موجود في:
@@ -76,7 +76,7 @@ let BRAND = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: '<strong>WebRTC SFU v1.9.07</strong>',
|
||||
title: '<strong>WebRTC SFU v1.9.09</strong>',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.9.07
|
||||
* @version 1.9.09
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -3593,9 +3593,9 @@ function leaveFeedback() {
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
endRoomSession();
|
||||
rc.exitRoom();
|
||||
openURL(survey.url);
|
||||
} else if (result.isDenied) {
|
||||
rc.exitRoom();
|
||||
redirectOnLeave();
|
||||
}
|
||||
});
|
||||
@@ -3603,6 +3603,7 @@ function leaveFeedback() {
|
||||
|
||||
function redirectOnLeave() {
|
||||
endRoomSession();
|
||||
rc.exitRoom();
|
||||
redirect && redirect.enabled ? openURL(redirect.url) : openURL('/newroom');
|
||||
}
|
||||
|
||||
@@ -5469,7 +5470,7 @@ function showAbout() {
|
||||
position: 'center',
|
||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.07',
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.09',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.9.06
|
||||
* @version 1.9.09
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -3491,10 +3491,9 @@ class RoomClient {
|
||||
clean();
|
||||
}
|
||||
}
|
||||
|
||||
exitRoom(disconnectAll = false) {
|
||||
//...
|
||||
if (isPresenter && (disconnectAll || switchDisconnectAllOnLeave.checked)) {
|
||||
const switchDisconnectAllOnLeave = getId('switchDisconnectAllOnLeave');
|
||||
if (isPresenter && (disconnectAll || (switchDisconnectAllOnLeave && switchDisconnectAllOnLeave.checked))) {
|
||||
this.ejectAllOnLeave();
|
||||
}
|
||||
this.exit();
|
||||
@@ -8501,7 +8500,7 @@ class RoomClient {
|
||||
this.userLog('warning', cmd.data, 'top-end', 5000);
|
||||
break;
|
||||
case 'ejectAll':
|
||||
this.exit();
|
||||
redirectOnLeave();
|
||||
break;
|
||||
case 'peerAudio':
|
||||
this.handlePeerAudio(cmd);
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم