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

Make hardware acceleration configurable. #118

Merged
merged 10 commits into from
Feb 23, 2021

Conversation

chcunningham
Copy link
Collaborator

@chcunningham chcunningham commented Dec 21, 2020

Fixes #75.


Preview | Diff

@chcunningham chcunningham linked an issue Dec 21, 2020 that may be closed by this pull request
Earlier drafts wrongly assumed that support could be determined
synchronously.This remedies that by introducing a new async API
to check support prior to calling configure().

Fixes #98. See additional discussion there.
Similar to MediaCapabilities and EME specs, the isConfigSupported()
promise will now include the configuration who's support is described.
This helps feature detect when parts of the input configuration
dictionary are ignored (when the UA implementation lags behind the
specification).
Add AvcEncoderConfig to specify optional annex-b format.
Copy link
Collaborator

@padenot padenot left a comment

Choose a reason for hiding this comment

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

In general, looks good. Maybe adding an informative note to explain the usefulness of this (it's not obvious), and I'm not sure about the name acceleration, it doesn't mention "hardware" acceleration. Maybe simply hardwareAcceleration ?

index.src.html Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@chcunningham chcunningham left a comment

Choose a reason for hiding this comment

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

Maybe adding an informative note to explain the usefulness of this (it's not obvious)

Done

and I'm not sure about the name acceleration, it doesn't mention "hardware" acceleration. Maybe simply hardwareAcceleration ?

Done

index.src.html Outdated Show resolved Hide resolved
@chcunningham
Copy link
Collaborator Author

@padenot I'll go ahead with this merge and address any follow up feedback when you return.

@chcunningham chcunningham merged commit ac95fd0 into avc_encoder_config Feb 23, 2021
@chcunningham chcunningham deleted the configure_acceleration branch March 24, 2021 23:07
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.

Require hardware acceleration
2 participants