Commit Graph

47 Commits

Author SHA1 Message Date
Ryan Heise e977949d46 Fix bug in code to skip error items on Android. 2020-08-08 01:29:24 +10:00
Ryan Heise f266ce0b7a Skip items in playlist with error on Android. 2020-08-07 22:50:36 +10:00
Ryan Heise a494dabcfb Play interrupts previous future. 2020-08-05 03:58:43 +10:00
Ryan Heise e4789d9cd2 New state model, processingState + playing 2020-08-04 00:16:15 +10:00
Ryan Heise c0c5d0c2bf Playists, looping, shuffling for Android and web 2020-07-09 13:27:53 +10:00
Ryan Heise 841bd10822 Use null seek parameter on method channel 2020-06-09 01:49:17 +10:00
Ryan Heise c7543941c3 Minor changes to v2 PR 2020-06-08 21:53:05 +10:00
Ryan Heise 8680cac01a Merge branch 'master' of github.com:ryanheise/just_audio 2020-06-08 21:24:17 +10:00
Ryan Heise b13338ef11 In setUrl, throw an exception rather than return null if interrupted 2020-06-08 21:24:11 +10:00
Sebastian Roth 8f146e559a
Android: Support Android Embedding V2 (#109)
* Bump AGP & Gradle
* Migrate the project to Android Embedding to V2
2020-06-08 21:20:14 +10:00
LKHO f66413c007
support seeking to end of live streams (#108)
* support seeking to end of live streams

suggested edit for #96

* fix type casting
2020-06-07 16:31:36 +10:00
LKHO ee0c4cd7cd
support dynamic duration (#104)
* add duration in PlaybackEvent

* emit duration updates on dynamic length sources

* Merge branch 'master' of https://github.com/ryanheise/just_audio into pr/android-duration

# Conflicts:
#	lib/just_audio.dart

* fix merge

* update _durationFuture
2020-06-03 20:38:08 +10:00
Ryan Heise 02631bfe84 Add setIosCategory 2020-05-21 00:38:26 +10:00
Andrea Jonus 3dfcef6ef1
Forward ExoPlaybackException exceptions to the Flutter plugin (#80)
* Forward ExoPlaybackException exceptions to playbackEventStream

* Ignore error events in secondary streams
2020-05-01 00:52:58 +10:00
Ryan Heise 54721ad7b1 Workaround to supply file extension to ExoPlayer 2020-04-29 23:33:17 +10:00
Ryan Heise 32d7939761 Refactoring 2020-04-21 23:38:40 +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
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 835c422ee1 Make setAutomaticallyWaitsToMinimizeStalling noop on Android 2020-04-18 17:00:52 +10:00
Ryan Heise 5e9a707e08 Update state before method channel calls complete. 2020-04-18 14:28:06 +10:00
Ryan Heise 7911f2010f Fix NullPointerException on eventSink 2020-04-05 02:06:56 +10:00
stonega 8d15a6c65c
Enable cross-protocol redirects in ExoPlayer (#55) 2020-03-26 00:22:01 +11:00
Ryan Heise eebb343280 Broadcast how much has been buffered 2020-03-07 19:41:40 +11:00
Ryan Heise 04d7d88751 Update Gradle to 5.6.2 2020-03-07 13:08:51 +11:00
Ryan Heise f5b3ce92bc Set buffering to false on dispose 2020-02-05 22:47:10 +11:00
Ryan Heise eee50d712e Separate buffering from playbackState. Improve Android buffering detection. 2020-02-05 12:26:21 +11:00
Ryan Heise 280f1a8208 Improve state handling 2020-02-05 01:27:40 +11:00
Ryan Heise 839890d707 Improve seek behaviour 2020-01-02 12:01:43 +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 8100b80d8d Improve URL extension detection 2020-01-01 20:21:07 +11:00
Ryan Heise d2b3fca67f Improve state management 2020-01-01 19:39:49 +11:00
Ryan Heise b10d13d413 HLS and DASH support 2020-01-01 02:33:30 +11:00
Ryan Heise 80dcd1d02d Set minSdkVersion to 16 2019-12-31 21:50:16 +11:00
Ryan Heise fc9e65b371 Integrate the ExoPlayer library 2019-12-31 20:38:46 +11:00
Ryan Heise 5e0fc0fd76 Fix error message for stop precondition 2019-12-29 23:01:00 +11:00
Ryan Heise 0e65a839a9 Add null check 2019-12-29 22:17:17 +11:00
Ryan Heise 350f3951d5 ensureStopped in setUrl. Add missing success()'s. 2019-12-29 21:15:43 +11:00
Ryan Heise 0500654188 Remove reseeking hack 2019-12-29 02:29:41 +11:00
Ryan Heise a8197c93e1 Recycle sonic buffer 2019-12-28 02:31:42 +11:00
Ryan Heise dfd1a193ed Add completed state 2019-12-27 16:43:09 +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 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
Ryan Heise 0574c041c5 Dart/Android implementation 2019-11-28 16:16:54 +11:00
Ryan Heise 64dcdc8e9c Project template 2019-11-26 01:50:21 +11:00