Hi Ktu,

I told you when you shared your code in this list I'd give you some
feedback. I ended up using it a couple of months after that and totally
forgot about telling you how it went, so sorry about that.

But yes, it worked out great for Macs, which was the problem I was trying to
solve.

As I mentioned in my answer in SO, the code failed to get the correct camera
for some laptops. I tried it in 2 machines, one was a Toshiba, the other one
I can't remember for sure, but I think it was an HP. In both cases, it was
Windows, one was running XP, the other one was running Vista, IIRC. The
cameras were the ones that come built into the computer.

I noticed I could detect those cameras fine the "regular way", and since I
was in a rush, I just checked if the client was running Mac or not. If Mac,
I used your code; if not, just went with the "regular way" (read, calling
getCamera naively). I really didn't put much though to it; it just worked in
the cases I tested and since the time frame was rather limiting, I left it
that way. So that's why I mentioned some other possible cases were it could
fail. Not that I found them, but I didn't test thoroughly either.

Anyway, thanks for your class, it was very helpful (and I apologize
again for not giving you proper feedback at the moment, as I said I would!
But better late than never)

Cheers
Juan Pablo Califano

2010/6/16 Ktu <[email protected]>

> Hey List,
>
> Thanks to Ben and Juan I have made an update to my CameraDetection class.
>
> ChangeLog:
> force settings dialog to open every time unless camera access is already
> allowed
> implement timer for checking permissions, sometimes the settings dialog
> does
> not dispatch
> some logic updates
> cleaner code (only 3 magic values)
>
> Check it out: link <http://blog.cataclysmicrewind.com/webcamdetection>
>
> Juan Pablo Califano!
> I noticed today that it was your response to a question on
> stackoverflow.comthat led Ben to my class. Thank you very much I
> greatly appreciate that. I
> also noticed that you mentioned my class had some problem with certain
> Windows laptops. Can you elaborate about when you said in the post that
> you're "not sure if it covers some corner cases?" I would love to know so I
> can help make it cover those cases. Thanks
>
> Ktu;
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to