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 DisplayMediaStreamConstraints and getDisplayMedia #2423

Merged

Conversation

MartinKavik
Copy link
Contributor

@MartinKavik MartinKavik commented Jan 18, 2021

Related issue: #2136

Added WebIDL items DisplayMediaStreamConstraints and getDisplayMedia.

Generated:

  • DisplayMediaStreamConstraints
  • get_display_media
  • get_display_media_with_constraints

Formatted with cargo fmt --all.

Tests: Only an "integration test" - a new Seed example that demonstrates how to use get_display_media_with_constraints and DisplayMediaStreamConstraints. I wasn't able to run web_sys tests on my local machine because of The filename or extension is too long. (os error 206) - I assume the tests are Windows incompatible and potential errors will be detected in the CI pipeline.

@alexcrichton alexcrichton merged commit 544bfa3 into rustwasm:master Jan 19, 2021
@alexcrichton
Copy link
Contributor

Thanks!

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.

2 participants