Releases: ddayguerrero/use-media-capabilities
Releases · ddayguerrero/use-media-capabilities
v1.0.0-beta
Beta Release 🔊
use-media-capabilities
is a simple React hook wrapper around the experimental Media Capabilities API. This initial release is meant for users to test and supply feedback. Expect a timeline of what features will be added and identify bugs which have not been fixed yet.
In a nutshell, here's what the API allows you to do:
Concept and usage according to MDN:
The Media Capabilities API enables determining which codecs are supported and how performant a media file will be both in terms of smoothness and power efficiency.
This release has limited type support for encoding and decoding:
- Decoding capabilities can be checked with a
file
type used to represent a configuration that is meant to be used for a plain file playback. - Encoding capabilities can be checked with a
record
type used to represent a configuration for recording of media.