-
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]: player freez when the speed is changed (iOS only) #3623
Comments
Cloud you check if issue is present in v6 ? |
@KrzysztofMoch I managed to reproduce it on |
@krifamed I checked with the sample app on simulator. |
@freeboub you mean to call setRate two times ? Even with this the issue still persist. |
Understood, But I don't know what we can do in react native video side. Looks like an issue linked to AVPLayer ... setRate(1)
setTimeout(() => {
setRate(0.5)
), 100) It can make send to integrate this workaround in the repo. |
@freeboub the workaround works fine 🎉 |
Version
v5 (Stable)
What platforms are you having the problem on?
iOS
Architecture
Old architecture
What happened?
When the
rate
attribute changes, the player freezes until the play/pause button clicked again or apply another rate.Screen.Recording.2024-03-28.at.3.53.52.PM.mov
Reproduction
repository link
Reproduction
Step to reproduce this bug are:
Code example:
The text was updated successfully, but these errors were encountered: