Skip to content

Feature - add encoding hook for media capabilities #54

@wingleung

Description

@wingleung

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions