From 7c019dbeef4ee1f79bd09d87abf18112b4ffc376 Mon Sep 17 00:00:00 2001
From: 刘跃龙 <yjkhtddx@sina.com>
Date: 星期四, 16 二月 2023 18:18:10 +0800
Subject: [PATCH] RTP推流地址应使用SDP中Connection中的IP地址,原来使用Origin中的IP地址,在流媒体服务和信令服务不在同一台设备上时,媒体流数据将发给信令服务器,导致无法播放BUG。

---
 web_src/index.html |   22 ++--------------------
 1 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/web_src/index.html b/web_src/index.html
index f69f16b..e338faa 100644
--- a/web_src/index.html
+++ b/web_src/index.html
@@ -11,27 +11,9 @@
   <body>
     <script type="text/javascript" src="./static/js/jessibuca/jessibuca.js"></script>
     <script type="text/javascript" src="./static/js/EasyWasmPlayer.js"></script>
+    <script type="text/javascript" src="./static/js/liveplayer-lib.min.js"></script>
     <script type="text/javascript" src="./static/js/ZLMRTCClient.js"></script>
+    <script type="text/javascript" src="./static/js/mapConfig.js"></script>
     <div id="app"></div>
-    <!-- built files will be auto injected -->
-    <script>
-      // map缁勪欢鍏ㄥ眬鍙傛暟, 娉ㄩ噴姝ゅ唴瀹瑰彲浠ュ叧闂湴鍥惧姛鑳�
-      window.mapParam = {
-        // 鍧愭爣绯� GCJ-02 WGS-84,
-        coordinateSystem: "GCJ-02",
-        // 鍦板浘鐡︾墖鍦板潃
-        tilesUrl: "http://webrd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8",
-        // 鐡︾墖澶у皬
-        tileSize: 256,
-        // 榛樿灞傜骇
-        zoom:10,
-        // 榛樿鍦板浘涓績鐐�
-        center:[116.41020, 39.915119],
-        // 鍦板浘鏈�澶у眰绾�
-        maxZoom:18,
-        // 鍦板浘鏈�灏忓眰绾�
-        minZoom: 3
-      }
-    </script>
   </body>
 </html>

--
Gitblit v1.8.0