Skip to main content
Participant
Aug 15, 2012 7:27 PM UTC
Question

StageVideo attachCamera failing in AIR 3.4 beta on Android

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

flashdictionary
Inspiring
Sep 6, 2012 7:00 PM UTC

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.

Translate
Participant
Sep 6, 2012 11:48 PM UTC

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.

Translate
Known Participant
Sep 17, 2012 3:11 PM UTC

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?

Translate