summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-03-22 23:11:07 +0200
committerMaxim Devaev <[email protected]>2024-03-22 23:11:07 +0200
commit1c212b22bf7de747fd2ff256d2d7e7032145f35c (patch)
treecd98c1866369812c72ac6399d78f4104b7b4d041
parent027569d4a89bb78831a0a4b423ef7ee3c1c523cb (diff)
removed legacy code
-rw-r--r--web/share/js/kvm/stream_janus.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/share/js/kvm/stream_janus.js b/web/share/js/kvm/stream_janus.js
index ff3d9c4f..e7303f78 100644
--- a/web/share/js/kvm/stream_janus.js
+++ b/web/share/js/kvm/stream_janus.js
@@ -166,11 +166,6 @@ export function JanusStreamer(__setActive, __setInactive, __setInfo, __orient, _
"iceState": function(state) {
__logInfo("ICE state changed to", state);
- // Если раскомментировать, то он начнет дрючить соединение,
- // так как каллбек вызывает сильно после завершения работы
- /*if (state === "disconnected") {
- __destroyJanus();
- }*/
},
"webrtcState": function(up) {