mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
optional quality and resolution
This commit is contained in:
@@ -67,6 +67,10 @@ export function Streamer() {
|
||||
/************************************************************************/
|
||||
|
||||
self.setState = function(state) {
|
||||
if (state) {
|
||||
tools.setFeatureEnabled($("stream-quality"), state.features.quality && (state.state === null || state.state.encoder.quality > 0));
|
||||
}
|
||||
|
||||
if (state && state.state) {
|
||||
let max_fps = state.limits.max_fps;
|
||||
state = state.state;
|
||||
|
||||
Reference in New Issue
Block a user