diff --git a/web/skins/classic/views/js/montage.js b/web/skins/classic/views/js/montage.js index a6b09977f..68404a331 100644 --- a/web/skins/classic/views/js/montage.js +++ b/web/skins/classic/views/js/montage.js @@ -982,10 +982,10 @@ function monitorsSetRate(fps, id=null) { var currentMonitor = monitors.find((o) => { return parseInt(o["id"]) === id; }); - currentMonitor.streamCommand({command: CMD_MAXFPS, maxfps: fps}); + currentMonitor.setMaxFPS(fps); } else { for ( let i = 0, length = monitors.length; i < length; i++ ) { - monitors[i].streamCommand({command: CMD_MAXFPS, maxfps: fps}); + monitors[i].setMaxFPS(fps); } } }