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