Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying a VideoTexture Eventually Freezes Visuals #17

Closed
esidegallery opened this issue Aug 27, 2017 · 5 comments
Closed

Displaying a VideoTexture Eventually Freezes Visuals #17

esidegallery opened this issue Aug 27, 2017 · 5 comments

Comments

@esidegallery
Copy link

esidegallery commented Aug 27, 2017

Problem Description

Running a VideoTexture for long enough will eventually cause the visuals to freeze. It's the equivalent of having skipUnchangedFrames set to true in Starling i.e. The sound continues and if the window is resized, then the frame updates.

  • AIR SDK used: 26.0
  • Environment: AIR for Windows (Captive runtime and otherwise). Windows 10 32-bit confirmed.
  • Adobe Bug Tracker Issue

Steps to Reproduce

  1. Create an application that plays a video from a local file using VideoTexture
  2. Cause the video to loop, in this case using the 'appendBytes' method to avoid this issue.
  3. Run the app. Usually, after a few hours of constant video playback, the video freezes.

Here is a minimal application that exhibits the problem. This zip file can be imported directly into Flash Builder.

Here are compiled versions of the above app that can be run straight away:

To minimise dependencies, and to rule out framework bugs, this app does not use Starling, but the same behaviour is exhibited when Starling is used.

More Info

Known Workarounds

None that I am aware of. Perhaps if it were possible to detect when the problem arises and dispose of the context, triggering a rebuild.

@tuarua
Copy link

tuarua commented Oct 15, 2018

@esidegallery

There was a surprise beta release today which appears to mention a fix for this in the release notes

[AIR] crashing when playing video loops for many hours (FLASH-4190569)

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air31_flashplayer31_releasenotes.pdf

@esidegallery
Copy link
Author

Thanks for bringing this to our attention @tuarua! Haven't had the chance to test yet, but will soon and post an update...

@itlancer
Copy link

For me this issue finally fixed with AIR 32.0.0.83 beta. Thanks for Adobe!

@esidegallery
Copy link
Author

I have been able to run a video using the 'appendBytes' method for 3 days without any issues. Would like to try it on a few other machines too, but this looks promising. Thank you Team Adobe!

@PrimaryFeather
Copy link
Contributor

That's great news, thanks a lot for testing this out, guys! I'll close this issue then. In case something does still pop up, we can still re-open it anytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants