Hey there,
as pretty much anyone who has ever messed around with this part of AS3 I’ve run into an issue with detecting the resolution of the webcams hooked up to the individual machines.
Now while the documentation on the Camera-class says that camera.height and camera.width are readable properties of that camera and also uses them as a way to find the camera’s resolution in the examples, it just doesn’t work that way on my end.
No matter what webcam and what PC I try to use for this, it always tells me that my webcam has the dimensions of 160x120 pixels.
This is very frustrating to me since it forces me to impose a dialogbox onto the - possibly not too tech-savvy - user where they can chose a resolution that is closest to their webcam’s native resolution.
I’ve looked around for a solution to this and came up totally dry.
As IQAndreas approached me regarding this because of a twitteruser asking for the same thing, I’m pretty sure that I’m not the only one having this issue. Actually googling I’ve found quite a few people with the same problem and no solutions.
Maybe one of the gurus in this forum can shine some light on the issue?
If you require any further information feel free to ask.
Thanks a lot
Leo