一.前台页面代码:
var savePath = "D:\\capture\\"; var isStart = false; function init() { createDir(); } function createDir() { captrue.bCreateDir(savePath); } function startPlay() { isStart = captrue.bStartPlay(); } function stopPlay() { captrue.bStopPlay(); } function getFileName() { var date = new Date(); var fileName = "" + date.getFullYear(); var month = date.getMonth() + 1; if (month