Skip to main content
Known Participant
Sep 28, 2016 9:28 PM UTC
Question

To Chris Campbell, major show stopper with video and Android....!

Hi Chris,

we have reported a major show stopper which has been confirmed to be an issue with the latest release of Android.

This has to do with Video playback hanging due to the changes in Video component and its underline pipeline in Android which was changed in the latest AIR 22 (we confirmed this is when it broke) .

The bug has been reported and tracked here:

Bug#4161877 - With current beta 22 when using Android Video, video will hang for a second when other operations occur su…

it's been over a month and we still do not have a status on this.

We provided a sample project, step by step instructions on how to reproduce and even details on which SDK broke this and how to install the SDK.

I really need your help to get a status on a fix for this MAJOR show stopper in Android and latest Adobe AIR.

We can't release our next Android TV Player until this is resolved.

thanks as always,

Sean.

This topic is closed to new replies. Start a new post to keep the conversation going.

34 replies

Born2codeAuthor
Known Participant
Nov 27, 2016 4:26 AM UTC

Hi Guys,

so we tested AIR 24 beta with the small test project and I am sorry to say that anytime we try and play the video, the application APK crashes.

Have you had any luck compiling AIR 24 beta and running it against the test project that we provided?

here are the files again for reference:

Project: http://www.digitalsignage.com/tmp/bug/videoProject.zip

apk AIR22: http://www.digitalsignage.com/tmp/bug/videoAIR22.apk

apk AIR20 http://www.digitalsignage.com/tmp/bug/videoAIR20.apk

sample video: http://www.digitalsignage.com/tmp/bug/bunny25fps.mp4

Regards,

Sean

Translate
deesharm
Adobe Employee
Adobe Employee
Nov 28, 2016 8:54 AM UTC

Hi Sean,

We tried running your sample project using AIR_24.0.0.177 on Android 5.x and 6.x devices. Since we did not have the anenativeLoader.ane and other additional linked source folders, so we removed that before compilation.

After removing them, we are successfully able to compile, package and run the project on devices and observed no crash at our end.

Please find the attached apk in the bug:

Bug#4161877 - With current beta 22 when using Android Video, video will hang for a second when other operations occur su…

Thanks,

Adobe AIR Team

Translate
Born2codeAuthor
Known Participant
Nov 28, 2016 4:31 PM UTC

Hello

We tried to test your file but we are running out tests on Android TV and when we tried to install your apk it prompted us to install AIR. However Adobe AIR is not available for Android TV.

also tried it on Android phone... installed latest AIR and still when launching the app, it keeps on prompting: "This application requires an updated version", but of course we can't get AIR runtime 24 for Android.

Can you please compile the apk with AIR?

regards,

Sean

Translate
Born2codeAuthor
Known Participant
Nov 24, 2016 1:36 PM UTC

So we were still not able to test this as we are having an issue with Apace Flex SDK (so waiting for Apache to release SDK for AIR 24).

I was wondering in the meanwhile if you can share with us how did you end up resolving the issue (as marked fixed in AIR24) ?

Was it reverted back to AIR22? was a new thread created for the video? or what was the approach you took?

thanks as always,

Sean.

Translate
Born2codeAuthor
Known Participant
Oct 29, 2016 12:12 AM UTC

I saw that this bug now is set as fixed in AIR 24 beta.

we will test it asap and report back,

thank you for the effort,

Sean.

Translate
Pahup
Adobe Employee
Adobe Employee
Oct 13, 2016 5:01 AM UTC

Hi Sean,

We've not made a decision yet on how to make the older architecture available to AS developers. We're trying to come up with a solution in AIR 24 beta, please stay tuned.

Thanks

-Pahup | AIR Engineering

Translate
Born2codeAuthor
Known Participant
Oct 13, 2016 5:05 AM UTC

Ok thank you for the prompt reply, I will wait anxiously and patiently

regards

Sean.

Translate
Participant
Oct 5, 2016 11:40 PM UTC

From what Sean is saying Adobe is already aware and working to resolve this for the next release of AIR.

Thank you!!! this would literally paralyze our company!!!! could have been a catastrophe.

I can also assist in any beta testing that may be needed

Translate
Pahup
Adobe Employee
Adobe Employee
Oct 6, 2016 4:00 AM UTC

Hi Everyone,

While we work on this video performance issue, we would like to request you all to keep watching our (almost) weekly betas of AIR and Flash Player from here.

     http://labs.adobe.com/technologies/flashruntimes/flashplayer/

     http://labs.adobe.com/technologies/flashruntimes/air/

    

Early feedback from beta channel helps both the sides.

-Thanks

Pahup

Adobe AIR

Translate
Born2codeAuthor
Known Participant
Oct 6, 2016 4:52 AM UTC

Absolutely - we will continue and monitor the beta channels.

regards

Sean.

Translate
Participant
Oct 4, 2016 11:00 PM UTC

We manage a large library of tutorial videos for schools and distribute educational material to each school via our Android App. Last week we migrated to latest AIR and spent 3 days trying to figure out why performance on video was so terrible when interacting with the user interface while the video was playing. I am glad I found this post as we are now aware this is a design flaw in latest Adobe runtime. When do you think this will be fixed as we are interested in updating to latest version but this problem is stopping us from moving forward.

Translate
Inspiring
Oct 5, 2016 12:59 AM UTC

Are you using StageVideo or VideoTexture?

Translate
Born2codeAuthor
Known Participant
Oct 5, 2016 6:23 PM UTC

The issue is evident in both StageVideo and VideoTexture as video rendering is now done on the CPU main thread.

We are assisting the Adobe team to find a solution to this design flaw.

regards

Sean.

Translate
chris.campbell
Legend
Sep 29, 2016 1:32 AM UTC

Hi Sean,

I'm checking with the team.  We had a related bug that was fixed in AIR 23 but I've asked them to verify and provide more info on 4161877.

Thanks,
Chris

Translate
Born2codeAuthor
Known Participant
Sep 29, 2016 1:46 AM UTC

Thanks so much for the update Chris, I appreciate it.

will wait anxiously for any info on any findings and expected release build fix.

have a great day,

Sean

Translate
Anki_AG_
Adobe Employee
Adobe Employee
Sep 29, 2016 8:07 AM UTC

Hi Sean,

In AIR 22, we have moved the rendering logic to the main thread, however, decoding is still hardware based and done from a secondary thread.

In your sample app, you are intentionally blocking the main thread for 1 second, which will stop rendering for that duration. You will observe the same behavior on desktop as well.

Could you share a small sample with your original use case where you are observing glitches on addChild?

Thanks,

Adobe Air Team

Translate