-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
[HELP] BackgroundAudioService causing problems with another package #52
Comments
I've been able to get his working on Android by removing most of the shade player code (trying to strip down to just the recorder but it seems the soundplayer is still required for the recorder to work). This, however, causes the plugin to not be able to build when I try the iOS version (even though I've only removed/edited I'm really not sure how to proceed, but this is breaking my project in all ways I've attempted. I either can't build with my edited |
I am curious to know if the sound that you are trying to play is a remote file or a remote stream |
I am trying to play a remote file (either the podcast files from the RSS feed or audio files stored on firebase). When I use the |
I see :-/ One feature which is badly missing on Flutter Sound is the possibility to play from a remote Stream (webRTC). |
Yeah, that's another feature I'm waiting on, but first am trying to just finish the podcast player portion which is proving a challenge. I'm not sure what audioplayers does differently that allows it to start playing so much quicker, might be worth looking into. I've noticed things beginning to pile up and have been trying to figure out some of these issues on my own, but admittedly, I have basically zero iOS native development experience and only a few years of native Android development. I will look into seeing how I can help though! (though might not be going anywhere fast if I can't figure out how to get it to even build on iOS haha) |
You can post a "Problem Report" on Flutter Sound, so that someone, one day, maybe, perhaps, will take care of your needs. This is the best you can do if you want work on that issue. Probably port |
What I really don't get is why iOS gives me the |
This is a question for my friend @bsutton 👀 |
The most likely scenerio I can think of with you're issues on the forked version of sounds is that we've pushed a breaking iOS change to GitHub and kept the pub package on a (semi) stable version which is what you're using when you're not forking (correct me if I'm wrong). We've been working super hard these past few days in getting out some major changes regarding how we're handling the iOS side of the project and as such haven't had much of a chance to clean up master. That being said, I've got a lot of free time as of a few days ago all of which is going into finishing this major refactoring so stay tuned for that. Once it's done we'll be clearing up all the issues which have come in over the past couple weeks. |
Do we have an idea of what the last commit was that worked for iOS to work off of that in my fork? Or an estimate on work needed for FFI to be complete and a new version compatible with iOS to be ready (happy to help with what little I'm able, if there is anything)? |
@kbanta11 Kyle we would love some help with the ffi work particularly if you have an ios background. I've raised an issue #60 to track what is going on with the ffi conversion. |
We have delayed the ffi work to get out a 1.0.0 release. The full swift code is on master. |
I am using the Sounds package primarily for the recorder. I am not using the SoundPlayer (since it requires the file to be completely downloaded before playing, which isn't viable for a podcast app when the download delay could take 10+minutes), but am instead using a different audio player (audioplayers) and audio_service for the notification state. This appears to all be working fine, except for the media buttons in the notification state don't work because both audio_service (correctly) and sounds (incorrectly since I'm not using the player or shade player) are registering to the same media buttons which is causing errors.
Does anyone know how to prevent sounds from registering the background audio service/notification area so I can handle this with the audio_service package?
The text was updated successfully, but these errors were encountered: