Add native H264 EveCanvas stream decoder
This commit is contained in:
parent
5a67296fcf
commit
897d73a98c
6 changed files with 294 additions and 11 deletions
15
Sources/EVEH264StreamDecoder.h
Normal file
15
Sources/EVEH264StreamDecoder.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#import <AVFoundation/AVFoundation.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface EVEH264StreamDecoder : NSObject
|
||||
|
||||
@property(nonatomic, readonly) AVSampleBufferDisplayLayer *displayLayer;
|
||||
|
||||
- (void)reset;
|
||||
- (void)consumeAnnexBAccessUnit:(NSData *)data;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Loading…
Reference in a new issue