audioplayer 0.8.1 audioplayer: ^0.8.1 copied to clipboard
A Flutter audio plugin (Swift/Java) to play remote or local audio files (ios, android, macos)
Changelog #
0.8.1 #
- iOS : enable audio output to speakers thanks @mhatout
- fixes iOS 'timeobservers' typo thanks @athornz
0.8.0 #
- Android : new FlutterPlugin API & AndroidX migration
0.7.0 #
- add Web support
0.6.0 #
- switch to Swift thanks @matteti #114
- add MacOS support thanks @matteti #115
0.5.2 #
- fix objC warning
- updated example
0.5.1 #
- Allow Dart 2 SDK
- Fix java lint warnings.
0.5.0 #
- BREAKING Change: No more separate handlers for communicating the state of the player. Instead we rely on streams to publish state changes and position updates.
- Code formatting and flow improvements. Preparation for testing.
0.4.0 #
- Feat : merge PR from mindon with mute methods and various improvements
- fixes Future
- Example : add a slider to demonstrate the seek feature
0.3.0 #
- merge PR from johanhenselmans to switch iOS to ObjectiveC
- merge PR from oaks to add the seek feature
0.2.0 #
- support for local files
0.1.0 #
- update to the current Plugin API
- move to https://github.com/rxlabz/audioplayer
0.0.2 #
Separated handlers for position, duration, completion and errors
-
setDurationHandler(TimeChangeHandler handler)
-
setPositionHandler(TimeChangeHandler handler)
-
setCompletionHandler(VoidCallback callback)
-
setErrorHandler(ErrorHandler handler)
-
new typedef
typedef void TimeChangeHandler(Duration duration);
typedef void ErrorHandler(String message);
0.0.1 #
- first POC :
- methods : play, pause, stop
- a globalHandler for position, duration, completion and errors