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

Do no include streamType on NaN duration #65

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

tvanlaerhoven
Copy link
Member

Fixed an issue where VOD/Live streamType was set with a wrong value.

Because metadata is set early, and streamType was included, the asset almost always still had duration == 'NaN', which resulted in a VOD streamType.
We should not set a streamType until the duration is known, or if the connector user sets it through editorial data, like so:

    convivaIntegration.setContentInfo({
        'Conviva.streamType': 'LIVE'
    });

Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: a63012e

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

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

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

@tvanlaerhoven tvanlaerhoven merged commit f68aff5 into main Jan 23, 2025
1 check passed
@tvanlaerhoven tvanlaerhoven deleted the bugfix/conviva/live_vod branch January 23, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants