Adding frame rate option to videos. Make resolution and frame rate of screen sharing configurable.

This commit is contained in:
Håvar Aambø Fosstveit
2020-05-22 00:20:15 +02:00
parent b3ad0a44c2
commit d1ffe6cd43
26 changed files with 361 additions and 130 deletions
+18 -5
View File
@@ -27,20 +27,33 @@ var config =
},
/**
* If defaultResolution is set, it will override user settings when joining:
* Resolutions:
*
* low ~ 320x240
* medium ~ 640x480
* high ~ 1280x720
* veryhigh ~ 1920x1080
* ultra ~ 3840x2560
*
**/
defaultResolution : 'medium',
/**
* Frame rates:
*
* 1, 5, 10, 15, 20, 25, 30
*
**/
defaultResolution : 'medium',
defaultFrameRate : 15,
defaultScreenResolution : 'veryhigh',
defaultScreenSharingFrameRate : 5,
// Enable or disable simulcast for webcam video
simulcast : true,
simulcast : true,
// Enable or disable simulcast for screen sharing video
simulcastSharing : false,
simulcastSharing : false,
// Simulcast encoding layers and levels
simulcastEncodings :
simulcastEncodings :
[
{ scaleResolutionDownBy: 4 },
{ scaleResolutionDownBy: 2 },