Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Camera.names.length returns 0, doesn't detect iSight webcam

New Here ,
Nov 16, 2010 Nov 16, 2010

My Air app can no longer get the names of camera devices installed on my Mac.

This was working for months and until a day or so ago I am not sure what happened.

I'm not sure if AIR 2.5.1 update or viewing a website (http://www.2much.net/miricam/freemiricam.php)

with a flash page that showed my webcam messed up some internal flash/air setting.

Running my air app, Camera.names.length now returns 0, when previously it would return 3. Camera.getCamera() doesn't work either (returns null), so I can't view my webcam (iSight).

When I run my air app in the Flex Builder debugger, Camera.names.length returns 3 and I can view my webcam. I am at a loss at how to fix this.

I have tried uninstalling FP, AIR, Manycam (a webcam splitter software), fixing my Mac's permissions using Disk Utility, rebooted, reinstalled FP, AIR, Manycam. Trashed the /User/Library/Application Support/Adobe/AIR folder. Nothing fixes it. Tried it without Manycam running but the problem is still there.

Does anyone know what is going on and how can I fix this?

Air 2.5.1.17730 17730

Mac OS X 10.6.5

FP 10,1,102,64

TOPICS
Performance issues
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 09, 2010 Dec 09, 2010

2.5.1.1 (Mac only) was released last week and should address this bug.  Please let me know if you continue to have problems.

Thanks,

Chris

Translate
New Here ,
Nov 17, 2010 Nov 17, 2010

Fixed it on my own. Adobe there is a bug with AIR 2.5.1!

http://scottwyden.com/did-your-webcam-stop-working-this-could-be-your-fix/

I followed the steps on that site and it fixed it. No I don't have Spark Booth but the steps still fixed the problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 17, 2010 Nov 17, 2010

Thanks for the info and workaround steps.  I'll research this and let you know what I find asap.

Chris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 17, 2010 Nov 17, 2010

I've been able to reproduce this and just entered it as a new internal bug (#2759261).  I was unable to repro it on Windows, but it did occur on Mac with AIR 2.5.1.  Reverting to 2.5.0 returns functionality.

If you're interested, our Archived AIR Runtime and SDK page contains a link to our SettingsManager application that can disable the automatic update prompts.  I apologize for the inconvenience and thanks again for bringing this issue up.

Thanks,

Chris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 09, 2010 Dec 09, 2010

2.5.1.1 (Mac only) was released last week and should address this bug.  Please let me know if you continue to have problems.

Thanks,

Chris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2011 Feb 04, 2011

I am Running:

     - MAC OS X 10.6.6 (Snow Leopoard).

     - Flash Player 10.1.102.64 (debugger)

     - Adobe AIR 2.5.1.1 (MAC)

     - Adobe Flex 4.1.0

I have compiled a simple test 1 Flex app & 1 AIR app with the following code:

     trace(Camera.names.length);

The Flex app returns 3 camers (my iSight, and 2 usb connected Logitech Cameras).

The AIR app returns 1 camera(USB Device).I am building an app that requires the use

of the 2 USB connected Logitech Cameras. It works in Flex but not in AIR.

I have tried to roll back to AIR 2.5 and to the newest AIR 2.5.1.1 and no luck.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2011 Feb 04, 2011

replicated on 2 mac machines with the same specs

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 04, 2011 Feb 04, 2011
LATEST

Hello,

I'm sorry you've run into this bug.  We are aware of the problem and have logged internally as bug #2791989.  I don't have a time frame for a fix at this point but please feel free to ping me in the future for an updated status (either on this thread or at ccampbel@adobe.com.)  I'll also make comment of this thread in our bug report.

Thanks,

Chris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines