WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
197550
calling getVideoPlaybackQuality() during seek will cause hang instantly until end of downloads media source
https://bugs.webkit.org/show_bug.cgi?id=197550
Summary
calling getVideoPlaybackQuality() during seek will cause hang instantly until...
root
Reported
2019-05-02 21:22:23 PDT
calling getVideoPlaybackQuality() during seek will cause hang instantly until end of downloads media source. This also happened when Web Inspector is opened. * Reproducing step 1. play any mp4 video with url that is never cached yet 2. registering `seeking` event listener which contains getVideoPlaybackQuality() 3. move playhead to unbuffered timeline on video timeline shown 4. repeat 3 until hang it browser (optionally) If you cannot reproduce with above steps, maybe using `timeupdate` handler will helpful to reproduce (see to code stubs in below) * Reproducing environments iOS Safari / WKWebView (iOS 12.1, iOS 12.2, iOS 12.3 public beta3) macOS Safari 12.1.2, Safari Technical Preview 81 (macOS 10.14.4) MiniBrowser.app (
r244898
, macOS 10.14.4) * Test stubs <!-- you need to change video source, and it should be MP4 Also, It is not matter of video container. --> <video src="
http://example/v.mp4
" controls id="x"></video> <div id="logger"></div> <script> var x = document.getElementById('x'); var l = document.getElementById('logger'); function log( l.innerHTML = object.totalVideoFrames; } x.addEventListener('seeking', function () { log(x.getVideoPlaybackQuality()); }); // It happened more frequently happened with following stubs // x.addEventListener('timeupdate', function () { // log(x.getVideoPlaybackQuality()); // }); </script>
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-05-03 10:17:48 PDT
<
rdar://problem/50447868
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug