Browse Source

Advertise lip-sync feature for Chrome client

master
paweldomas 9 years ago
parent
commit
8ba1af02a3
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      modules/xmpp/strophe.jingle.js

+ 6
- 0
modules/xmpp/strophe.jingle.js View File

32
                 this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:audio');
32
                 this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:audio');
33
                 this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:video');
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
                 if (RTCBrowserType.isChrome() || RTCBrowserType.isOpera()
41
                 if (RTCBrowserType.isChrome() || RTCBrowserType.isOpera()
36
                     || RTCBrowserType.isTemasysPluginUsed()) {
42
                     || RTCBrowserType.isTemasysPluginUsed()) {
37
                     this.connection.disco.addFeature('urn:ietf:rfc:4588');
43
                     this.connection.disco.addFeature('urn:ietf:rfc:4588');

Loading…
Cancel
Save