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
Playback stops although the progress bar moves #7103
Conversation
EWS run on previous version of this PR (hash 56fb99f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
Forgot to check-in the expectation changes :( |
EWS run on previous version of this PR (hash f19a098) |
EWS run on current version of this PR (hash 4638b3e) |
https://bugs.webkit.org/show_bug.cgi?id=248585 rdar://102846199 Reviewed by Eric Carlson. When playback has stalled due to insufficient data being buffered, the effective rate should be 0 as time is no longer progressing. While the GPU process would indicate that the rate has changed once the player has stalled, the effective rate reported would remain the same causing the current time position to continue moving as it's estimated based on the effective rate. Fly-By fix: set the new rate in HTMLMediaElement if previously the requested rate is different. * LayoutTests/http/tests/media/video-play-stall.html: Update test to ensure currentTime doesn't progress (WebCore::HTMLMediaElement::updatePlaybackRate): * Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::updateStates): * Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::effectiveRate const): Canonical link: https://commits.webkit.org/257403@main
4638b3e
to
384fb5b
Compare
Committed 257403@main (384fb5b): https://commits.webkit.org/257403@main Reviewed commits have been landed. Closing PR #7103 and removing active labels. |
384fb5b
4638b3e
π§ͺ ios-wk2π§ͺ api-iosπ§ͺ mac-wk2π§ͺ mac-AS-debug-wk2