Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the camera will produce frames at its own constant rate. if you don't consume them promptly, they queue up. that is the delay you see.

use this. it will always give you the latest frame, and it will drop frames when you aren't consuming quickly enough.

https://gist.github.com/crackwitz/15c3910f243a42dcd9d4a40fcdb24e40

the camera will produce frames at its own constant rate. if you don't consume them promptly, they queue up. that is the delay you see.

use this. it will always give you the latest frame, frame (but never twice unless you ask for that), and it will drop frames when you aren't consuming quickly enough.

https://gist.github.com/crackwitz/15c3910f243a42dcd9d4a40fcdb24e40