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

Add deviceId as settings and constraints for screen share video tracks. #310

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

youennf
Copy link
Collaborator

@youennf youennf commented Dec 19, 2024

Fixes #308


Preview | Diff


<td>
The identifier of the surface being captured.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Judging from the preview, to me I find it incredibly hard to read given the current line breaks. Also the following bullet is hard to read. Concatenate sentences?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems there is a rendering bug somewhere: the preview is not showing the black rectangle around the block like the main spec does (see https://w3c.github.io/mediacapture-screen-share/#dfn-displaysurface).

The current separation mirrors what has been done for displaySurface.
That said displaySurface is the outlier here, all other constraints concatenate sequences.
I am fine concatenating.

@jan-ivar jan-ivar merged commit 12c421d into w3c:gh-pages Dec 19, 2024
2 checks passed
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.

Should screen capture tracks expose deviceId?
3 participants