-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from muxinc/dj/extract-ima-listener
Extract ima listener
- Loading branch information
Showing
52 changed files
with
638 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-27.5 KB
(99%)
Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats
Binary file not shown.
24 changes: 0 additions & 24 deletions
24
Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKImaListener.h
This file was deleted.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKPlayerBinding.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
#ifndef MUXSDKPlayerBinding_h | ||
#define MUXSDKPlayerBinding_h | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@import AVKit; | ||
@import AVFoundation; | ||
#if TARGET_OS_IOS | ||
@import MuxCore; | ||
#else | ||
@import MuxCoreTv; | ||
#endif | ||
|
||
typedef NS_ENUM(NSUInteger, MUXSDKPlayerState) { | ||
MUXSDKPlayerStateReady, | ||
MUXSDKPlayerStateViewInit, | ||
MUXSDKPlayerStatePlay, | ||
MUXSDKPlayerStateBuffering, | ||
MUXSDKPlayerStatePlaying, | ||
MUXSDKPlayerStatePaused, | ||
MUXSDKPlayerStateError, | ||
MUXSDKPlayerStateViewEnd, | ||
}; | ||
|
||
|
||
@interface MUXSDKPlayerBinding : NSObject { | ||
@private | ||
NSString *_name; | ||
NSString *_software; | ||
AVPlayer *_player; | ||
AVPlayerItem *_playerItem; | ||
id _timeObserver; | ||
MUXSDKPlayerState _state; | ||
CGSize _videoSize; | ||
CMTime _videoDuration; | ||
BOOL _videoIsLive; | ||
NSString *_videoURL; | ||
CFAbsoluteTime _lastTimeUpdate; | ||
NSTimer *_timeUpdateTimer; | ||
CFAbsoluteTime _lastPlayheadTimeUpdated; | ||
float _lastPlayheadTimeMs; | ||
BOOL _seeking; | ||
BOOL _started; | ||
NSUInteger _lastMediaRequest; | ||
NSUInteger _lastMediaRequestBytes; | ||
NSUInteger _lastErrorLogEventCount; | ||
NSUInteger _lastTransferEventCount; | ||
double _lastTransferDuration; | ||
long long _lastTransferredBytes; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name andSoftware:(NSString *)software; | ||
- (void)attachAVPlayer:(AVPlayer *)player; | ||
- (void)detachAVPlayer; | ||
- (CGRect)getViewBounds; | ||
- (void)dispatchViewInit; | ||
- (void)dispatchPlayerReady; | ||
- (void)dispatchPlay; | ||
- (void)dispatchPlaying; | ||
- (void)dispatchPause; | ||
- (void)dispatchTimeUpdateEvent:(CMTime)time; | ||
- (void)dispatchError; | ||
- (void)dispatchViewEnd; | ||
- (void)dispatchAdEvent:(MUXSDKPlaybackEvent *)event; | ||
- (float)getCurrentPlayheadTimeMs; | ||
@end | ||
|
||
|
||
@interface MUXSDKAVPlayerViewControllerBinding : MUXSDKPlayerBinding { | ||
@private | ||
AVPlayerViewController *_viewController; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name software:(NSString *)software andView:(AVPlayerViewController *)view; | ||
|
||
@end | ||
|
||
|
||
@interface MUXSDKAVPlayerLayerBinding : MUXSDKPlayerBinding { | ||
@private | ||
AVPlayerLayer *_view; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name software:(NSString *)software andView:(AVPlayerLayer *)view; | ||
|
||
@end | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-27.5 KB
(99%)
Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats
Binary file not shown.
24 changes: 0 additions & 24 deletions
24
Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKImaListener.h
This file was deleted.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKPlayerBinding.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
#ifndef MUXSDKPlayerBinding_h | ||
#define MUXSDKPlayerBinding_h | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@import AVKit; | ||
@import AVFoundation; | ||
#if TARGET_OS_IOS | ||
@import MuxCore; | ||
#else | ||
@import MuxCoreTv; | ||
#endif | ||
|
||
typedef NS_ENUM(NSUInteger, MUXSDKPlayerState) { | ||
MUXSDKPlayerStateReady, | ||
MUXSDKPlayerStateViewInit, | ||
MUXSDKPlayerStatePlay, | ||
MUXSDKPlayerStateBuffering, | ||
MUXSDKPlayerStatePlaying, | ||
MUXSDKPlayerStatePaused, | ||
MUXSDKPlayerStateError, | ||
MUXSDKPlayerStateViewEnd, | ||
}; | ||
|
||
|
||
@interface MUXSDKPlayerBinding : NSObject { | ||
@private | ||
NSString *_name; | ||
NSString *_software; | ||
AVPlayer *_player; | ||
AVPlayerItem *_playerItem; | ||
id _timeObserver; | ||
MUXSDKPlayerState _state; | ||
CGSize _videoSize; | ||
CMTime _videoDuration; | ||
BOOL _videoIsLive; | ||
NSString *_videoURL; | ||
CFAbsoluteTime _lastTimeUpdate; | ||
NSTimer *_timeUpdateTimer; | ||
CFAbsoluteTime _lastPlayheadTimeUpdated; | ||
float _lastPlayheadTimeMs; | ||
BOOL _seeking; | ||
BOOL _started; | ||
NSUInteger _lastMediaRequest; | ||
NSUInteger _lastMediaRequestBytes; | ||
NSUInteger _lastErrorLogEventCount; | ||
NSUInteger _lastTransferEventCount; | ||
double _lastTransferDuration; | ||
long long _lastTransferredBytes; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name andSoftware:(NSString *)software; | ||
- (void)attachAVPlayer:(AVPlayer *)player; | ||
- (void)detachAVPlayer; | ||
- (CGRect)getViewBounds; | ||
- (void)dispatchViewInit; | ||
- (void)dispatchPlayerReady; | ||
- (void)dispatchPlay; | ||
- (void)dispatchPlaying; | ||
- (void)dispatchPause; | ||
- (void)dispatchTimeUpdateEvent:(CMTime)time; | ||
- (void)dispatchError; | ||
- (void)dispatchViewEnd; | ||
- (void)dispatchAdEvent:(MUXSDKPlaybackEvent *)event; | ||
- (float)getCurrentPlayheadTimeMs; | ||
@end | ||
|
||
|
||
@interface MUXSDKAVPlayerViewControllerBinding : MUXSDKPlayerBinding { | ||
@private | ||
AVPlayerViewController *_viewController; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name software:(NSString *)software andView:(AVPlayerViewController *)view; | ||
|
||
@end | ||
|
||
|
||
@interface MUXSDKAVPlayerLayerBinding : MUXSDKPlayerBinding { | ||
@private | ||
AVPlayerLayer *_view; | ||
} | ||
|
||
- (id)initWithName:(NSString *)name software:(NSString *)software andView:(AVPlayerLayer *)view; | ||
|
||
@end | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-26.7 KB
(99%)
Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats
Binary file not shown.
24 changes: 0 additions & 24 deletions
24
Frameworks/iOS/simulator/MUXSDKStats.framework/Headers/MUXSDKImaListener.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.