diff --git a/lib/components/App.js b/lib/components/App.js
index 740c9e4..67b29e7 100644
--- a/lib/components/App.js
+++ b/lib/components/App.js
@@ -40,7 +40,7 @@ export default class App extends React.Component {
FilePizza - Your files, delivered.
-
+
diff --git a/lib/ice.js b/lib/ice.js
index f904324..1ccec37 100644
--- a/lib/ice.js
+++ b/lib/ice.js
@@ -7,6 +7,13 @@ if (process.env.TWILIO_SID && process.env.TWILIO_TOKEN) {
var client = null
}
+var DEFAULT_ICE_SERVERS = [
+ {
+ url: 'stun:23.21.150.121', // deprecated, replaced by `urls`
+ urls: 'stun:23.21.150.121'
+ }
+]
+
var CACHE_LIFETIME = 5 * 60 * 1000 // 5 minutes
var cachedPromise = null
@@ -15,7 +22,7 @@ function clearCache() {
}
exports.getICEServers = function () {
- if (client == null) return Promise.resolve({})
+ if (client == null) return Promise.resolve(DEFAULT_ICE_SERVERS)
if (cachedPromise) return cachedPromise
cachedPromise = new Promise(function (resolve, reject) {