A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Detect Webcam Access

  1. #1
    Senior Member khaos2004's Avatar
    Join Date
    Mar 2004
    Location
    Brooklyn, NY US
    Posts
    127

    Detect Webcam Access

    Is there a method to detect if the user granted access to their webcam after being prompted, and connection to ether the camera/microphone was successful.

    Alternatively is there a way to detect if the user has a available webcam before even trying to attempt to connect so they won't be the message box if they can't use the feature?

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    http://livedocs.adobe.com/flash/9.0/...ia/Camera.html

    names : Array
    [static] [read-only] An array of strings indicating the names of all available cameras without displaying the Flash Player Privacy dialog box.
    Events
    status:StatusEvent — Dispatched when a camera reports its status. If the value of the code property is "Camera.muted", the user has refused to allow the SWF file access to the user's camera. If the value of the code property is "Camera.Unmuted", the user has allowed the SWF file access to the user's camera.

  3. #3
    Senior Member khaos2004's Avatar
    Join Date
    Mar 2004
    Location
    Brooklyn, NY US
    Posts
    127
    Perfect!!! Thanks, I must have missed that second part in the documentation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center