Browse Source

Signed-off-by: caner <5658514@qq.com>

caner 3 years ago
parent
commit
4c06eb6b39
1 changed files with 1 additions and 3 deletions
  1. 1 3
      web/index.html

+ 1 - 3
web/index.html

@@ -33,9 +33,7 @@
             transports: ["websocket"],
             transports: ["websocket"],
         });
         });
         socket.on("connect", async () => {
         socket.on("connect", async () => {
-            RTC = new RTCPeerConnection({
-                bundlePolicy: "max-bundle"
-            });
+            RTC = new RTCPeerConnection({ bundlePolicy: "max-bundle" });
 
 
             // listen state
             // listen state
             RTC.onicegatheringstatechange = () => {
             RTC.onicegatheringstatechange = () => {