[Webkit-unassigned] [Bug 185725] [MSE][GStreamer] Don't set the ReadyState to HaveNothing when an error occurs in the playback pipeline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 18 07:35:04 PDT 2018


--- Comment #3 from Yacine Bandou <bandou.yacine at gmail.com> ---
(In reply to Philippe Normand from comment #2)
> Comment on attachment 340602 [details]
> Patch
> I see no MSE-specific changes in this patch, confusing. Can't you simply
> override loadingFailed() in the MSE player?

I think even in the no-mse (regular playback), we have not to set the ReadyState to HaveNothing when an error occurs in playback because it's not true, we have enough data, just an error occurs in playing state.

see W3C spec: https://dev.w3.org/html5/pf-summary/video.html#dom-media-readystate
<<< HAVE_NOTHING (numeric value 0):
No information regarding the media resource is available. No data for the current playback position is available. Media elements whose networkState attribute is NETWORK_EMPTY are always in the HAVE_NOTHING state. >>>

In AVFoundation port, they explicitly set the ReadyState to HaveNothing only when they start a new load.

But I agree, I should put these explanations in changeLog and change the title of the bug and the patch.

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/20180518/302f5b35/attachment.html>

More information about the webkit-unassigned mailing list