diff --git a/web/js/MonitorStream.js b/web/js/MonitorStream.js index feb4b3611..da082d0e6 100644 --- a/web/js/MonitorStream.js +++ b/web/js/MonitorStream.js @@ -276,4 +276,10 @@ function MonitorStream(monitorData) { .fail(this.onFailure.bind(this)); }; } + this.analyze_frames = true; + this.show_analyze_frames = function(toggle) { + this.analyze_frames = toggle; + console.log("Sending command " + (this.analyze_frames?CMD_ANALYZE_ON:CMD_ANALYZE_OFF)); + this.streamCmdReq.send(this.streamCmdParms+"&command="+(this.analyze_frames?CMD_ANALYZE_ON:CMD_ANALYZE_OFF)); + } } // end function MonitorStream