From ac576569220cf4ed4ffa54dd4dd34e12d96d90f4 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期三, 10 七月 2024 15:34:28 +0800 Subject: [PATCH] 修改:配置文件必要更新 --- ard-work/src/main/resources/templates/test.html | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/templates/test.html b/ard-work/src/main/resources/templates/test.html index 6c967e0..5623b4b 100644 --- a/ard-work/src/main/resources/templates/test.html +++ b/ard-work/src/main/resources/templates/test.html @@ -127,6 +127,7 @@ <div class="row"> <div class="row top-buffer"> <button id="preview" type="button" class="btn btn-primary">棰勮</button> + <button id="previewStop" type="button" class="btn btn-primary">鍋滄</button> </div> <div class="row top-buffer"> <video id="video" muted autoplay loop controls @@ -263,7 +264,10 @@ } }) }); - + //鍋滄 + $('#previewStop').click(() => { + webrtcClient.stop(); + }); //浜戝彴涓婁笅宸﹀彸 $("#up").mousedown(function () { var url = "../cameraSdk/PTZControlWithSpeed"; -- Gitblit v1.9.3