Add show_analyze_frames function to tell zms to send analysis frames
This commit is contained in:
parent
df0a0c7853
commit
6f5eee6c0f
|
@ -276,4 +276,10 @@ function MonitorStream(monitorData) {
|
||||||
.fail(this.onFailure.bind(this));
|
.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
|
} // end function MonitorStream
|
||||||
|
|
Loading…
Reference in New Issue