Explorar o código

set sdpSemantics to "unified-plan" in default config

afrokick %!s(int64=6) %!d(string=hai) anos
pai
achega
6f2b7c77c3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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"
 };
 
 /*