Skip to content

Bump Yospace library#89

Merged
ceyhun-o merged 8 commits into
masterfrom
bugfix/yospace/bump-yospace
May 21, 2026
Merged

Bump Yospace library#89
ceyhun-o merged 8 commits into
masterfrom
bugfix/yospace/bump-yospace

Conversation

@ceyhun-o
Copy link
Copy Markdown
Contributor

This PR bumps the Yospace library from 3.6.7 to 3.11.2.

Yospace doesn't seem to follow semver, and seem to have deprecated some APIs on 3.10.X and removed them on 3.11.X. Since our connector is compatible up to 4.X, we needed to make some changes. Mainly:

  • Reworked removed session.getPlaybackMode() and advert.isNonLinear().
  • Replaced removed consecutiveBreakTolerance with alignConsecutiveBreaks.

@ceyhun-o ceyhun-o added 🔌 connector: yospace Affects the Yospace connector dependencies Pull requests that update a dependency file labels May 21, 2026

private fun setupSession(session: Session) {
val isLive = session.playbackMode == Session.PlaybackMode.LIVE
private fun setupSession(session: Session, isLive: Boolean) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is called sessionMode in the current SDK?

This is in the release notes for version 3.10.0:

Deprecation: enum PlaybackMode, use SessionMode instead.

Suggested change
private fun setupSession(session: Session, isLive: Boolean) {
private fun setupSession(session: Session) {
val isLive = session.sessionMode == Session.SessionMode.LIVE

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also deprecated on 3.10.0:

Deprecation: LIVE on enum SessionMode, there is no replacement.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, but they're not going to remove that in 3.x, riiiiight?

@ceyhun-o ceyhun-o merged commit 149021a into master May 21, 2026
1 check passed
@ceyhun-o ceyhun-o deleted the bugfix/yospace/bump-yospace branch May 21, 2026 13:26
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 dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants