[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -600,7 +600,7 @@ class RoomClient {
|
||||
case 'failed':
|
||||
console.warn('Producer Transport failed');
|
||||
this.producerTransport.close();
|
||||
//openURL(this.getReconnectDirectJoinURL());
|
||||
//this.refreshBrowser();
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -659,7 +659,7 @@ class RoomClient {
|
||||
case 'failed':
|
||||
console.warn('Consumer Transport failed');
|
||||
this.consumerTransport.close();
|
||||
//openURL(this.getReconnectDirectJoinURL());
|
||||
//this.refreshBrowser();
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -893,8 +893,7 @@ class RoomClient {
|
||||
function () {
|
||||
console.log('SocketOn Connected to signaling server!');
|
||||
this._isConnected = true;
|
||||
// location.reload();
|
||||
getPeerName() ? location.reload() : openURL(this.getReconnectDirectJoinURL());
|
||||
this.refreshBrowser();
|
||||
}.bind(this),
|
||||
);
|
||||
|
||||
@@ -934,6 +933,10 @@ class RoomClient {
|
||||
});
|
||||
}
|
||||
|
||||
refreshBrowser() {
|
||||
getPeerName() ? location.reload() : openURL(this.getReconnectDirectJoinURL());
|
||||
}
|
||||
|
||||
getReconnectDirectJoinURL() {
|
||||
const baseUrl = `${window.location.origin}/join`;
|
||||
const queryParams = {
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم