Skip to main content
Inspiring
April 19, 2012
Question

StageVideo crashes on iPad

  • April 19, 2012
  • 1 reply
  • 572 views

I have created a video player using StageVideo and Netstream. It plays video on the iPad but every once in while the app crashes.

To debug the behavior, I loop between two videos. After one video stops, the next video begins and it continues doing this until the app crashes. The videos play just fine but again after a few plays, the app crashes.

What could be happening?

This topic has been closed for replies.

1 reply

Inspiring
April 20, 2012

It appears that there was a bug in my code.

I was originally clearing the netstream and creating a new netstream for every video that started to play.

However, when I did this I found that (for some reason) I encountered problems on playing videos on Air for TV devices. So I stopped resetting the netstream. But when I did this, I forgot to stop creating a new netstream if one already exists.

So once I checked if the netstream exists before creating the netstream, then  my crashing bug was fixed.