Переглянути джерело

Advertise lip-sync feature for Chrome client

dev1
paweldomas 9 роки тому
джерело
коміт
8ba1af02a3
1 змінених файлів з 6 додано та 0 видалено
  1. 6
    0
      modules/xmpp/strophe.jingle.js

+ 6
- 0
modules/xmpp/strophe.jingle.js Переглянути файл

@@ -32,6 +32,12 @@ module.exports = function(XMPP, eventEmitter) {
32 32
                 this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:audio');
33 33
                 this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:video');
34 34
 
35
+                // Lipsync
36
+                if (RTCBrowserType.isChrome()) {
37
+                    this.connection.disco.addFeature(
38
+                        'http://jitsi.org/meet/lipsync');
39
+                }
40
+
35 41
                 if (RTCBrowserType.isChrome() || RTCBrowserType.isOpera()
36 42
                     || RTCBrowserType.isTemasysPluginUsed()) {
37 43
                     this.connection.disco.addFeature('urn:ietf:rfc:4588');

Завантаження…
Відмінити
Зберегти