mozilla / standards-positions

https://mozilla.github.io/standards-positions/
Mozilla Public License 2.0
639 stars 69 forks source link

Media timed events API for MPEG DASH MPD #122

Open marcoscaceres opened 5 years ago

marcoscaceres commented 5 years ago

Request for Mozilla Position on an Emerging Web Specification

Other information

Folks from the BBC are requesting feedback an API proposal. From WICG discourse thread:

There is a need in the media industry for an API to support metadata events synchronized to audio or video media, specifically for both out-of-band event streams and in-band discrete events (e.g., MPD -carriage and emsg events in MPEG DASH... These media timed events can be used to support use cases such as ad insertion or presentation of supplemental content alongside the audio or video.

On resource constrained devices such as smart TVs and streaming sticks, parsing media segments to extract event information leads to a significant performance penalty, which can have an impact on UI rendering updates if this is done on the UI thread. There can also be an impact on the battery life of mobile devices. Given that the media segments will be parsed anyway by the user agent, parsing in JavaScript is an expensive overhead that could be avoided.

dbaron commented 5 years ago

/cc @jyavenard @nils-ohlmeier -- interested in opinions on how this should fit into our dashboard