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

Offset the playback position from stream start for Yospace DVRLive sessions #23

Merged
merged 7 commits into from
May 27, 2024

Conversation

matias-sandell
Copy link
Contributor

The current behaviour of the THEOplayer Yospace web connector is to always report the player current time to the Yospace SDK regardless of the playback mode. But for Yospace DVRLive sessions (called livepause in the connector) the time should be offset from stream start.

See https://developer.yospace.com/sdk-documentation/javascript/userguide/latest/en/provide-necessary-information-to-the-sdk.html#video-playback-position for more information.

Examples of this logic is also available in the Yospace sample reference apps (see shaka/shaka-adapter.js).

Copy link

changeset-bot bot commented May 22, 2024

🦋 Changeset detected

Latest commit: 2f9e46a

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 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

@MattiasBuelens
Copy link
Contributor

Thanks for your contribution! Indeed, it seems like we've missed that part about DVRLive sessions in our integration. 😅

I've manually tested this with this sample DVRLive stream (also used in the Yospace JavaScript sample applications). Looks pretty good! 👍

@MattiasBuelens MattiasBuelens merged commit b65601c into THEOplayer:main May 27, 2024
1 check passed
@MattiasBuelens MattiasBuelens added the 🔌 connector: yospace Affects the Yospace connector label Sep 27, 2024
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.

3 participants