From 6f86e7cee012a5798f0e361ec984e1daf36b3c2e Mon Sep 17 00:00:00 2001
From: xc <xucheng@yyigou.com>
Date: Mon, 08 Feb 2021 16:12:30 +0800
Subject: [PATCH] Monica完整测试用例

---
 src/main/resources/public/index.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html
index b002e56..c28004a 100755
--- a/src/main/resources/public/index.html
+++ b/src/main/resources/public/index.html
@@ -142,7 +142,12 @@
         }
 
         isPlaying = false;
-        stop();
+        $.get("http://127.0.0.1:8088/monica/video/stop?param=live/test", function () {
+                alert("视频流已关闭");
+                h5lc.close()
+            }
+        );
+        //stop();
 
         $playDom.style.display = 'block';
         $stopDom.style.display = 'none';
@@ -153,7 +158,7 @@
         //h5lc.play("ws://" + (firstResponseIp || source) + ":8080/live/" + stream)
         //h5lc.play("ws://pull2.afb1188.com/live/" + stream + ".flv")
         //h5lc.play("ws://localhost:8080/live/" + stream)
-        h5lc.play("ws://localhost:8080/live/test.flv")
+        //h5lc.play("ws://localhost:8080/live/test.flv")
         // h5lc.play("ws://119.9.118.39:8080/live/user1", canvas)
         // h5lc.play("ws://test.qihaipi.com/gnddragon/test.flv", canvas)
         //  h5lc.play("ws://localhost:8080/live/test.flv", canvas)

--
Gitblit v1.9.1