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

Investigate message latency requirements for media sync #80

Closed
markafoltz opened this issue Nov 8, 2017 · 7 comments · Fixed by #319
Closed

Investigate message latency requirements for media sync #80

markafoltz opened this issue Nov 8, 2017 · 7 comments · Fixed by #319
Labels

Comments

@markafoltz
Copy link
Contributor

It would be helpful to have an upper bound for PresentationConnection message latency based on use cases like media synchronization or lip sync.

From https://www.w3.org/2017/11/07-webscreens-minutes.html#x08:

ACTION: @chrisn to propose latency ranges for media synchronization use cases (lip sync vs frame sync)

@markafoltz
Copy link
Contributor Author

Also clock synchronization and clock skew correction were mentioned as potential uses for connection messages. The HbbTV media synchronization spec may provide some inspiration.

@markafoltz markafoltz changed the title Define concrete message latency requirements Investigate message latency requirements for media sync Nov 8, 2017
@chrisn
Copy link
Member

chrisn commented May 18, 2018

A rough model of different use cases vs accuracy requirements is Figure 1 in this paper, shown below:

sync-accuracy-requirements

@markafoltz
Copy link
Contributor Author

markafoltz commented Aug 26, 2019

the ITU performed strictly controlled tests with expert viewers and found that the threshold for [lip sync] detectability is -125ms to +45ms.

From: ITU-R BT.1359-1, Relative Timing of Sound and Vision for Broadcasting (PDF). ITU. 1998.

@markafoltz
Copy link
Contributor Author

To close this out I think a note that implementations should strive to send/receive messages within the smallest latency bounds possible, and no greater than the lip sync threshold of 45ms.

@markafoltz markafoltz linked a pull request Sep 11, 2023 that will close this issue
@chrisn
Copy link
Member

chrisn commented Oct 13, 2023

I think that's fine. The original intent behind the suggestion was for OSP to potentially support tightly synchronized playback between agents (e.g., sub 10ms). That would require an additional timeline sync protocol to be added to OSP, which would need research and investigation, so I would leave as future work if there's interest, not a v1 spec feature.

ETSI TS 103 286-2 is the relevant spec for the HbbTV companion screen synchronzation capability, sections 4.3.4 and 4.3.5.

@markafoltz
Copy link
Contributor Author

Thanks @chrisn. I will file a followup issue for the sub-10ms use case.

@markafoltz
Copy link
Contributor Author

Thanks @chrisn. I will file a followup issue for the sub-10ms use case.

Filed #325 for this.

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

Successfully merging a pull request may close this issue.

2 participants