Hi Folks,
first of all sorry for my bad english
I made a project with Flash CS3 and AS3 about taking live snapshot from webcam, encoding JPG snapshot and send to server. Everything work fine and the result is good.
Now my problem is:
In some user cases, after they click ALLOW in the security panel, the CAM area is full white until they will not select from the same panel a one valid webcam driver installed.
This because they can have multiple drivers or sometime in the MAC safari need to specified as well.
In real i know how to show that panel to let them to select, but this means for the rest of 90% users they must select as well, when in real is not necessary because after hit ALLOW (unmuted=true) in most of the case is working correctly.
So if the cam is no displayed but only a white screen, a user can take the snapshot as well and send to the server a white photos.
How i can be sure, before take a snapshot, that the cam is really displayed and working ?
I tried a lot, consult many webpages and tutorials, but still not clear about the concept.
I must check the ActivityEvent.ACTIVITY ?
I must check the motionDetect ? I must check what ?
About my source code is pretty similar (for CAM instance) to:
Can i have a tip with a sample code ?
Really thanks in advance, it will save me a lot of time.