Releases: StreetVoice/HysteriaPlayer
Releases · StreetVoice/HysteriaPlayer
2.1.2
2.1.1
2.1.0
Version 2.1.0
- Add
HysteriaPlayerDataSource
delegate.
@protocol HysteriaPlayerDataSource <NSObject>
@optional
- (NSUInteger)hysteriaPlayerNumberOfItems;
- (NSURL *)hysteriaPlayerURLForItemAtIndex:(NSUInteger)index preBuffer:(BOOL)preBuffer;
- (void)hysteriaPlayerAsyncSetUrlForItemAtIndex:(NSUInteger)index preBuffer:(BOOL)preBuffer;
@end
- 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;
- Rename
Order
toIndex
from
- (void)setupPlayerItemWithUrl:(NSURL *)url Order:(NSUInteger)index;
to
- (void)setupPlayerItemWithUrl:(NSURL *)url index:(NSUInteger)index;
- deprecate add, remove delegates method
- (void)addDelegate:(id<HysteriaPlayerDelegate>)delegate;
- (void)removeDelegate:(id<HysteriaPlayerDelegate>)delegate;
- rename
showErrorMessages
topopAlertWhenError
- add
- (void)hysteriaPlayerWillChangedAtIndex:(NSUInteger)index;
inHysteriaPlayerDelegate