From 4f2a79007f161d6239a26f2bc493d69d93bf7831 Mon Sep 17 00:00:00 2001
From: xc <double72cheng@gmail.com>
Date: Tue, 27 Apr 2021 10:55:00 +0800
Subject: [PATCH] 历史监控

---
 src/main/resources/public/js/history/historypler.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/public/js/history/historypler.js b/src/main/resources/public/js/history/historypler.js
index 5c88ae1..6f08c17 100755
--- a/src/main/resources/public/js/history/historypler.js
+++ b/src/main/resources/public/js/history/historypler.js
@@ -89,7 +89,7 @@
         });
     };
 
-
+    //关闭流
     Historypler.prototype.closeVideo = function (streamPath) {
         if (streamPath && typeof streamPath === "string") {
             $.ajax({
@@ -103,6 +103,9 @@
         }
     };
 
+    Historypler.prototype.close = function () {
+        this.closeVideo(this.stream_path);
+    };
 
     window.Historypler = Historypler;
 

--
Gitblit v1.9.1