From cdb957a6df222e8bc2ea8ce22e164d6588ab5255 Mon Sep 17 00:00:00 2001
From: xc <double72cheng@gmail.com>
Date: Tue, 27 Apr 2021 17:31:36 +0800
Subject: [PATCH] 通过rtsp 实现 通过摄像头ID 实现 over
---
src/main/resources/public/js/history/historyComponent.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/public/js/history/historyComponent.js b/src/main/resources/public/js/history/historyComponent.js
index 6776c09..1e38fdb 100755
--- a/src/main/resources/public/js/history/historyComponent.js
+++ b/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) {
}
--
Gitblit v1.9.1