[Webkit-unassigned] [Bug 170401] REGRESSION (Safari 10.1): Immediately seeking on Media element before loading fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 14 15:24:14 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170401

--- Comment #4 from Jer Noble <jer.noble at apple.com> ---
So, the reason you're getting a NaN is the seek operation is occurring before there are any seekable ranges. (i.e., video.seekable.length == 0).  And the reason the seekable range is empty is because the MediaSource.duration is positive Infinity and the live seekable ranges are empty.

Can you try to implement a workaround where, after setting MediaSource.duration, but before seeking, you call MediaSource.setLiveSeekableRange(start, end)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170414/fa0b4fce/attachment.html>


More information about the webkit-unassigned mailing list