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

Document timing requirements for different use cases #22

Closed
chrisn opened this issue Nov 16, 2018 · 2 comments
Closed

Document timing requirements for different use cases #22

chrisn opened this issue Nov 16, 2018 · 2 comments

Comments

@chrisn
Copy link
Member

chrisn commented Nov 16, 2018

The document should describe timing and synchronisation requirements for different kinds of events.

The Frame accurate seeking of HTML5 MediaElement discussion in w3c/media-and-entertainment#4 contains some useful detail to add. For example, in w3c/media-and-entertainment#4 (comment), @Daiz says:

even a frame or two of subtitles hanging on the screen after a scene change happens is very much notable and ugly to look at during playback.

Different kinds of events may have different synchronisation requirements, and it would be useful to categorise those, where we can. For example, maybe the banner ad, or social media feeds, and WebVMT use cases each have different timing requirements?

@chrisn
Copy link
Member Author

chrisn commented Nov 16, 2018

Some discussion in https://www.w3.org/2018/02/01-me-minutes.html:

Igarashi: In terms of frame-accurate eventing, as Francois said I don't see any specific requirement. Ad insertion won't be achieved at the app level, it's more at the system or rendering level.
... Some broadcasters maybe want to synchronise web content with the media, e.g., information about a soccer player during a game.
... I see these as rarer applications. Accuracy to only about 100 ms is needed, not frame accuracy, for broadcast systems.
Giri: The W3C specs don't guarantee 100 ms accuracy, something that HbbTV complained about.
... There are other issues than UA latency that result in missing cues. Hence the MPEG work, which should take some of the uncertainty out of processig the events.
... Frame accuracy isn't critical, but 500 ms isn't good either.
Igarashi: I think 300 ms is enough in most cases.

@rjksmith
Copy link
Member

rjksmith commented Nov 16, 2018

WebVMT displays output in a separate HTML element, rather than within the media container, so latency is not particularly noticeable as the media and map displays are not generally overlaid.

It uses a keyframe approach for animation, so again latency is not particularly noticeable. A worst case scenario would be a media scene change which instantly moves to a different location and requires the map to 'jump' concurrently. However, there are other inherent delays, such as loading times for the new map tiles, that would be needed at the same time in this case, so it is only one of many factors.

The HTML5 Embedded Content document currently specifies 250ms as the maximum response time for events.

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

2 participants