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/live/liveComponent.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/public/js/live/liveComponent.js b/src/main/resources/public/js/live/liveComponent.js
index 47fb3d3..592c507 100755
--- a/src/main/resources/public/js/live/liveComponent.js
+++ b/src/main/resources/public/js/live/liveComponent.js
@@ -90,7 +90,7 @@
LiveComponent.prototype.playVideo = function (video_id, callback) {
$.ajax({
type: "get",
- url: "../../webapi/media/live?param=" + video_id,
+ url: "../../monica/live?param=" + video_id,
timeout: 5000,
async: false,
success: function (result) {
@@ -102,7 +102,7 @@
LiveComponent.prototype.playVideoRTSP = function (rtspUrl, callback) {
$.ajax({
type: "get",
- url: "../../webapi/media/rtsp/live?param=" + rtspUrl,
+ url: "../../monica/rtsp/live?param=" + rtspUrl,
timeout: 5000,
async: false,
success: function (result) {
@@ -116,7 +116,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