Skip to content
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

Use the displaySurface constraint to signal application preference #186

Merged
merged 6 commits into from
Mar 17, 2022

Conversation

eladalon1983
Copy link
Member

@eladalon1983 eladalon1983 commented Jun 11, 2021

Allow the application to use the displaySurface constraint to signal its preference of display-surface. The user agent MAY use that signal in order to reorder the options offered to the user. The user agent MUST NOT use that constraint to limit the selection.

Fixes #184.


Preview | Diff


Preview | Diff

Allow the application to use the displaySurface constraint to signal
its preference of display-surface. The user agent MAY use that
signal in order to reorder the options offered to the user.
The user agent MUST NOT use that constraint to limit the selection.
@eladalon1983
Copy link
Member Author

Following the interim from 2022-03-15, I've added:

It is advised that allowing applications to nudge users towards sharing a monitor
poses risks to user privacy. User agent may wish to ignore such hints.

Please review.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
eladalon1983 and others added 2 commits March 17, 2022 17:21
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
index.html Outdated Show resolved Hide resolved
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revisit: Let getDisplayMedia() influence the default type choice in the picker
2 participants