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

New class structure #8

Open
egeakman opened this issue Feb 24, 2024 · 0 comments · May be fixed by #6
Open

New class structure #8

egeakman opened this issue Feb 24, 2024 · 0 comments · May be fixed by #6
Assignees
Labels
enhancement New feature or request

Comments

@egeakman
Copy link
Owner

egeakman commented Feb 24, 2024

  • StreamBase -> only the basic stuff. every other stream class inherits this. common things will be handled here (like the lock, the bandwidth calculation, has_demand and its background task, etc.)

  • Stream -> keep the public API same similar for backwards compatibility

  • CustomStream -> exactly the same as StreamBase, but with a friendly name.

  • ManagedStream -> will automatically close and open the sources. comes with three two modes: regular, full-on-demand, fast-on-demand. params: name, fps, size, quality, source, mode

@egeakman egeakman self-assigned this Feb 24, 2024
@egeakman egeakman added the enhancement New feature or request label Feb 24, 2024
@egeakman egeakman linked a pull request Feb 25, 2024 that will close this issue
@egeakman egeakman linked a pull request May 3, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant