[mirotalksfu] - remove unused

هذا الالتزام موجود في:
Miroslav Pejic
2023-04-17 17:02:57 +02:00
الأصل 6c00886b54
التزام 111cd11262
3 ملفات معدلة مع 4 إضافات و16 حذوفات

عرض الملف

@@ -26,7 +26,6 @@ const socket = io({ transports: ['websocket'] });
const surveyActive = true;
const url = {
ipLookup: 'https://extreme-ip-lookup.com/json/?key=demo2',
survey: 'https://www.questionpro.com/t/AUs7VZq02P',
};
@@ -75,7 +74,6 @@ let peer_name = getPeerName();
let isScreenAllowed = getScreen();
let notify = getNotify();
let peer_geo = null;
let peer_info = null;
let isHideMeActive = false;
@@ -260,7 +258,6 @@ async function initEnumerateDevices() {
setButtonsInit();
setSelectsInit();
handleSelectsInit();
getPeerGeoLocation();
}
}
@@ -459,15 +456,6 @@ function getPeerInfo() {
};
}
function getPeerGeoLocation() {
fetch(url.ipLookup)
.then((res) => res.json())
.then((outJson) => {
peer_geo = outJson;
})
.catch((ex) => console.warn('IP Lookup', ex));
}
// ####################################################
// ENTER YOUR NAME | Enable/Disable AUDIO/VIDEO
// ####################################################
@@ -719,7 +707,6 @@ function joinRoom(peer_name, room_id) {
socket,
room_id,
peer_name,
peer_geo,
peer_info,
isAudioAllowed,
isVideoAllowed,

عرض الملف

@@ -116,7 +116,6 @@ class RoomClient {
socket,
room_id,
peer_name,
peer_geo,
peer_info,
isAudioAllowed,
isVideoAllowed,
@@ -134,7 +133,6 @@ class RoomClient {
this.room_id = room_id;
this.peer_id = socket.id;
this.peer_name = peer_name;
this.peer_geo = peer_geo;
this.peer_info = peer_info;
this.isAudioAllowed = isAudioAllowed;
@@ -244,7 +242,6 @@ class RoomClient {
let data = {
room_id: this.room_id,
peer_info: this.peer_info,
peer_geo: this.peer_geo,
};
await this.join(data);
this.initSockets();