gemercheung 3 年之前
父节点
当前提交
6fe2439c4f
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      config.production1.yaml
  2. 2 1
      src/meta.gateway.ts

+ 1 - 1
config.production1.yaml

@@ -37,7 +37,7 @@ redis:
 # ['turn:4dage:4dage168@turn.4dage.com:4478', 'stun:stun.callwithus.com:3478']
 stun:
   # server: ['stun:stun.callwithus.com:3478', 'stun:47.107.125.202:3478']
-  server: ['175.178.12.158:3478','106.55.177.178:3478']
+  server: ['stun:175.178.12.158:3478','stun:106.55.177.178:3478']
   portRangeBegin: 49152
   portRangeEnd: 65535
 

+ 2 - 1
src/meta.gateway.ts

@@ -99,7 +99,8 @@ export class MetaGateway
       portRangeEnd: portRangeEnd,
       iceServers: stun_server,
       // enableIceTcp: true,
-      maxMessageSize: 16000, // 16k
+      // maxMessageSize: 65535,
+      // maxMessageSize: 16000, // 16k
       mtu: 1500,
     });