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

Set [Restrictable] on the video track #31

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

eladalon1983
Copy link
Member

@eladalon1983 eladalon1983 commented Sep 26, 2024

This marks video tracks obtained using getViewportMedia() as eligible tracks for Element Capture.


Preview | Diff

@youennf
Copy link

youennf commented Sep 26, 2024

Should there be a PR on element capture as well?

@eladalon1983
Copy link
Member Author

Should there be a PR on element capture as well?

There was: screen-share/element-capture#49

Copy link

@youennf youennf left a comment

Choose a reason for hiding this comment

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

Looks ok to me.
Overall, I feel like we should use https://w3c.github.io/mediacapture-main/#dfn-create-a-mediastreamtrack here, and pass the restrictable value to it.

@eladalon1983
Copy link
Member Author

Looks ok to me.

Great!

Overall, I feel like we should use https://w3c.github.io/mediacapture-main/#dfn-create-a-mediastreamtrack here, and pass the restrictable value to it.

If you feel strongly, I am not opposed. But please consider that the current change is less intrusive, and could be rolled back more easily if need be, with less changes to other specs.

@eladalon1983 eladalon1983 merged commit bed7ced into w3c:main Oct 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants