[mirotlaksfu] - improvements

هذا الالتزام موجود في:
Miroslav Pejic
2023-06-01 12:22:18 +02:00
الأصل 2e95899ea1
التزام bae79af053
4 ملفات معدلة مع 14 إضافات و4 حذوفات

عرض الملف

@@ -663,7 +663,8 @@ class RoomClient {
function () {
console.log('Connected to signaling server!');
this._isConnected = true;
location.reload();
// location.reload();
getPeerName() ? location.reload() : openURL(this.getDirectJoinURL());
}.bind(this),
);
@@ -701,6 +702,10 @@ class RoomClient {
});
}
getDirectJoinURL() {
return `${window.location.origin}/join?room=${this.room_id}&password=${this.RoomPassword}&name=${this.peer_name}&audio=${this.peer_info.peer_audio}&video=${this.peer_info.peer_video}&screen=${this.peer_info.peer_screen}&notify=0`;
}
// ####################################################
// CHECK USER
// ####################################################