Ryan Heise
657fd300dd
Handle audio interruptions by default.
2020-08-25 15:17:49 +10:00
Ryan Heise
60760d1010
Fix bug playing assets in LoopingAudioSource
2020-08-25 02:42:58 +10:00
Ryan Heise
5e2eae9a10
Don't orphan cache files when load fails.
2020-08-24 01:14:28 +10:00
Ryan Heise
a88669111b
handleInterruptions will also handle unplugged headphones.
2020-08-23 19:36:20 +10:00
Ryan Heise
a7cf6c103f
Use audio_session from pub.dev.
2020-08-23 18:00:16 +10:00
Ryan Heise
c1716cbb3b
Configure AndroidAudioAttributes from audio_session.
2020-08-22 13:44:51 +10:00
Ryan Heise
82b6d2ac8b
Use new audio focus API.
2020-08-21 14:09:24 +10:00
Ryan Heise
eae3c1b79b
Merge branch 'master' into audio-session
2020-08-21 12:47:16 +10:00
Ryan Heise
349271cbaf
Fix IcyMetadata decoding.
2020-08-21 12:38:24 +10:00
Ryan Heise
b8ae308eec
Use audio_session.
2020-08-21 12:23:39 +10:00
Ryan Heise
64d55345f8
Add setAndroidAudioAttributes and androidAudioSessionIdStream.
2020-08-14 14:38:55 +10:00
Ryan Heise
0f0fa22218
Add setFilePath/setAsset to README.
2020-08-14 03:26:24 +10:00
Ryan Heise
6a4067a96b
Change asset URI from asset:// to asset:///
2020-08-12 14:20:42 +10:00
Ryan Heise
0a772d1927
Add sequenceStream and sequenceStateStream.
2020-08-12 01:25:20 +10:00
Ryan Heise
fc9e6e0cd5
Prevent dispose from hanging
2020-08-08 18:42:51 +10:00
Ryan Heise
e977949d46
Fix bug in code to skip error items on Android.
2020-08-08 01:29:24 +10:00
Ryan Heise
d6e14ae9d6
Skip over error items in playlist on iOS. Fix positionStream.
2020-08-08 01:11:15 +10:00
Ryan Heise
0524d4302b
Plugin-specific exceptions
2020-08-07 22:11:28 +10:00
Ryan Heise
1e3716e722
Improve documentation.
2020-08-07 14:32:18 +10:00
Ryan Heise
6c869b01ab
Fix detection of DASH .mpd extension. Update support in README.
2020-08-07 14:07:07 +10:00
Ryan Heise
372b4665a5
Add seekToNext/Previous, hasNext/Previous, polish example.
2020-08-07 02:41:55 +10:00
Ryan Heise
a494dabcfb
Play interrupts previous future.
2020-08-05 03:58:43 +10:00
Ryan Heise
2c3d38f1ad
Update iOS to new state model.
2020-08-05 03:24:52 +10:00
Ryan Heise
e4789d9cd2
New state model, processingState + playing
2020-08-04 00:16:15 +10:00
Ryan Heise
2596da4a5b
Broadcast correct position during seek in iOS
2020-08-01 04:25:04 +10:00
Ryan Heise
f9a77b16e3
Rename audioSources/audioSource to children/child.
2020-07-29 17:02:46 +10:00
Ryan Heise
67d1b7450d
Ensure connecting state has passed before load/setClip return.
2020-07-29 16:10:21 +10:00
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