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

- SoundstripeAudioProvider support added #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

luis901101
Copy link

@luis901101 luis901101 commented Apr 1, 2023

This PR adds support to audioProviders on Configuration options, specifically supporting SoundstripeAudioProvider. Since Soundstripe integration support was added to Android and iOS native libraries back on Feb 16, I was expecting an update on flutter plugin supporting these integrations.

I understand Audio Providers support from flutter side is not an easy feature and I also understand the way I added this support could not be the ideal way, as I only modified code on imgly-flutter plugin code to support Soundstripe and maybe this integration should imply more modules to support other Audio Providers.

Anyway I share the code so you can check it and decide if it works for a merge as a first approach until full audio provider support can be added to flutter.

Usage would be as simple as

final configuration = Configuration(
      audioProviders: [
        SoundstripeAudioProvider(
            'https://api.soundstripe.myproxy.com',
            headers: {"Authorization": "Token XXXXXX"}
        ),
      ],
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant