Skip to content
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

Zero duration DASH event messages #29

Open
chrisn opened this issue May 17, 2021 · 0 comments
Open

Zero duration DASH event messages #29

chrisn opened this issue May 17, 2021 · 0 comments

Comments

@chrisn
Copy link
Collaborator

chrisn commented May 17, 2021

Discussed 17/5/2021 minutes.

It is possible for a DASH event message to have zero duration. When mapped to a DataCue instance, the startTime and endTime would have the same value.

Handling zero-duration cues in JavaScript requires use of the TextTrackCue onenter and onexit events instead of the TextTrack oncuechange event.

For details, see Requirements for Media Timed Events.

Assigning onenter and onexit handlers must be done for each cue. Because there is no API to notify the web application when the UA instantiates a cue, there is no straightforward way attach these event handlers. Hence the proposed TextTrack addcue event.

The only way to use cuechange is to make sure that the cue duration is longer than successive executions of time marches on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant