-
Notifications
You must be signed in to change notification settings - Fork 11
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
Looping VideoTexture Causing AIR to Crash #16
Comments
Thanks a lot for the excellent (i.e. very detailed) report! |
I fixed it by changing my video player flow to: This is deployed in the field and has up time of over 2 weeks since we last checked, with no memory leak. |
Nice one @rquinones84! Will try what you have suggested soon. If this really fixes the issue I will be very happy indeed! |
For me this issue finally fixed with AIR 32.0.0.83 beta. Thanks for Adobe! |
That's great news! Can anyone else who experienced this run a test? Then we could safely close this issue for good. From me, as well, a big thanks to Adobe for finally tackling this! |
I'll set up a test machine and let you know! I can confirm that the related Issue #17 appears fixed. Was able to run three days straight without freezing. Fingers crossed for this one too! |
Problem Description
A VideoTexture set to loop indefinitely, in this case via a seek operation on 'NetStream.Play.Complete' status, will eventually cause the running application to crash.
The issue is discussed in this Starling thread and is reproducable by at least 4 other users on the thread.
Steps to Reproduce
VideoTexture
"NetStream.Play.Complete"
play status and callingseek(0)
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
For some, using the appentBytes method on an embedded FLV can prevent (or perhaps postpone) the crash, which suggests it could be a file pointer issue. However, for others this method still eventually causes a crash. This workaround is not suitable for all applications however and has been found to exhibit a different bug.
The text was updated successfully, but these errors were encountered: