-
Notifications
You must be signed in to change notification settings - Fork 99
/
CHANGELOG
64 lines (53 loc) · 2.3 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
`Current Version`
Version 2.1
1. deprecate methods:
```
- (void)setupSourceGetter:(SourceSyncGetter)itemBlock ItemsCount:(NSUInteger) count;
- (void)asyncSetupSourceGetter:(SourceAsyncGetter)asyncBlock ItemsCount:(NSUInteger)count;
- (void)setItemsCount:(NSUInteger)count;
- (void)registerHandlerReadyToPlay:(ReadyToPlay)readyToPlay;
- (void)registerHandlerFailed:(Failed)failed;
```
2. Rename `Order` to `Index`
from
`- (void)setupPlayerItemWithUrl:(NSURL *)url Order:(NSUInteger)index;`
to
`- (void)setupPlayerItemWithUrl:(NSURL *)url index:(NSUInteger)index;
`
3. deprecate add, remove delegates method
```
- (void)addDelegate:(id<HysteriaPlayerDelegate>)delegate;
- (void)removeDelegate:(id<HysteriaPlayerDelegate>)delegate;
```
4. rename `showErrorMessages` to `popAlertWhenError`
5. add `- (void)hysteriaPlayerWillChangedAtIndex:(NSUInteger)index;` in `HysteriaPlayerDelegate`
Version 2.0
* Deprecated UI related callback blocks, using delegate pattern instead.
* Deprecated getPlayerTime method, added getPlayingItemCurrentTime and getPlayingItemDurationTime instead.
* enums conform to the standard.(HysteriaPlayer prefix)
Version 1.5.4:
* Supporting local media
* SourceGetter callback block used to return NSString type result changes to NSURL type
* Async source getter now comes with SetupItemWithUrl:Order: method instead SetupItem:Order:
Version 1.5.3:
* Fixed issue about deprecating player and recreate one by + (instancetype) SharedInstance, singleton issue.
* Show error messages (optional)
* Would not take audio focus when sharedInstance been called.
Version 1.5.2:
* enhanced memory cache disabled, but still go through pre-buffer
* iOS 7 won't pre-buffer next item when in weak network, preventing advance to empty item. Will check next item is pre-buffered before jump into.
* HYSTERIAPLAYER_CURRENT_TIME, HYSTERIAPLAYER_DURATION_TIME
Version 1.5.0:
* Comportable shuffle algorithm
* Using New iOS SDK API: NotificationCetner handling interrutpion and route change
* add setupSourceGetter:ItemsCount:
* add asyncSetupSourceGetter:ItemsCount:
* deprecate setupWithGetterBlock:ItemsCount:
version 1.2.1:
* Cached item bug fixed
version 1.2.0:
* Refactor API interface
* Add buffering status
* Add -(void)pausePlayerForcibly:(BOOL) method
* Rename HysteriaPauseReason to HysteriaPlayerStatus
* Improve code readability