Skip to main content
markc888
Inspiring
March 2, 2013
Question

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

  • March 2, 2013
  • 3 replies
  • 829 views

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

3 replies

markc888
markc888Author
Inspiring
March 9, 2013

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.

markc888
markc888Author
Inspiring
March 8, 2013
markc888
markc888Author
Inspiring
March 4, 2013

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