summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-07 23:18:26 +0300
committerMaxim Devaev <[email protected]>2022-11-07 23:18:26 +0300
commit6072276fd5e21e17b6b9cadc28a87741466d0941 (patch)
tree1266b99eabfe111abc886ad3c5cc27c1a274eebf /web
parent5cac6129944714962d3a312ce9218e83cfbc9228 (diff)
h264 is a new default
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index 7402b096..5e18e74d 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -551,7 +551,7 @@ export function Streamer() {
__janus_enabled = (enabled && has_webrtc && _Janus !== null); // Don't check has_h264 for sure
tools.feature.setEnabled($("stream-mode"), __janus_enabled);
tools.info(`Stream: Janus WebRTC state: enabled=${enabled}, webrtc=${has_webrtc}, h264=${has_h264}, imported=${!!_Janus}`);
- tools.radio.clickValue("stream-mode-radio", tools.storage.get("stream.mode", "mjpeg"));
+ tools.radio.clickValue("stream-mode-radio", tools.storage.get("stream.mode", "janus"));
self.setState(__state);
};