Browse Source

deps: update lib-jitsi-meet to latest.

Update config.js to include the new codec preference options under videoQuality settings.
master
Jaya Allamsetty 5 years ago
parent
commit
eb8b730227
3 changed files with 25 additions and 5 deletions
  1. 22
    2
      config.js
  2. 2
    2
      package-lock.json
  3. 1
    1
      package.json

+ 22
- 2
config.js View File

@@ -161,6 +161,7 @@ var config = {
161 161
     // Note that it's not recommended to do this because simulcast is not
162 162
     // supported when  using H.264. For 1-to-1 calls this setting is enabled by
163 163
     // default and can be toggled in the p2p section.
164
+    // This option has been deprecated, use preferredCodec under videoQuality section instead.
164 165
     // preferH264: true,
165 166
 
166 167
     // If set to true, disable H.264 video codec by stripping it out of the
@@ -234,6 +235,18 @@ var config = {
234 235
 
235 236
     // Specify the settings for video quality optimizations on the client.
236 237
     // videoQuality: {
238
+    //    // Provides a way to prevent a video codec from being negotiated on the JVB connection. The codec specified
239
+    //    // here will be removed from the list of codecs present in the SDP answer generated by the client. If the
240
+    //    // same codec is specified for both the disabled and preferred option, the disable settings will prevail.
241
+    //    // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case.
242
+    //    disabledCodec: 'H264',
243
+    //
244
+    //    // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here,
245
+    //    // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only
246
+    //    // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the
247
+    //    // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this
248
+    //    // to take effect.
249
+    //    preferredCodec: 'VP8',
237 250
     //
238 251
     //    // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for
239 252
     //    // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values
@@ -435,13 +448,20 @@ var config = {
435 448
         // iceTransportPolicy: 'all',
436 449
 
437 450
         // If set to true, it will prefer to use H.264 for P2P calls (if H.264
438
-        // is supported).
451
+        // is supported). This setting is deprecated, use preferredCodec instead.
439 452
         // preferH264: true
440 453
 
454
+        // Provides a way to set the video codec preference on the p2p connection. Acceptable
455
+        // codec values are 'VP8', 'VP9' and 'H264'.
456
+        // preferredCodec: 'H264',
457
+
441 458
         // If set to true, disable H.264 video codec by stripping it out of the
442
-        // SDP.
459
+        // SDP. This setting is deprecated, use disabledCodec instead.
443 460
         // disableH264: false,
444 461
 
462
+        // Provides a way to prevent a video codec from being negotiated on the p2p connection.
463
+        // disabledCodec: '',
464
+
445 465
         // How long we're going to wait, before going back to P2P after the 3rd
446 466
         // participant has left the conference (to filter out page reload).
447 467
         // backToP2PDelay: 5

+ 2
- 2
package-lock.json View File

@@ -10991,8 +10991,8 @@
10991 10991
       }
10992 10992
     },
10993 10993
     "lib-jitsi-meet": {
10994
-      "version": "github:jitsi/lib-jitsi-meet#15dcc57424cc937290e1963b8eb402c1fcf48ccb",
10995
-      "from": "github:jitsi/lib-jitsi-meet#15dcc57424cc937290e1963b8eb402c1fcf48ccb",
10994
+      "version": "github:jitsi/lib-jitsi-meet#7868a6c1855b76c18b22545e128366786faae321",
10995
+      "from": "github:jitsi/lib-jitsi-meet#7868a6c1855b76c18b22545e128366786faae321",
10996 10996
       "requires": {
10997 10997
         "@jitsi/js-utils": "1.0.0",
10998 10998
         "@jitsi/sdp-interop": "1.0.3",

+ 1
- 1
package.json View File

@@ -56,7 +56,7 @@
56 56
     "jquery-i18next": "1.2.1",
57 57
     "js-md5": "0.6.1",
58 58
     "jwt-decode": "2.2.0",
59
-    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#15dcc57424cc937290e1963b8eb402c1fcf48ccb",
59
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#7868a6c1855b76c18b22545e128366786faae321",
60 60
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
61 61
     "lodash": "4.17.19",
62 62
     "moment": "2.19.4",

Loading…
Cancel
Save