Monica视频监控处理程序
xc
2021-04-28 9b516646acbc7392d7647e2619383a45f8db2978
src/main/resources/public/js/history/historyComponent.js
@@ -82,7 +82,7 @@
    HistoryComponent.prototype.playVideo = function (video_id,starttime, callback) {
        $.ajax({
            type: "get",
            url: "../../webapi/media/historical?param=" + video_id+ "&startTime=" + starttime+"&endTime=",
            url: "../../monica/history?param=" + video_id+ "&startTime=" + starttime+"&endTime=",
            timeout: 5000,
            async: false,
            success: function (result) {
@@ -94,7 +94,7 @@
    HistoryComponent.prototype.playVideoRTSP = function (rtspURL,starttime, callback) {
        $.ajax({
            type: "get",
            url: "../../webapi/media/rtsp/historical?param=" + rtspURL+ "&startTime=" + starttime+"&endTime=",
            url: "../../monica/rtsp/history?param=" + rtspURL+ "&startTime=" + starttime+"&endTime=",
            timeout: 5000,
            async: false,
            success: function (result) {
@@ -108,7 +108,7 @@
        if (streamPath && typeof streamPath === "string") {
            $.ajax({
                type: "get",
                url: "../../webapi/media/stop?param=" + streamPath,
                url: "../../monica/stop?param=" + streamPath,
                async: false,
                success: function (result) {
                }