rxlabz / audioplayer

A flutter plugin to play audio files iOS / Android / MacOS / Web ( Swift/Java )

Home Page:https://pub.dartlang.org/packages/audioplayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Play files included with flutter assets

dustin-graham opened this issue · comments

Add a first class way to easily play files included via flutter plugins.

this playAssets not avaiable still now. with 0.5 version abover

Hi, I am wondering how people play different notification sounds in their flutter apps without this support these days? Do they use SystemSound?
I only know one sound SystemSound.play(SystemSoundType.click);, that's it. Can it play any other sounds? Is there a list of sound names? Are these sound names the same in both Android and iOS? Thanks a lot.

@sgon00 No, just load from assets and save to file, then play from file. not quite convenient.

Does anyone know who maintains this repo? I'd really like to get this merged in.

@sgon00 with my pull request #34, you would be able to add sounds to your flutter project, specify them in your pubspec.yaml and then play them from your flutter code. I'd like to get this merged in soon but nobody has responded yet to my pull request.

@dustin-graham thanks a lot for your reply. I hope this pull request gets merged in soon. Notification sound is a primary feature for an app, It's unbelievable that this is still not supported properly in flutter.

@dustin-graham Could you start a new project and maintain from that? I think this repo is now not active. I opened an issue of play sounds from bytes but not respond yet. These features we discuss should be filled as for the convenient of other developers.

At some point someone needs to fork this repository to continue developing it.

Apparently the maintainers have abandoned it, I proposed a PR for speakers sound problem on iOS pull request #43, till now not yet merged.

We have no option than continuing the development somewhere else.

@dustin-graham @eddywm I am hoping your guys start a new opensource project from scratch with same codes and license. These demand are urgent now as for the rapid evolution of Flutter.

Hey folks I do think @jinfagang was right we need to do a serious fork and keep the development active for a good audio support on Flutter somewhere else.

Nothing was improved in this library for 2 months, pull request are not getting merged which is lagging all the Flutter community behind wanting good quality audio support.

I started implementing advanced missing features on my own in my fork to support iOS remote controls from stuffs like Lock-screen controls, AppleTV, smart watches, cars, ... using the unified Native iOS Remote Control API.

I'm not really an expert in audio apis but I'm doing some good progress.

I was thinking about us creating a Slack or Twitch channel to continue the development of this library to support the optimal native audio features for the Flutter developers.

What do you think ? @dustin-graham @jinfagang @takaoandrew

@dustin-graham I think it's even a better alternative. Do it if you can, we will be coming to contribute.
Hopefully the Flutter folks at Google will accept the PR.

any updates?

any any updates?

any any any updates?

I'm working on an audio_player here : flutter/plugins#1606
It already works on android BTW

Please feel free to participate and to give a thumbs up 👍

@axellebot Thank you very much for your follow-up. I have given two thumbs up here and in the pull request. I hope the iOS support can be added soon. I need to support both platforms for my app. So without iOS support, I can not use it. Thanks a lot. 😀👍