提交 fbd07d81 authored 作者: Brian West's avatar Brian West

FS-10688

上级 0ef7be63
This diff was suppressed by a .gitattributes entry.
...@@ -668,9 +668,20 @@ ...@@ -668,9 +668,20 @@
function FSRTCPeerConnection(options) { function FSRTCPeerConnection(options) {
var gathering = false, done = false; var gathering = false, done = false;
var config = {}; var config = {};
var default_ice = { var default_ice;
urls: ['stun:stun.l.google.com:19302']
if (navigator.appVersion.indexOf('Edge') > -1) {
default_ice = {
urls: ['turn:turn-testdrive.cloudapp.net:3478?transport=udp'],
username: "redmond",
credential: "redmond123"
}; };
} else {
default_ice = {
urls: ['stun:stun.l.google.com:19302']
}
}
if (options.iceServers) { if (options.iceServers) {
if (typeof(options.iceServers) === "boolean") { if (typeof(options.iceServers) === "boolean") {
......
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论