Primary eng
Summary
The 'stalled' event is raised if the media download has failed to progress for ~3 seconds. When using MSE, the web app manages the download (xhr) and the media element is not aware of its progress.
Web authors using MSE have noticed that 'stalled' seems to be emitted at random times.
https://bugs.chromium.org/p/chromium/issues/detail?id=517240
Due to code cruft, Chrome will raise 'stalled' whenever app has not appended new media (SourceBuffer.Append(...)) in the last 3 seconds. Apps may choose to append large chunks of data at a much lower frequency, so this is not a useful signal about buffering health.
Removing the 'stalled' for MSE should clear up confusion and bring us more in line with the spec (https://github.com/w3c/media-source/issues/88#issuecomment-374406928).
Media elements that don't use MSE will continue to raise 'stalled' as they do today.
Interoperability and Compatibility Risk
All browsers bellow appear to have the same behavior as current Chrome.
Edge: Haven't heard back yet
Firefox: Supportive (https://bugzilla.mozilla.org/show_bug.cgi?id=1451149
Safari: Supportive (email)
Alternative implementation suggestion for web developers
MSE users typically fetch the media chunks via XHR. XHR provides a number of events for monitoring the progress of the download.
Usage information
We don't have a good use-counter for this. Folks probably are listening for the event (e.g. unknowingly as part of a video streaming library). But listening != meaningful usage.
I polled the video streaming community at video-dev.slack.com (developers representing many major streaming sites/platforms). None were using 'stalled'.
One nuance is the opposite event: 'progress', which is not being deprecated. For non-MSE media elements, 'progress' indicates the download is moving along. For MSE, 'progress' has come to mean that the range of what's buffered has changed. This meaning is not in the spec, but has been baked into Chrome's implementation since the MSE shipped and other UAs seem to do the same. In a separate video-dev poll, many web authors using MSE indicated they listen for 'progress' as a trigger to update the part of their custom UI that shows how much of the stream is buffered. There are alternative means of achieving this, but breaking these folks is not worth the cost - 'progress' can stay.
Entry on the feature dashboard
None. This is a very small removal. Happy to create one if desired.
Requesting approval to remove too?
Yes, in M68.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c9c57bdc-e3f3-4cb7-bb34-ea01b58b64fb%40chromium.org.
+Marijn for "File"
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/a2c18fbf-7126-4c32-ac16-0acb15b620ba%40chromium.org.
Miguel, friendly ping for thoughts on MediaStream.
Miguel, friendly ping for thoughts on MediaStream.Marijn: Are you of aware of any use case for 'stalled' with File? Any objection to not firing it as the spec suggests?I can help from the media side. Do you have any examples of media playbacks using srcObject=File? It may be that this event is already not fired in this case.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5a950f89-b6c0-45d6-a313-f47aa570fe70%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVZ9VhsHWw3HtT9qzZeH3J3G8PJCFDGySnPFyK5Tq6OiTw%40mail.gmail.com.
LGTM1
LGTM1
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
...
LGTM1
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--...
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/1d1d1eeb-2467-4112-a070-1bebd65f95b5%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zidqp5twrbppqq%40cicero2.linkoping.osa.
LGTM2/Daniel
LGTM1
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
...
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/1d1d1eeb-2467-4112-a070-1bebd65f95b5%40chromium.org.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
.