소스 검색

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"
 };
 
 /*