CjVideoPlayer
CjVideoPlayer.h
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Seajei, LLC. All rights reserved.
3 //
4 
11 #import <Foundation/Foundation.h>
12 #import <UIKit/UIKit.h>
13 
14 @protocol CjVideoPlayerDelegate;
15 
16 @interface CjVideoPlayer : UIView
17 
22 - (id)initWithParentView:(UIView *)parentView;
23 
29 - (void)setNbrFramesToDelay:(NSInteger)nbrFramesToDelay;
30 
35 - (void)updateBounds;
36 
42 - (void)displayH264Nalus:(NSData *)nalus;
43 
48 - (void)deinit;
49 
50 @property (nonatomic, weak) id<CjVideoPlayerDelegate> delegate;
51 
52 @end
53 
54 @protocol CjVideoPlayerDelegate <NSObject>
55 
56 @optional
57 
62 - (void)bitrateKbps:(float)bitrateKbps;
63 
64 @end
void updateBounds()
Update video bounds tied to parent view.
void deinit()
Deinit video player.
Definition: CjVideoPlayer.h:54
Definition: CjVideoPlayer.h:16