Browse Source

xmpp: fix browser check

The same logic should apply to all Chromium based browsers, not just Chrome.
dev1
Saúl Ibarra Corretgé 5 years ago
parent
commit
953a107121
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js View File

164
         // this.caps.addFeature('urn:ietf:rfc:5576'); // a=ssrc
164
         // this.caps.addFeature('urn:ietf:rfc:5576'); // a=ssrc
165
 
165
 
166
         // Enable Lipsync ?
166
         // Enable Lipsync ?
167
-        if (browser.isChrome() && this.options.enableLipSync === true) {
167
+        if (browser.isChromiumBased() && this.options.enableLipSync === true) {
168
             logger.info('Lip-sync enabled !');
168
             logger.info('Lip-sync enabled !');
169
             this.caps.addFeature('http://jitsi.org/meet/lipsync');
169
             this.caps.addFeature('http://jitsi.org/meet/lipsync');
170
         }
170
         }

Loading…
Cancel
Save