Closed adrianplapamaruintenselife closed 1 month ago
Are you using Firebase? How many videos are you playing? How many videos are playing at any one time? Are you always going to be playing them in the same order or is it random? Do you have the same issue when you play longer videos? How are you switching between videos?
Are you using Firebase? Yes
How many videos are you playing? About 10
How many videos are playing at any one time? Only one
Are you always going to be playing them in the same order or is it random? I have a circular scroll view
Do you have the same issue when you play longer videos? I don't know.
How are you switching between videos? I have a circular scroll view. At a time I have 3 open videos and only one playing.
Can you see if you can replicate this in a new project using only AVPro Video (no Firebase etc)?
I wasn't able to reproduce this issue in a new project (no Firebase).
Try adding Firebase to that new project and see if the issue occurs, please?
With Firebase, the issue occurs. Terminating app due to uncaught exception 'NSRangeException', reason: ' -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty array' *** First throw call stack: (0x19a58ab28 0x1923e6f78 0x19a595ff4 0x198dc309c 0x109d45600 0x109d2e2c0 0x109d2be35 0x109d46261 0x109d488d5 0x109d5b785 0x109d48a49 0x1a5832775)
I removed firebase just to test it again and the crash occurs after a longer time than with firebase.
Could you retest in a new project, rather than one that has had Firebase in it, please?
I made a new project without Firebase and reproduce the issue. The issue occurs without Firebase.
Does the last update from asset store fix this issue? I observed there is an update from 10 May. Thanks!
Hi, no we would post here to let you know if it was fixed
Hello! We found a solution for this issue. We use cache and the app no longer crash. On the previous version of AVProVideo we had an issue with the cache (first video stops after 5-6 seconds), so we removed caching. But now everything is ok! Thank you!.
When opening multiple videos using
mediaPlayer.OpenMedia(new MediaPath(url, MediaPathType.AbsolutePathOrURL), isFirstVideo);
I have this exceptipmTo Reproduce