张延森 2 years ago
parent
commit
d08bf6695a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      resources/templates/station/monitor.html

+ 1
- 1
resources/templates/station/monitor.html View 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() {