张延森 2 anni fa
parent
commit
d08bf6695a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      resources/templates/station/monitor.html

+ 1
- 1
resources/templates/station/monitor.html Vedi File

@@ -41,7 +41,7 @@
41 41
           console.log('--------canvas-------', canvas)
42 42
         document.querySelector("#monitorModal .modal-content").appendChild(canvas);
43 43
         const url = 'ws://192.168.89.147:8888/ws/rtsp://admin:abcd12345678@192.168.89.203';
44
-        player = new JSMpeg.Player(url, { canvas: canvas });
44
+        player = new JSMpeg.Player(url, { canvas: canvas, protocols: [] });
45 45
       }
46 46
 
47 47
       function loadPage2() {