File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments