when you call:
var availableCameras:Array = Camera.names;
what is returned?
Not all cameras are supported by Flash runtime out-of-the-box. When you use "Settings" panel (right-click on any flash content) is your camera listed in "Camera" section?
(btw: also: if you ever denied access on given domain to camera and checked "remember" you won't be asked when Camera.getCamera is called and method would return null)
This is what I have in availableCameras:
: Creative WebCam Vista Plus #2
: Google Camera Adapter 0
: Google Camera Adapter 1
and Creative WebCam Vista Plus is the camera I use.
Haha, I've just checked the thing you said about "settings" and it works I had there the 3 cameras listed above and when I selected right camera video stream appeard.
Do you hav any idea why I had wrong camera selected* and what are the two "google" cameras?
*I didn't do anything with flash and camera before so it's hardly possible that I set in the past.
Do you have any idea why I had wrong camera selected* and what are the two "google" cameras?
this could be added with Google Video plugin (it comes with GTalk?), see:
This is it. Thank you, I appreciate your help.