summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/stream.js')
-rw-r--r--web/share/js/kvm/stream.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index 3a1df717..88ed5bf4 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -282,13 +282,9 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) {
if (frames !== null) {
info = `${frames - __frames} fps dynamic`;
__frames = frames;
+ } else {
+ info = `${__handle.getBitrate()}`.replace("kbits/sec", "kbps");
}
-
- if (info.length > 0) {
- info += " / ";
- }
-
- info += `${__handle.getBitrate()}`.replace("kbits/sec", "kbps");
}
__setInfo(true, online, info);
}