Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 378fdb0

Browse files
committed
[CHG]删除录像功能代码示例
1 parent 7e4e7eb commit 378fdb0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

demo/demo-monitor.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ <h2>预览,回放功能示例:</h2>
5252
<button id="getOSDTime">获取OSD时间</button>
5353
<button id="openSound">打开声音(默认已经开启)</button>
5454
<button id="capturePicture">视频截图</button>
55-
<button id="startSave">开始录像</button>
56-
<button id="stopSave">停止录像</button>
5755

5856
</div>
5957
<div id="playWind" style="width: 600px; height: 400px;">
@@ -117,13 +115,7 @@ <h2>预览,回放功能示例:</h2>
117115
decoder.openSound();
118116
})
119117
$("#capturePicture").click(function () {
120-
decoder.capturePicture(0,'default');
121-
})
122-
$("#startSave").click(function () {
123-
decoder.startSave(0,'default');
124-
})
125-
$("#stopSave").click(function () {
126-
decoder.stopSave(0);
118+
decoder.capturePicture(0,'picName');
127119
})
128120
$("#play").click(function () {
129121
decoder.play();

0 commit comments

Comments
 (0)