-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DASH event message box equivalency #28
Comments
Discussed 17/5/2021 minutes. In the DASH event processing mode, discarding repeated equivalent events is an optimisation. In a TextTrack based API for emsg events, we would expect the browser to avoid the browser creating duplicate DataCue instances for repeated equivalent events. Cues are equivalent if they have the same |
I understood this differently, from the conversation yesterday: I thought I'd learned that there can only be one cue with those three values active at any moment, but there can be multiple cues with those three values in the same Text Track, but with different payloads. I came to this conclusion because the expected behaviour when there's a rewind event is that the state generated in the client at the new playhead position is what it would have been when playing through that moment first time around. For example: Time Tn: emsg arrives with a specific combination of (
Time Tn+1: emsg arrives with the same combination of (
Repeat the second procedure for all subsequent emsg arrivals with the same combination of ( The example in the call was one where the contents of the emsg were used to present some user-facing message that can change over time, and I thought I heard @irajs say that on a rewind event the same user-facing message should appear as it would have done on first play-through, even if a later emsg had arrived. There are two different domains here, and the language from one needs some translation into the other. The phrasing that I found interesting was to do with how the client "depatches" emsg events. The conclusion I thought @irajs and I had agreed on was that this is equivalent to the creation of a Text Track Cue; then Time Marches On causes the handlers to run on entry and exit. Clearly from a requirements perspective, we need to confirm which model is right. |
I suggest that we take the document that @irajs provided in #30 and adjust it to the HTML TextTrack and MSE terminology and use that to document the proposed dispatch model. My own understanding of dispatching an event (per the document) is that it is dependent on the dispatch mode:
Perhaps @irajs can confirm, and also help clarify the equivalency rules in the examples in @nigelmegitt's comment. |
DASH emg events may be repeated between media segments, to ensure visibility.
Two emsg events are considered equivalent if their
scheme_id_uri
,value
, andid
fields are identical.See discussion from 15/03/2021
The text was updated successfully, but these errors were encountered: