[media-source] Add Support for Media-Encoded Events

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

== Add Support for Media-Encoded Events ==
There are various types of events / cue points which may be encoded into media containers. Examples of these are MPEG-DASH 'emsg' boxes, and SCTE-35 'tones' in MPEG2-TS. Processing of media-embedded captions/subtitles might be another use case. Currently player applications have to parse media streams in order to be aware of these events, and retrieve the data encapsulated within them, which is inefficient at best. With the advent of MSE, the player app should not have to be aware of media container internals.

Adding support for these events in MSE would probably be best in the form of JavaScript events. Perhaps adding the ability to register handlers for specific events. Ideally the data sent to the handler would be parsed into some type of event-specific message, or perhaps a dictionary. But even receiving just the raw box data would be an improvement.

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

Received on Tuesday, 22 August 2017 23:11:58 UTC