@@ -427,25 +427,9 @@ var config = {
427
427
428
428
// Specify the settings for video quality optimizations on the client.
429
429
// videoQuality: {
430
- // // Provides a way to prevent a video codec from being negotiated on the JVB connection. The codec specified
431
- // // here will be removed from the list of codecs present in the SDP answer generated by the client. If the
432
- // // same codec is specified for both the disabled and preferred option, the disable settings will prevail.
433
- // // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case.
434
- // disabledCodec: 'H264',
435
- //
436
- // // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here,
437
- // // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only
438
- // // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the
439
- // // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this
440
- // // to take effect.
441
- // preferredCodec: 'VP8',
442
430
//
443
- // // Provides a way to enforce the preferred codec for the conference even when the conference has endpoints
444
- // // that do not support the preferred codec. For example, older versions of Safari do not support VP9 yet.
445
- // // This will result in Safari not being able to decode video from endpoints sending VP9 video.
446
- // // When set to false, the conference falls back to VP8 whenever there is an endpoint that doesn't support the
447
- // // preferred codec and goes back to the preferred codec when that endpoint leaves.
448
- // enforcePreferredCodec: false,
431
+ // // Provides a way to set the codec preference on desktop based endpoints.
432
+ // codecPreferenceOrder: [ 'VP9', 'VP8', 'H264' ],
449
433
//
450
434
// // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for
451
435
// // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values
@@ -485,6 +469,24 @@ var config = {
485
469
// 720: 'high',
486
470
// },
487
471
//
472
+ // // Provides a way to set the codec preference on mobile devices, both on RN and mobile browser based endpoint
473
+ // mobileCodecPreferenceOrder: [ 'VP8', 'VP9', 'H264' ],
474
+ //
475
+ // // DEPRECATED! Use `codecPreferenceOrder/mobileCodecPreferenceOrder` instead.
476
+ // // Provides a way to prevent a video codec from being negotiated on the JVB connection. The codec specified
477
+ // // here will be removed from the list of codecs present in the SDP answer generated by the client. If the
478
+ // // same codec is specified for both the disabled and preferred option, the disable settings will prevail.
479
+ // // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case.
480
+ // disabledCodec: 'H264',
481
+ //
482
+ // // DEPRECATED! Use `codecPreferenceOrder/mobileCodecPreferenceOrder` instead.
483
+ // // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here,
484
+ // // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only
485
+ // // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the
486
+ // // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this
487
+ // // to take effect.
488
+ // preferredCodec: 'VP8',
489
+ //
488
490
// },
489
491
490
492
// Notification timeouts
@@ -935,12 +937,12 @@ var config = {
935
937
// If not set, the effective value is 'all'.
936
938
// iceTransportPolicy: 'all',
937
939
938
- // Provides a way to set the video codec preference on the p2p connection. Acceptable
939
- // codec values are 'VP8', 'VP9' and 'H264' .
940
- // preferredCodec: 'H264',
941
-
942
- // Provides a way to prevent a video codec from being negotiated on the p2p connection .
943
- // disabledCodec: '' ,
940
+ // Provides a way to set the codec preference on mobile devices, both on RN and mobile browser based
941
+ // endpoints .
942
+ // mobileCodecPreferenceOrder: [ 'H264', 'VP8', 'VP9' ] ,
943
+ //
944
+ // Provides a way to set the codec preference on desktop based endpoints .
945
+ // codecPreferenceOrder: [ 'VP9', 'VP8', 'H264 ] ,
944
946
945
947
// How long we're going to wait, before going back to P2P after the 3rd
946
948
// participant has left the conference (to filter out page reload).
@@ -952,6 +954,15 @@ var config = {
952
954
// { urls: 'stun:jitsi-meet.example.com:3478' },
953
955
{ urls : 'stun:meet-jit-si-turnrelay.jitsi.net:443' } ,
954
956
] ,
957
+
958
+ // DEPRECATED! Use `codecPreferenceOrder/mobileCodecPreferenceOrder` instead.
959
+ // Provides a way to set the video codec preference on the p2p connection. Acceptable
960
+ // codec values are 'VP8', 'VP9' and 'H264'.
961
+ // preferredCodec: 'H264',
962
+
963
+ // DEPRECATED! Use `codecPreferenceOrder/mobileCodecPreferenceOrder` instead.
964
+ // Provides a way to prevent a video codec from being negotiated on the p2p connection.
965
+ // disabledCodec: '',
955
966
} ,
956
967
957
968
analytics : {
0 commit comments