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

update playback library #92

Merged
merged 2 commits into from Nov 12, 2018
Merged

update playback library #92

merged 2 commits into from Nov 12, 2018

Conversation

tjenkinson
Copy link
Contributor

@tjenkinson tjenkinson commented Nov 7, 2018

this updates scaudio from from v12.0.0 to v21.3.4

It also removes the geoblocked and no_connection errors.

They no longer exist in the playback library, plus they would never be triggered before anyway.

If a track is geoblocked the SC.stream() promise rejects, because the api returns a 403 at that point.

We also always retry to retrieve urls on a connection timeout, whilst the player is not killed, so the no_connection error would never actually be triggered at the moment.

@tjenkinson tjenkinson requested a review from a team November 7, 2018 14:47
@tjenkinson tjenkinson self-assigned this Nov 7, 2018
@axinja
Copy link

axinja commented Nov 7, 2018

could you walk me through these changes?

they no longer exist in the playback library, plus they would never be triggered before anyway.

If a track is geoblocked the `SC.stream()` promise rejects, because the api returns a 403 at that point.

We also always retry to retrieve urls on a connection timeout, whilst the player is not killed, so the 'no_connection' error would never be triggered
@tjenkinson
Copy link
Contributor Author

@axinja quite a lot has changed in scaudio since v12. If you want to see an overview you can check the documentation in the releases on the scaudio repo.

There should be no change on the api that this sdk provides though.

@tjenkinson tjenkinson merged commit 5c28d70 into master Nov 12, 2018
@tjenkinson tjenkinson deleted the update-playback-lib branch November 12, 2018 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants