diff options
author | Maxim Devaev <[email protected]> | 2024-03-17 17:24:57 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-03-17 17:24:57 +0200 |
commit | ed87098766cfbee05b3125616ffc1027e59f2abe (patch) | |
tree | b1b7a317801d032c9ce4d1d2b8fbc22940b23abb | |
parent | 154a78a58798e860baf99f8eebe2e044f9bd9c4e (diff) |
disable orientation on firefox (it doesn't support this)
-rw-r--r-- | web/share/js/kvm/stream.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index a5a13294..ccf8281c 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -263,7 +263,9 @@ export function Streamer() { if (mode === "janus") { __streamer = new JanusStreamer(__setActive, __setInactive, __setInfo, tools.storage.getInt("stream.orient", 0), !$("stream-video").muted); - tools.feature.setEnabled($("stream-orient"), true); + // Firefox doesn't support RTP orientation: + // - https://bugzilla.mozilla.org/show_bug.cgi?id=1316448 + tools.feature.setEnabled($("stream-orient"), !tools.browser.is_firefox); } else { // mjpeg __streamer = new MjpegStreamer(__setActive, __setInactive, __setInfo); tools.feature.setEnabled($("stream-orient"), false); |