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

fix(Ads): Limit interstitial duration to actual duration if available when using src= #7488

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented Oct 24, 2024

Currently, if the interstitial lasts 30 and we have a stream that lasts 31 seconds, we would go back to live after the interstitial, but with 1 extra second of latency. This PR solves this by limiting the play range to 30.

Related to #7480

… when using src=

Currently, if the interstitial lasts 30 and we have a stream that lasts
31 seconds, we would go back to live after the interstitial, but with 1
extra second of latency. This PR solves this by limiting the play range
to 30.
@avelad avelad added type: bug Something isn't working correctly component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs priority: P2 Smaller impact or easy workaround labels Oct 24, 2024
@avelad avelad added this to the v4.12 milestone Oct 24, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 44.44%

@avelad avelad merged commit 334a00e into shaka-project:main Oct 24, 2024
21 of 22 checks passed
@avelad avelad deleted the duration-interstitials branch October 24, 2024 10:18
avelad added a commit that referenced this pull request Oct 24, 2024
… when using src= (#7488)

Currently, if the interstitial lasts 30 and we have a stream that lasts
31 seconds, we would go back to live after the interstitial, but with 1
extra second of latency. This PR solves this by limiting the play range
to 30.

Related to #7480
avelad added a commit that referenced this pull request Oct 24, 2024
… when using src= (#7488)

Currently, if the interstitial lasts 30 and we have a stream that lasts
31 seconds, we would go back to live after the interstitial, but with 1
extra second of latency. This PR solves this by limiting the play range
to 30.

Related to #7480
avelad added a commit that referenced this pull request Oct 24, 2024
… when using src= (#7488)

Currently, if the interstitial lasts 30 and we have a stream that lasts
31 seconds, we would go back to live after the interstitial, but with 1
extra second of latency. This PR solves this by limiting the play range
to 30.

Related to #7480
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Dec 23, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Dec 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants