-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ScreenObtainer): add more control over screen obtainer #2371
feat(ScreenObtainer): add more control over screen obtainer #2371
Conversation
Hi, thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes generally LGTM, WDYT @jallamsetty1 ?
modules/RTC/ScreenObtainer.js
Outdated
@@ -212,13 +237,19 @@ const ScreenObtainer = { | |||
} | |||
} | |||
|
|||
// Allow a user to be shown a preference for what screen is to be captured. | |||
if (browser.isSafari() && browser.isEngineVersionGreaterThan(11) && desktopDisplaySurface) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't support Safari < 13 so you can skip the version check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Updated to remove that
Thanks for the PR @DanielMcAssey! The PR LGTM. It would be nice to bunch all these options together under |
Hey @jallamsetty1, thanks for the feedback. I have just updated it to put all the new settings under screenShareSettings |
Jenkins test this please. |
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
* feat(ScreenObtainer): add more control over screen obtainer * fix(ScreenObtainer): fix constraints to select a preferential display surface * fix(ScreenObtainer): remove Safari version check for displaySurface * fix(ScreenObtainer): move all settings under screenShareSettings
We have implemented these changes on our application, to allow for additional control of the screen obtainer on the browser.
It may not apply to Jitsi, however I thought I would propose these changes for more control over the library.