Ver código fonte

Merge branch 'myrtc' of http://192.168.0.115:3000/xushiting/Metaverse into myrtc

# Conflicts:
#	src/Workers.js
#	src/main.js
xushiting 3 anos atrás
pai
commit
0ccc92ff8c
2 arquivos alterados com 7 adições e 1 exclusões
  1. 1 0
      src/main.js
  2. 6 1
      src/v2Decoder/index.js

+ 1 - 0
src/main.js

@@ -38,6 +38,7 @@ const l = async()=>{
             // wsServerUrl: "ws://localhost:6688/ws",
             wsServerUrl: "wss://meta-socket.4dage.com/ws",
             appId: "10016",
+            // appId: "0000000002",
             token: " ",
             nickname: nickname,
             firends: ["user1"],

+ 6 - 1
src/v2Decoder/index.js

@@ -579,8 +579,13 @@ if ("function" === typeof importScripts) {
       }
       return false;
     }
+    try {
+      this.procBufItem(this.readPtr);
+    } catch (error) {
+      
+    }
+
 
-    this.procBufItem(this.readPtr);
 
     // if (this.getNumOfPktToBeDec() > this.prevBufNum) {
     //   this.cntBufInc++