-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Difference between poll_for_frames
and wait_for_frames
modes?
#2422
Comments
Hi @mprat |
Does the "multi-cam" logic apply for multiple USB devices or for multiple camera streams from a single device as well? If I know I want to process multiple streams (say RGB & depth) then do you still recommend the |
|
Multiple streams come from a single pipeline / frame_queue object, so sounds like |
Hi @doronhi , my question is if I enable |
Issue Description
Reading through the API docs I was unclear about the difference / use cases between the mode of "poll_for_frames" and "wait_for_frames":
My understanding is that
wait_for_frames
() is blocking with a timeout, andpoll_for_frames
you have to call yourself? If I'm using ars2::frame_queue
for processing my only option is to poll, correct? Am I misunderstanding something?The text was updated successfully, but these errors were encountered: