diff options
author | Devaev Maxim <[email protected]> | 2021-05-17 00:11:56 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-17 00:20:06 +0300 |
commit | f053bd5edecf19aba237c0b08acec461dcdc6171 (patch) | |
tree | fed02dcf8ce57de2fc02e08dad3a502cc4a60edf /web/share/js/kvm | |
parent | 5eb0d71cfd2344d30db24d472a6153a64d81279c (diff) |
html webrtc stubs
Diffstat (limited to 'web/share/js/kvm')
-rw-r--r-- | web/share/js/kvm/stream.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index 7371c2e5..7f5e5207 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -25,6 +25,8 @@ import {tools, $} from "../tools.js"; import {wm} from "../wm.js"; + + var _Janus = null; @@ -213,6 +215,7 @@ export function Streamer() { let supported = !!window.RTCPeerConnection; let set_enabled = function() { __janus_enabled = (enabled && supported && _Janus !== null); + tools.featureSetEnabled($("stream-mode"), __janus_enabled); tools.info(`Stream: Janus WebRTC state: enabled=${enabled}, supported=${supported}, imported=${!!_Janus}`); self.setState(__state); }; |