Skip to content

Commit

Permalink
Merge pull request #823 from fippo/edge-regression
Browse files Browse the repository at this point in the history
fix edge regression
  • Loading branch information
alvestrand authored May 24, 2018
2 parents 42554db + 030f484 commit 1c2667c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/edge/edge_shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
var RTCPeerConnectionShim = shimRTCPeerConnection(window,
browserDetails.version);
window.RTCPeerConnection = function(config) {
if (config.iceServers) {
if (config && config.iceServers) {
config.iceServers = filterIceServers(config.iceServers);
}
return new RTCPeerConnectionShim(config);
Expand Down

0 comments on commit 1c2667c

Please sign in to comment.