浏览代码

set sdpSemantics to "unified-plan" in default config

afrokick 6 年之前
父节点
当前提交
6f2b7c77c3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/util.ts

+ 2 - 1
lib/util.ts

@@ -2,7 +2,8 @@ import * as BinaryPack from "js-binarypack";
 import { RTCPeerConnection } from "./adapter";
 
 const DEFAULT_CONFIG = {
-  iceServers: [{ urls: "stun:stun.l.google.com:19302" }]
+  iceServers: [{ urls: "stun:stun.l.google.com:19302" }],
+  sdpSemantics: "unified-plan"
 };
 
 /*