Commit Graph

47 Commits

Author SHA1 Message Date
Ryan Heise a63ef2ba39 Playlists, looping, shuffling for iOS 2020-07-28 03:54:00 +10:00
Ryan Heise c0c5d0c2bf Playists, looping, shuffling for Android and web 2020-07-09 13:27:53 +10:00
Ryan Heise 1334680f9c Support HTTP 0.9 in proxy. 2020-06-10 20:36:44 +10:00
Ryan Heise f0ad4cdd50 Pass headers through proxy 2020-06-10 00:43:07 +10:00
Ryan Heise 64eda2b65b set headers instead of adding to headers 2020-06-09 12:20:45 +10:00
Ryan Heise 841bd10822 Use null seek parameter on method channel 2020-06-09 01:49:17 +10:00
Ryan Heise c0f7feeee8 Return null when duration is unknown 2020-06-08 23:58:16 +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
Ryan Heise 3dd22f58be Support headers 2020-06-08 00:20:52 +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 a5a8cd2a09 Convenience getter for the current position 2020-05-25 12:02:35 +10:00
Ryan Heise df5414e50c Add setIosCategory noop for web 2020-05-21 01:19:03 +10:00
Ryan Heise 02631bfe84 Add setIosCategory 2020-05-21 00:38:26 +10:00
Marcin Kitowicz 1106d66d74
Fix RangeError on web client. (#93) 2020-05-16 00:17:01 +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 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)