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: stateful decoder interface #70

Open
Gnurou opened this issue Mar 8, 2024 · 0 comments
Open

Feature: stateful decoder interface #70

Gnurou opened this issue Mar 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Gnurou
Copy link
Collaborator

Gnurou commented Mar 8, 2024

The only decoder interface that we support at the moment is the stateless one. For ease of use, clients should rather use a stateful API, close to the one proposed by Webcodecs.

This means:

  • Defining a StatefulDecoder trait,
  • Having an implementation of this trait that can wrap a stateless decoder and expose the stateful interface on top of it,
  • When we have basic V4L2 support, writing another implementation of this trait to support stateful V4L2 devices.
@Gnurou Gnurou added the enhancement New feature or request label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant