Skip to main content
Participant
August 15, 2012
Question

StageVideo attachCamera failing in AIR 3.4 beta on Android

  • August 15, 2012
  • 7 replies
  • 3547 views

Hi,

I have simple implementation of StageVideo that I am trying to attach a camera to. I can access the camera and successfully attach it to a Video object the traditional way but StageVideo.attachCamera is failing for me. I am testing on Android with AIR 3.4 beta. Has anyone seen anything like this?

Thanks!

edit: Here is the error message...

ReferenceError: Error #1069: Property attachCamera not found on flash.media.StageVideo and there is no default value.

This topic has been closed for replies.

7 replies

flashdictionary
Inspiring
September 6, 2012

This does not appear to be an issue using the released version AIR 3.4

Try the official 3.4 sdk. If it still gives you that error, than that means you have the wrong version of AIR installed on your Android.

Participant
September 6, 2012

With the official 3.4 sdk and FB47 beta I am no longer getting that error. However, I am getting an onRenderStateChanged event with a status of "unavailable" immediately after attaching the camera to the stageVideo. I am able to successfully attach a netstream to the same stageVideo and play it back with acceleration.

Known Participant
September 17, 2012

Did you found any solution?

I'm trying to build an app to read qrcodes and I was thinking using the new attachCamera StageVideo for better performance. Is it possible?