Implement code for new video decoder (untested) based on http://stackoverflow.com/questions/25980070/how-to-use-avsamplebufferdisplaylayer-in-ios-8-for-rtp-h264-streams-with-gstream
This commit is contained in:
parent
4c3bc16593
commit
9b6865a53b
5 changed files with 126 additions and 18 deletions
|
|
@ -8,10 +8,12 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface VideoDecoderRenderer : NSOperation
|
||||
@import AVFoundation;
|
||||
|
||||
- (id)initWithTarget:(UIView *)target;
|
||||
@interface VideoDecoderRenderer : NSObject
|
||||
|
||||
@property UIView* renderTarget;
|
||||
- (id)init;
|
||||
|
||||
- (void)submitDecodeBuffer:(unsigned char *)data length:(int)length;
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Reference in a new issue