[media-source] Need event to signal when decoder underflow has occurred

wolenetz has just created a new issue for 
https://github.com/w3c/media-source:

== Need event to signal when decoder underflow has occurred ==
While readyState transitions down from HAVE_ENOUGH_DATA -> 
HAVE_FUTURE_DATA -> HAVE_CURRENT_DATA (and associated "waiting" event)
 give apps feedback about potentially necessary adaptation when 
playback time is reaching the end of continuously playable buffered 
range, there is no mechanism currently for signaling another case 
where playback time isn't advancing fast enough (due to underflow, for
 example).

I'd like web authors to chime in here if they think this would indeed 
be useful. For example, I think it could be useful in scenarios where 
decoder could be underprovisioned versus the bitstream (or the 
environment is dynamic) such that isTypeSupported/canPlayType is 
insufficient for guaranteeing the decoder can always keep pace.

Please view or discuss this issue at 
https://github.com/w3c/media-source/issues/101 using your GitHub 
account

Received on Wednesday, 22 June 2016 23:34:14 UTC