-
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
Application Freeze when loading the video #577
Comments
Tried different versions. Currently using,
|
Same here! |
I faced the same Issue. Application freezes up because the video loading takes place on the main thread. It will work. |
@kamalk333 Thanks!! This fixed this issue, - BTW version 1.0.0 works as well for me. |
Solved. If you are using an older version, Thanks Tien Dat for the help. |
@janakact Amazing, would really like to know how you got to this solution, as I would really like to fix the issue on the latest version |
+1 |
@itay9001 |
I'm having this issue on iOS (javascript FPS drops to 0 for a second or two when the video starts) - are there any fixes floating around for it? |
You would be better to use ExoPlayer because it's faster and more stable. |
Some more info: when buffering a currrent video, and then trying to create another video component and dispose of the current one, the new component will not start buffering until the previous video finishes buffeirng, causing the UI to lock. |
+1 I got the issue in the latest code on IOS. It worked well on AD |
Same issue on iOS |
Same issue on iOS. Application hang/freezes while a Video component buffers. Is there a fix for iOS? |
@nartjie101 Oh wow - this was the real issue! Thank you! |
@itay9001 did you find any solution? stuck in a similar problem. |
I still face this problem in iOS. Any one got the solution. Help |
@vaibhavgehani a fix has been pushed in last V6 release |
v6 release did not fix the issue for me in iOS |
+1 |
1 similar comment
+1 |
@douzal34 @Usman1214 @adriandiaz @vaibhavgehani @ami9000 modify add statements preceeded by
func applyModifiers() {
+ if let video = _player?.currentItem,
+ video == nil || video.status != AVPlayerItem.Status.readyToPlay {
+ return
+ }
if _muted {
if !_controls {
_player?.volume = 0 |
@vemarav Thank you, do you plan to post a PR of this? |
If we are trying to play a video from a web URL, the whole application stay stuck (About 2-3 seconds until ) the a portion of the video is buffered. Seems like the whole UI rendering thread in blocked. Is there a solution for this or is it a bug?
The text was updated successfully, but these errors were encountered: