[mirotalksfu] - improvements
هذا الالتزام موجود في:
@@ -2110,7 +2110,7 @@ function handleMediaError(mediaType, err, redirectURL = false) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = false) {
|
function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = false, reloadPage = false) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
allowOutsideClick: false,
|
allowOutsideClick: false,
|
||||||
allowEscapeKey: false,
|
allowEscapeKey: false,
|
||||||
@@ -2123,8 +2123,13 @@ function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = f
|
|||||||
showClass: { popup: 'animate__animated animate__fadeInDown' },
|
showClass: { popup: 'animate__animated animate__fadeInDown' },
|
||||||
hideClass: { popup: 'animate__animated animate__fadeOutUp' },
|
hideClass: { popup: 'animate__animated animate__fadeOutUp' },
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
if (result.isConfirmed && redirectURL) {
|
if (result.isConfirmed) {
|
||||||
openURL(redirectURL);
|
if (redirectURL) {
|
||||||
|
return openURL(redirectURL);
|
||||||
|
}
|
||||||
|
if (reloadPage) {
|
||||||
|
location.href = location.href;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -704,6 +704,8 @@ class RoomClient {
|
|||||||
'Producer Transport disconnected',
|
'Producer Transport disconnected',
|
||||||
'Check Your Network Connectivity (Restarted ICE)',
|
'Check Your Network Connectivity (Restarted ICE)',
|
||||||
'center',
|
'center',
|
||||||
|
false,
|
||||||
|
true
|
||||||
);
|
);
|
||||||
*/
|
*/
|
||||||
break;
|
break;
|
||||||
@@ -718,6 +720,8 @@ class RoomClient {
|
|||||||
'Producer Transport failed',
|
'Producer Transport failed',
|
||||||
'Check Your Network Connectivity',
|
'Check Your Network Connectivity',
|
||||||
'center',
|
'center',
|
||||||
|
false,
|
||||||
|
true,
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -787,6 +791,8 @@ class RoomClient {
|
|||||||
'Consumer Transport disconnected',
|
'Consumer Transport disconnected',
|
||||||
'Check Your Network Connectivity (Restarted ICE)',
|
'Check Your Network Connectivity (Restarted ICE)',
|
||||||
'center',
|
'center',
|
||||||
|
false,
|
||||||
|
true
|
||||||
);
|
);
|
||||||
*/
|
*/
|
||||||
case 'failed':
|
case 'failed':
|
||||||
@@ -800,6 +806,8 @@ class RoomClient {
|
|||||||
'Consumer Transport failed',
|
'Consumer Transport failed',
|
||||||
'Check Your Network Connectivity',
|
'Check Your Network Connectivity',
|
||||||
'center',
|
'center',
|
||||||
|
false,
|
||||||
|
true,
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم