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

Bugfix/yospace missing ad events #56

Merged
merged 5 commits into from
Nov 5, 2024
Merged

Conversation

rbnbtns
Copy link
Contributor

@rbnbtns rbnbtns commented Oct 25, 2024

This PR adds logic for creating an AdBreak from the Yospace AdvertStart event, if it is missing. This allows the specific ad events for THEOplayer to be fired.

This solves the case where a viewer joins a stream while an ad is playing, or when a preroll ad plays, but there was no AdvertBreakStart event fired, so the THEOplayer ad events were also missing for this advert break.

@rbnbtns rbnbtns added the 🔌 connector: yospace Affects the Yospace connector label Oct 25, 2024
Copy link

changeset-bot bot commented Oct 25, 2024

🦋 Changeset detected

Latest commit: 2ab9fe2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theoplayer/yospace-connector-web Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@GillesMoris-Dolby
Copy link
Contributor

As this doesn't seem like a true root-cause fix, I've created a followup ticket THEO-10875 to take a deeper look at this later. For now this fix will suffice though!

@rbnbtns rbnbtns merged commit 9931d8d into main Nov 5, 2024
1 check passed
@rbnbtns rbnbtns deleted the bugfix/yospace-missing-ad-events branch November 5, 2024 10:37
@georgechoustoulakis
Copy link
Member

georgechoustoulakis commented Nov 5, 2024

@rbnbtns FYI the release PR is created by CI & will release the connector update to npm when merged -> #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 connector: yospace Affects the Yospace connector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants