Commit Graph

28 Commits

Author SHA1 Message Date
Ryan Heise b6e4a01113 Documentation 2020-04-30 23:47:29 +10:00
Ryan Heise 4a5c885d6e Add missing icyMetadata parameter 2020-04-22 12:11:15 +10:00
Ryan Heise 24d97848ee Set Icy Metadata to null on iOS 2020-04-21 23:14:39 +10:00
Andrea Jonus 0f57b69ead
Add Icy metadata support on Android (#78)
* Add Icy "info" metadata to Android playback events

* Add IcyMetadata stream to the Flutter module

* Update ExoPlayer to 2.11.4

* Use Player.EventListener.onTracksChanged to retrieve IcyHeaders

* Iterate over each track of trackGroups to look for IcyHeaders
2020-04-21 22:57:32 +10:00
Ryan Heise ea4be9f9ad Support # and ? in file path on Android. 2020-04-21 20:26:53 +10:00
Tarek BAZINE 5147a52397
Exoplayer exceptions (#76)
* exoplayer exceptions back to flutter

* fix git ignore

* fix dispose player

* pump exoplayer exceptions

* readme

* code reformat

* code reformat - with tabs

* re-reformat code
2020-04-20 14:19:43 +10:00
Ryan Heise 5e9a707e08 Update state before method channel calls complete. 2020-04-18 14:28:06 +10:00
Ryan Heise 60aeecf107 Document FullAudioPlaybackState 2020-04-07 14:30:37 +10:00
Ryan Heise eebb343280 Broadcast how much has been buffered 2020-03-07 19:41:40 +11:00
Ryan Heise 78d043b4db Support web, limit position to duration. 2020-03-07 13:50:59 +11:00
Esmond Wong c79216c818
implement automaticallyWaitsToMinimizeStalling on iOS (#49)
* implement automaticallyWaitsToMinimizeStalling on iOS

* Allow automaticallyWaitsToMinimizeStalling to be called before setUrl

Co-authored-by: ryanheise <ryan@ryanheise.com>
2020-03-07 11:49:35 +11:00
Esmond Wong f3d9a34b50
Add proper extension to asset media cache file for iOS asset playback (#45) 2020-03-07 11:37:49 +11:00
Ryan Heise a8263ff221 Don't update position while buffering 2020-02-06 01:15:47 +11:00
Ryan Heise eee50d712e Separate buffering from playbackState. Improve Android buffering detection. 2020-02-05 12:26:21 +11:00
Ryan Heise 67bcd13739 Ensure there is an initial playback event and state 2020-01-21 02:30:04 +11:00
Ryan Heise 1fcfdefa20 Check for null duration 2020-01-02 02:17:41 +11:00
Ryan Heise ef8467d9ce setUrl completes with null if interrupted 2020-01-02 00:59:15 +11:00
Ryan Heise af679100ea Make states more permissive 2020-01-01 21:40:25 +11:00
Ryan Heise d2b3fca67f Improve state management 2020-01-01 19:39:49 +11:00
Ryan Heise fc9e65b371 Integrate the ExoPlayer library 2019-12-31 20:38:46 +11:00
Ryan Heise dfd1a193ed Add completed state 2019-12-27 16:43:09 +11:00
Ryan Heise 535fea2ec6 Documentation 2019-12-27 03:02:47 +11:00
Ryan Heise 788aee577a Remove printing 2019-12-26 01:41:53 +11:00
Ryan Heise f9e6991e82 Rename AudioPlayerState to AudioPlaybackEvent 2019-12-26 01:40:38 +11:00
Ryan Heise b93611dca3 Time stretching, AndroidX, update gradle 2019-12-26 00:44:08 +11:00
Ryan Heise a50daad9e1 Version 0.0.2 2019-12-01 02:52:54 +11:00
Ryan Heise 687553c875 iOS implementation 2019-12-01 02:28:17 +11:00
Ryan Heise 108821871d Rename project to just_audio 2019-11-28 17:55:32 +11:00
Renamed from lib/audio_player.dart (Browse further)