Bläddra i källkod

fix(config) Add 'screenshareCodec' and 'mobileScreenshareCodec'.

factor2
Jaya Allamsetty 11 månader sedan
förälder
incheckning
a11a281bf7
1 ändrade filer med 10 tillägg och 2 borttagningar
  1. 10
    2
      config.js

+ 10
- 2
config.js Visa fil

88
         // issues related to insertable streams.
88
         // issues related to insertable streams.
89
         // disableE2EE: false,
89
         // disableE2EE: false,
90
 
90
 
91
-        // Enables supports for AV1 codec.
92
-        // enableAv1Support: false,
91
+        // Enables the use of the codec selection API supported by the browsers .
92
+        // enableCodecSelectionAPI: false,
93
 
93
 
94
         // P2P test mode disables automatic switching to P2P when there are 2
94
         // P2P test mode disables automatic switching to P2P when there are 2
95
         // participants in the conference.
95
         // participants in the conference.
458
     //    // Provides a way to set the codec preference on desktop based endpoints.
458
     //    // Provides a way to set the codec preference on desktop based endpoints.
459
     //    codecPreferenceOrder: [ 'VP9', 'VP8', 'H264' ],
459
     //    codecPreferenceOrder: [ 'VP9', 'VP8', 'H264' ],
460
     //
460
     //
461
+    //    // Provides a way to set the codec for screenshare.
462
+    //    screenshareCodec: 'AV1',
463
+    //    mobileScreenshareCodec: 'VP8',
464
+    //
461
     //    // Codec specific settings for scalability modes and max bitrates.
465
     //    // Codec specific settings for scalability modes and max bitrates.
462
     //    av1: {
466
     //    av1: {
463
     //      maxBitratesVideo: {
467
     //      maxBitratesVideo: {
1047
         // Provides a way to set the codec preference on desktop based endpoints.
1051
         // Provides a way to set the codec preference on desktop based endpoints.
1048
         // codecPreferenceOrder: [ 'VP9', 'VP8', 'H264 ],
1052
         // codecPreferenceOrder: [ 'VP9', 'VP8', 'H264 ],
1049
 
1053
 
1054
+        // Provides a way to set the codec for screenshare.
1055
+        // screenshareCodec: 'AV1',
1056
+        // mobileScreenshareCodec: 'VP8',
1057
+
1050
         // How long we're going to wait, before going back to P2P after the 3rd
1058
         // How long we're going to wait, before going back to P2P after the 3rd
1051
         // participant has left the conference (to filter out page reload).
1059
         // participant has left the conference (to filter out page reload).
1052
         // backToP2PDelay: 5,
1060
         // backToP2PDelay: 5,

Laddar…
Avbryt
Spara