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

Allow video frame processing with push callbacks / delegates #29

Open
pzoltowski opened this issue Jul 24, 2024 · 1 comment
Open

Allow video frame processing with push callbacks / delegates #29

pzoltowski opened this issue Jul 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@pzoltowski
Copy link

🚀 Feature

Allow processing video frames with push callbacks or delegate instead of current poll / fetching

Motivation & Examples

I explored demo and examples and I noticed is mot cases at least on iOS you have to schedule a timer to keep processing video frames at some requested interval. For applications that require minimum latency would be good to be able to process those video frames with some callback or delegate class. Ideally we could also specify dispatch queue where this processing would take place.

The motivation is to:

  • minimise latency or
  • reduce cpu usage in case scheduling timer at very low interval such as 1ms.
  • simplify code so doesn't require each time doing some mutex locking mechanism.
@pzoltowski pzoltowski added the enhancement New feature or request label Jul 24, 2024
@leapally
Copy link
Contributor

Sounds like worth looking into. Thanks for the suggestion!

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

2 participants