diff --git a/samples/js/apprtc/js/main.js b/samples/js/apprtc/js/main.js index 189d89d31..b9092f644 100644 --- a/samples/js/apprtc/js/main.js +++ b/samples/js/apprtc/js/main.js @@ -125,7 +125,7 @@ function createPeerConnection() { // For FF, use Mozilla STUN server. if (webrtcDetectedBrowser === "firefox") { - pc_config = {"iceServers":[{"url":"stun:stun.services.mozilla.com"}]}; + pcConfig = {"iceServers":[{"url":"stun:stun.services.mozilla.com"}]}; } try { // Create an RTCPeerConnection via the polyfill (adapter.js).