Merge pull request #16554 from zfox23/DEV-2859

Attempt to fix DEV-2859 with tighter constraints on screenshare resolution and framerate
This commit is contained in:
Zach Fox 2019-12-05 17:17:23 -08:00 committed by GitHub
commit 02f16b15a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,10 +223,9 @@ function onAccessApproved(desktop_id) {
mandatory: {
chromeMediaSource: 'desktop',
chromeMediaSourceId: desktop_id,
minWidth: 1280,
maxWidth: 1280,
minHeight: 720,
maxHeight: 720
maxHeight: 720,
maxFrameRate: 7
}
}
}, gotStream, handleError);
@ -261,7 +260,7 @@ function startTokboxPublisher(stream) {
audioFallbackEnabled: false,
audioSource: null,
fitMode: 'contain',
frameRate: 30,
frameRate: 7,
height: 720,
insertMode: 'append',
publishAudio: false,