diff options
author | Devaev Maxim <[email protected]> | 2018-11-05 04:53:48 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-05 04:53:48 +0300 |
commit | 4e49931a252ebd555ab523673c2c69808c20ab6a (patch) | |
tree | 672e042555bd411da18be6c6e27b09c8a1bc963b /web | |
parent | 5c0a943055e07f6ef1ec9f14acd5d17098aa455d (diff) |
uStreamer fix for WebKit
Diffstat (limited to 'web')
-rw-r--r-- | web/js/stream.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/web/js/stream.js b/web/js/stream.js index b2c2a3a2..3394951e 100644 --- a/web/js/stream.js +++ b/web/js/stream.js @@ -86,9 +86,13 @@ function Stream() { if (!__prev_state) { var path = "/streamer/stream?t=" + new Date().getTime(); if (tools.browser.is_chrome || tools.browser.is_blink) { - // uStreamer fix for https://bugs.chromium.org/p/chromium/issues/detail?id=527446 - tools.info("Using advance_headers=1"); + // uStreamer fix for Blink https://bugs.chromium.org/p/chromium/issues/detail?id=527446 + tools.info("Stream: using advance_headers=1"); path += "&advance_headers=1"; + } else if (tools.browser.is_safari || tools.browser.is_ios) { + // uStreamer fix for WebKit + tools.info("Stream: using dual_final_frames=1"); + path += "&dual_final_frames=1"; } $("stream-image").src = path; $("stream-image").className = "stream-image-active"; |