Open Larpoux opened 4 years ago
My thinking is that it is time now to clean, once again, the Flutter Sound API . This cleaning should not introduce any breaking changes, and the App will continue to work without needing any change by the Flutter Sound users.
This clean version will be version 9.0
Registered in the Flutter Sound Project
Hello everybody,
I have begun to work on tis issue. If you have some requests, complaints, enhancements, etc... for the Flutter Sound API, it is really time to post something here.
This cleaning is mandatory before working on other frameworks than flutter, and working on TauNodePlayer
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
The big problem is iOS : iOS does not allow an application to have more than one session. iOS has just one session per app. But Flutter Sound allows several sessions simultaneously, and this is a big problem to be supported correctely by iOS.
Actually, I do not think that many Flutter Sound users open several Player sessions (or several recorder sessions) simultaneously. But many App need to deal at the same time with playback and recording, so they have to open two audio sessions. ... and this does not work well : on iOS all the parameters given to the first
openSession()
are overridden by the parameters of the secondopenSession()
. The result is possibly not what the user wants, and we already had several bug reports for that.