Skip to main content
Inspiring
October 31, 2015
Question

AIR on Surface 4 using Camera

  • October 31, 2015
  • 4 replies
  • 8273 views

Have tried four versions of AIR for Desktop - 3.2, 15, 16, and 19

Publishing on a MS Surface 4 pro (i5 version)

If I get the camera AIR crashes. This timeline code is enough to repro the issue:

import flash.media.Camera;

var c:Camera = Camera.getCamera();

Have been on this for a couple of days, and at first thought it was a Surface problem but I tried a simple test in Unity this morning and I can display the webcam on the S4 just fine there. Still could be a Surface/driver problem, just makes me less sure.

Event Viewer on the Surface reports the offending module as Windows\System32\Intelsocyuvcopy.dll  - which in fact does not even exist in that folder. A 64 bit version does however. I got hold of the 32 bit one and placed it in the folder just to see and it made no difference.

This topic has been closed for replies.

4 replies

Participant
June 1, 2016

Apparently not fixed (tested today) BUT I have a counterspell if you connect an USB camera.

Go to Parameters > Devices Manager > System devices > desactive Microsoft Camera Front, Microsoft Camera Back and Microsoft IR Camera Front.

Plug your usb camera and it works.

Tested with surface pro 4 i5 4Gb version and Logitech HD c920, windows 10 up to date, AIR 21.

Hope it help;

Cheers

bluelemonade
Inspiring
February 15, 2016

hi,

I am having this error too. Please fix this!!!!

chris.campbell
Community Manager
Community Manager
February 24, 2016

Hi all,

This issue has been fixed by Microsoft and made available for testing in the Windows Insider Preview program (https://insider.windows.com/).  We expect it to be made publicly available in a future Windows release.  Thanks for all the information you've provided and your patience while this was worked on.

Chris

March 7, 2016

Is there a specific KB or issue number from Microsoft that can be tracked for this?

eyardeni
Participant
December 30, 2015

Any update?

flashdictionary
Inspiring
November 2, 2015

I am curious about this issue, and hope Adobe will get it taken care of. Whenever you get a camera object, you first request a proxy from the ActionScript virtual machine:

cam = flash.media.Camera.getCamera();

Then you set the mode:

cam.setMode(1280,720,30,false);

I am curious to know if the AIR runtime is crashing depending on the mode set. Perhaps the driver only supports certain resolution combinations. Are you saying that the app crashes before you can even call setMode?

dmennenohAuthor
Inspiring
November 2, 2015

Correct, I don't need to call setMode at all. Simply doing Camera.getCamera will do the trick.

I'd love to see this corrected and quickly - I have an app that's supposed to be running on the Surface 4 and isn't because of this issue. It's fine on the 3 with either Windows 8 or 10.

Currently exploring rebuilding my app in Unity - which can get the camera on the Surface 4 without issue.

chris.campbell
Community Manager
Community Manager
November 2, 2015

Hi guys,

I'd like the team to take a look at this, can we get a bug report also added to https://bugbase.adobe.com?  Please add a small sample project to the bug report and let me know the bug number once added.  I'll point the team to the thread in the meantime.

Thanks,

Chris