diff options
-rw-r--r-- | web/share/js/kvm/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index 05f916a6..f3d9c555 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -280,7 +280,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) { frames = el.mozPaintedFrames; } if (frames !== null) { - info = `${frames - __frames} fps dynamic`; + info = `${Math.max(0, frames - __frames)} fps dynamic`; __frames = frames; } else { info = `${__handle.getBitrate()}`.replace("kbits/sec", "kbps"); |