Skip to main content
markc888
Inspiring
Mar 2, 2013 10:25 AM UTC
Question

Video within AIR app (tested on iOS) can only loop a finite number of times before crashing

When looping a video (using NetStream or FLV Playback component) the video will only loop a finite number of times before crashing.

Basically when I load a video with some kind of loop listener (either complete status or via a cue point), the video will loop approx 120 - 160 times before crashing.

I have created a bug report along with a sample app that demonstrates this. NB this seem to be a device issue. The video will loop much more times when testing on the desktop.

Bug 3511766

Although I appreciate that looping a video 150 times might not be a commonly desired practice it is essential for my app.

It seems that even if I clear and null all video assets and then create new ones, the overall loops achieveable before crashing remains at a similar level.

e.g If I loop a video for 80 loops and the stop and clear the assets from memory. If I instantiate new assets and start looping again the video will crash within 80 loops.

Has anyone ever come across this before?

Does anyone have a bullet proof way of clearing video assets from memory?

Thanks,

Mark

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

3 replies

markc888
markc888Author
Inspiring
Mar 9, 2013 11:32 AM UTC

Unfortunately I can't do this as I have other elements that need to be shown. As I understand it StageVideo must sit underneath the Stage3D layer and the Stage3D layer cannot be transparent.

Translate
markc888
markc888Author
Inspiring
Mar 8, 2013 8:19 AM UTC
markc888
markc888Author
Inspiring
Mar 4, 2013 9:58 AM UTC

Following further testing it seems that this bug is related to the number of times seek() is used.

Translate