Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

suggest to add default iceServers #314

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/sdk/conference/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ export class ConferencePeerConnectionChannel extends EventDispatcher {
if (Utils.isChrome()) {
pcConfiguration.sdpSemantics = 'unified-plan';
}
pcConfiguration.iceServers = pcConfiguration.iceServers || [{urls: "stun:stun.l.google.com:19302"}];
this._pc = new RTCPeerConnection(pcConfiguration);
this._pc.onicecandidate = (event) => {
this._onLocalIceCandidate.apply(this, [event]);
Expand Down