zhangnaisong
2024-07-11 cbbea55a92b178b75f58e7c468f7e8d8ae417c9d
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";