summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-16 05:40:11 +0300
committerMaxim Devaev <[email protected]>2022-07-16 22:32:19 +0300
commit3df9cb698251ab7c1430a9b7141d9538b3d65b04 (patch)
tree3b5114941e17e3503477ae45995ba2b12450dffa /web
parent1d0ebfce829e00b6f927ddddf3f3c5ed26991759 (diff)
commented playoutDelay
Diffstat (limited to 'web')
-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() {