[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2024-03-01 08:47:28 +01:00
الأصل 1b57493aa9
التزام 806159cdc0

عرض الملف

@@ -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 = {