Repository navigation
Update Sendspin Party to sendspin-js 6.0.0 - #326
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are blocking the Sendspin SDK update.
No open issues 🎉
What changed in this PR
Updates Sendspin Party to sendspin-js 6.0.0 for compatibility with Sendspin 1.0.0-rc1.
Changes:
- Replaces
baseUrlwithurl, using an explicit WebSocket endpoint. - Uses
destroy()when discarding players to release audio resources. - Bumps the app script’s cache version so browsers load the update.
| File | Description |
|---|---|
sendspin/serve/web/index.html |
Updates the app script cache version from 10 to 11. |
sendspin/serve/web/app.js |
Upgrades the SDK import, connection URL option, and player cleanup calls. |
Review effort: Balanced (adaptive)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this implement/fix?
Sendspin Party now loads sendspin-js 6.0.0, the release for Sendspin 1.0.0-rc1.
The page passes the new
urloption instead ofbaseUrl. It also callsdestroy()when it drops a player, sincedisconnect()now keeps the audio output open.Related issue (if applicable):
Types of changes
bugfixnew-featureenhancementbreaking-changerefactordocumentationmaintenancecidependenciesTested with Chromium on macOS and Chromium on Android playing together in sync against
sendspin serve --demo, and in headless Chromium with and without--allow-unencrypted.