Skip to content

pauses during playback should cause fail up-front without waiting for OF to be run #218

Open

Description

@jpiesing

We have a number of examples of pauses in playback causing failures of the duration observation that are only noticed when the OF is run - e.g. cta-wave/device-observation-framework#118 (comment).

In at least some of these, the player reported status 'waiting' - presumably some network issues. Finding this out only when the OF is run is very unfriendly. If the app knows data isn't arriving fast enough then it should report failure up-front so it's obvious to the person running the test during the test run.

Activity

  1. jpiesing commented on Dec 3, 2025

    @jpiesing
    Author

    This was briefly discussed in the HbbTV Testing Group meeting today. There was a preference for underflow to be detected without having to download a recording and run the OF.

  2. louaybassbouss commented on Dec 4, 2025

    @louaybassbouss
    Collaborator

    A solution is to count the number of transitions the playback goes in waiting state and add new assertion which should fail if the number of unexpected transitions to waiting >0. We need to double check if there are expected waiting state and not count them (not sure which tests but I can imagine that playback over gaps or low latency playback may fall into this category).

  3. jpiesing commented on Dec 4, 2025

    @jpiesing
    Author

    A solution is to count the number of transitions the playback goes in waiting state and add new assertion which should fail if the number of unexpected transitions to waiting >0. We need to double check if there are expected waiting state and not count them (not sure which tests but I can imagine that playback over gaps or low latency playback may fall into this category).

    Perhaps it could be a configuration option, either per-test or globally that can be over-ridden per test? I agree some tests may need to tolerate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions