cataclysmicrewind/CameraDetection

CameraChecker - replace minTimesGood with blackoutDelay

Closed this issue · 2 comments

one thing that really bugs me about webcams is that when you first put it on the stage and access it, the image is black and then fades in. i would much rather prefer not seeing that step.

originally i had repurposed the minTimesGood property to accomplish that task but the name is misleading and has kept me in the dark for a bit. ha

  1. research and verify that if a camera returns any activity or any fps that it is working (damn sure that's right already though)
  2. replace value with blackoutDelay. this will add a wait period before dispatching a successful camera. it may be that it will only truly be useful if you use a customVideo, since re-attaching the camera resets it?

so far, i have not seen any cases where when a camera produces one frame of activity and reports somethign that the camera then does not work.

therefore my conclusion (based mostly of off experience during the years working on this and some current minimal testing), is that only one frame is needed to know it is a working camera.

the implementation of this issue and issue5 are well under way

implemented