mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
Don't show stream bitrate if fps is available
This commit is contained in:
parent
da6ad16e32
commit
70747a47ac
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user