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

Feature - add encoding hook for media capabilities #54

Open
wingleung opened this issue Mar 19, 2020 · 0 comments
Open

Feature - add encoding hook for media capabilities #54

wingleung opened this issue Mar 19, 2020 · 0 comments

Comments

@wingleung
Copy link
Contributor

wingleung commented Mar 19, 2020

Currently, useMediaCapabilitiesDecodingInfo will check if the current device can play a certain media file.

Would be nice if we could add support for encoding information, this will allow developers to check if the device can record to a specific media type.

If feasible, we could either...

  • add another hook within the media-capabilities folder called useMediaCapabilitiesEncodingInfo
  • refactor the current hook to support both API.

For now, the browser api is still in development and not available in chrome but we can already think about the use cases and wether or not we want to implement this.

Specs: https://w3c.github.io/media-capabilities/#dom-mediacapabilities-encodinginfo

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

No branches or pull requests

1 participant