-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: [iOS] Video plays for some time, then randomly starts buffering and stalls #4089
Comments
Hi! Thank you for reporting the issue, it would be perfect if you could provide an example videos when the error occurs. Thanks! |
Untitled-1.movHere I have recorded the moment the problem happens, after about 4 minutes of playback. |
i can confirm this isssue... even im facing
probably this is the reason for #3675 |
also, this problem occurs in certain videos... |
Hi @sntg-p, do you use DRM for video? This error is not for every video, so it would be perfect if you could you provide a sample |
Hey @moskalakamil, we are currently not using DRM for video. I was cleaning my sample repo and added a video with long expiration time to share it with you but since updating to RNV to v6.4.5 the video no longer freezes. After this finding I updated it in our app, and again it seems like it works. It's late here so tomorrow I'll be checking with my team to see if they still have issues on their devices or if we can close this. |
Sure, thanks for answering. Please let us know after you will check :)) |
We no longer have videos freezing on iOS, thanks for your work! |
Version
6.4.3
What platforms are you having the problem on?
iOS
System Version
17.4
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
It seems that while playing a video on iOS (HTTP download, not streamed, signed AWS S3 URL), at some random point it will start throwing these messages in the console:
After these messages with different C-values get thrown, it will at some point log this and fire the
onBuffer
event withisBuffering: true
:When this happens, the user may invoke the seek method and play already buffered segments in which case it will fire the
onBuffer
event twice: first withisBuffering: false
and thenisBuffering: true
. This double event fire happens again when it reaches the time where it originally threw theMEDIA_PLAYBACK_STALL
message, which gets thrown again.The problem does not appear instantly, it seems that it appears after playing some videos. Similar problems occur if the source URL is changed.
Reproduction
No response
Reproduction
Step to reproduce this bug are:
Just play two or three videos (HTTP download, AWS S3 signed URLs) until the problem appears.
The text was updated successfully, but these errors were encountered: