mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-12-26 01:18:59 -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);
|
self.api = window.client = StanzaIO.createClient(config);
|
||||||
xmppEventHandlers(self.api, self);
|
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 () {
|
self.api.once('session:started', function () {
|
||||||
app.state.hasConnected = true;
|
app.state.hasConnected = true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# 0.0.1 1387260413951
|
# 0.0.1 1387261368693
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
/app.js
|
/app.js
|
||||||
|
Loading…
Reference in New Issue
Block a user