mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-09 17:36:31 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user