summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/share/js/kvm/stream.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index 4c835d6b..c3f4636c 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -218,13 +218,15 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) {
__setAudioEnabled(!!stream.getAudioTracks().length);
_Janus.attachMediaStream($("stream-video"), stream);
__startInfoInterval();
- if (__handle && __handle.webrtcStuff && __handle.webrtcStuff.pc) {
+ // FIXME: Задержка уменьшается, но начинаются заикания на кейфреймах.
+ // - https://github.com/Glimesh/janus-ftl-plugin/issues/101
+ /*if (__handle && __handle.webrtcStuff && __handle.webrtcStuff.pc) {
for (let receiver of __handle.webrtcStuff.pc.getReceivers()) {
if (receiver.track && receiver.track.kind == "video" && receiver.playoutDelayHint !== undefined) {
receiver.playoutDelayHint = 0;
}
}
- }
+ }*/
},
oncleanup: function() {