mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-12-25 08:58:53 -05:00
Only start local media if we can
This commit is contained in:
parent
1af9db8c4b
commit
ff4dc6cf10
@ -63,7 +63,9 @@ module.exports = {
|
||||
self.api = window.client = StanzaIO.createClient(config);
|
||||
xmppEventHandlers(self.api, self);
|
||||
|
||||
self.api.jingle.startLocalMedia();
|
||||
if (self.api.jingle.capabilities.length > 1) {
|
||||
self.api.jingle.startLocalMedia();
|
||||
}
|
||||
|
||||
self.api.once('session:started', function () {
|
||||
app.state.hasConnected = true;
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# 0.0.1 1387260413951
|
||||
# 0.0.1 1387261368693
|
||||
|
||||
CACHE:
|
||||
/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user