Selaa lähdekoodia

ref: disable lipsync by default

The LipSyncHack is currently broken in Jicofo and
will lead to unstable behavior.
dev1
paweldomas 5 vuotta sitten
vanhempi
commit
2dce3bff78
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1
    1
      doc/API.md
  2. 1
    1
      modules/xmpp/moderator.js
  3. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
doc/API.md Näytä tiedosto

@@ -226,7 +226,7 @@ This objects represents the server connection. You can create new ```JitsiConnec
226 226
             - muc
227 227
             - anonymousdomain
228 228
         4. useStunTurn -
229
-        5. enableLipSync - (optional) boolean property which enables the lipsync feature. Currently works only in Chrome and is enabled by default.
229
+        5. enableLipSync - (optional) boolean property which enables the lipsync feature. Currently works only in Chrome and is disabled by default.
230 230
 
231 231
 2. connect(options) - establish server connection
232 232
     - options - JS Object with ```id``` and ```password``` properties.

+ 1
- 1
modules/xmpp/moderator.js Näytä tiedosto

@@ -214,7 +214,7 @@ Moderator.prototype.createConferenceIq = function() {
214 214
     elem.c(
215 215
         'property', {
216 216
             name: 'enableLipSync',
217
-            value: this.options.connection.enableLipSync !== false
217
+            value: this.options.connection.enableLipSync === true
218 218
         }).up();
219 219
     if (config.audioPacketDelay !== undefined) {
220 220
         elem.c(

+ 1
- 1
modules/xmpp/xmpp.js Näytä tiedosto

@@ -163,7 +163,7 @@ export default class XMPP extends Listenable {
163 163
         // this.caps.addFeature('urn:ietf:rfc:5576'); // a=ssrc
164 164
 
165 165
         // Enable Lipsync ?
166
-        if (browser.isChrome() && this.options.enableLipSync !== false) {
166
+        if (browser.isChrome() && this.options.enableLipSync === true) {
167 167
             logger.info('Lip-sync enabled !');
168 168
             this.caps.addFeature('http://jitsi.org/meet/lipsync');
169 169
         }

Loading…
Peruuta
Tallenna