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

MediaStreamTrack.getCapabilities() | add detail return value & fix incorrect usage of macros #31161

Merged
merged 3 commits into from
Dec 20, 2023

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Dec 19, 2023

Description

add details for MediaStreamTrack.getCapabilities(), that is list all members of MediaTrackCapabilities object

also remove the usage of {{domxref("MediaTrackCapabilities")}} object

add a link to indicate that InputDeviceInfo.getCapabilities() and MediaStreamTrack.getCapabilities() returns the same structure of data

Motivation

Additional details

see https://w3c.github.io/mediacapture-main/ and https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

Related issues and pull requests

@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 19, 2023
Copy link
Contributor

@skyclouds2001 skyclouds2001 marked this pull request as ready for review December 19, 2023 17:51
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner December 19, 2023 17:51
@skyclouds2001 skyclouds2001 requested review from Elchi3 and removed request for a team December 19, 2023 17:51
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

Thank you!

@teoli2003 teoli2003 merged commit f01d367 into mdn:main Dec 20, 2023
6 checks passed
@skyclouds2001 skyclouds2001 deleted the MediaTrackCapabilities branch December 20, 2023 07:52
Tenkir pushed a commit to Tenkir/content that referenced this pull request Dec 22, 2023
…incorrect usage of macros (mdn#31161)

* add

* update links

* fix
dipikabh pushed a commit to dipikabh/content that referenced this pull request Jan 17, 2024
…incorrect usage of macros (mdn#31161)

* add

* update links

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants