Skip to main content
Known Participant
September 28, 2016
Question

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

  • September 28, 2016
  • 7 replies
  • 3685 views

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 has been closed for replies.

7 replies

Born2codeAuthor
Known Participant
November 27, 2016

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

deesharm
Adobe Employee
Adobe Employee
November 28, 2016

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

Born2codeAuthor
Known Participant
November 28, 2016

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

Born2codeAuthor
Known Participant
November 24, 2016

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.

Born2codeAuthor
Known Participant
October 29, 2016

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.

Pahup
Adobe Employee
Adobe Employee
October 13, 2016

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

Born2codeAuthor
Known Participant
October 13, 2016

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

regards

Sean.

Participant
October 5, 2016

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

Pahup
Adobe Employee
Adobe Employee
October 6, 2016

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

Born2codeAuthor
Known Participant
October 6, 2016

Absolutely - we will continue and monitor the beta channels.

regards

Sean.

Participant
October 4, 2016

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.

Inspiring
October 5, 2016

Are you using StageVideo or VideoTexture?

Born2codeAuthor
Known Participant
October 5, 2016

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.

chris.campbell
Community Manager
Community Manager
September 29, 2016

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

Born2codeAuthor
Known Participant
September 29, 2016

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

Anki_AG_
Adobe Employee
Adobe Employee
September 29, 2016

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