Skip to content

Releases: StreetVoice/HysteriaPlayer

2.1.2

17 Aug 02:10
Compare
Choose a tag to compare

Make All NSUInteger to NSInteger, related to #89

2.1.1

11 Jun 06:46
Compare
Choose a tag to compare

Version 2.1.1

  • Fixed disable memory cache not works
  • added methods
- (id)addBoundaryTimeObserverForTimes:(NSArray *)times queue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block;
- (void)removeTimeObserver:(id)observer;

2.1.0

16 Apr 13:44
Compare
Choose a tag to compare

Version 2.1.0

  1. Add HysteriaPlayerDataSource delegate.
@protocol HysteriaPlayerDataSource <NSObject>

@optional
- (NSUInteger)hysteriaPlayerNumberOfItems;
- (NSURL *)hysteriaPlayerURLForItemAtIndex:(NSUInteger)index preBuffer:(BOOL)preBuffer;
- (void)hysteriaPlayerAsyncSetUrlForItemAtIndex:(NSUInteger)index preBuffer:(BOOL)preBuffer;

@end
  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;
  1. Rename Order to Index
    from
    - (void)setupPlayerItemWithUrl:(NSURL *)url Order:(NSUInteger)index;
    to
    - (void)setupPlayerItemWithUrl:(NSURL *)url index:(NSUInteger)index;
  2. deprecate add, remove delegates method
- (void)addDelegate:(id<HysteriaPlayerDelegate>)delegate;
- (void)removeDelegate:(id<HysteriaPlayerDelegate>)delegate;
  1. rename showErrorMessages to popAlertWhenError
  2. add - (void)hysteriaPlayerWillChangedAtIndex:(NSUInteger)index; in HysteriaPlayerDelegate