All src= loading errors before HAVE_METADATA roll up into MediaFormatError which limits utility. |
||||
Issue description
One of the top errors seen for progressive playbacks on YouTube is:
"MEDIA_ELEMENT_ERROR: Format error"
This is the top issue because everything that fails before we have metadata fails with this error:
if (ready_state_ == WebMediaPlayer::kReadyStateHaveNothing) {
// Any error that occurs before reaching ReadyStateHaveMetadata should
// be considered a format error.
SetNetworkState(WebMediaPlayer::kNetworkStateFormatError);
}
https://cs.chromium.org/chromium/src/media/blink/webmediaplayer_impl.cc?l=1308
We should probably at least include the network error code or some other bit of information if we can. I.e. 403, 404, etc.
Matt or hubbe, do one of you want to take a look? Matt any insight into this choice?
,
Jul 27 2017
hubbe@, is this enough info for you to proceed with a fix?
,
Jul 27 2017
(This bit of c#1 might not actually be true, *if* MultiBufferDataSource does the logging of PIPELINE_ERROR internally: " PIPELINE_ERROR event logging (and inclusion in error message), nor UMA reporting of appropriate pipeline error. "). However, even so, if WMPI::OnError() doesn't occur on WMPI::DataSourceInitialized(false) path, then RAPPOR of the pipeline error doesn't occur.
,
Jul 27 2017
,
Jul 27 2017
,
Dec 1
|
||||
►
Sign in to add a comment |
||||
Comment 1 by wolenetz@chromium.org
, Jul 27 2017