Skip to content

Investigate message latency requirements for media sync #80

Closed

Description

@markafoltz

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)

Activity

  1. markafoltz commented on Nov 8, 2017

    @markafoltz
    ContributorAuthor

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

  2. changed the title [-]Define concrete message latency requirements[/-] [+]Investigate message latency requirements for media sync[/+] on Nov 8, 2017
  3. chrisn commented on May 18, 2018

    @chrisn
    Member

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

    sync-accuracy-requirements

  4. markafoltz commented on Aug 26, 2019

    @markafoltz
    ContributorAuthor

    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.

  5. markafoltz commented on Sep 7, 2023

    @markafoltz
    ContributorAuthor

    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.

  6. linked a pull request that will close this issueAdd note about maximum latency. #319on Sep 11, 2023
  7. chrisn commented on Oct 13, 2023

    @chrisn
    Member

    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.

  8. markafoltz commented on Oct 16, 2023

    @markafoltz
    ContributorAuthor

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

  9. markafoltz commented on Jan 22, 2024

    @markafoltz
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions