cn.tee3.avd_SDK-Objectc  2.1.0
AVDFakeVideoCapturer.h
浏览该文件的文档.
1 //
2 // AVDFakeVideoCapturer.h
3 // avd_sdk
4 //
5 // Created by skin on 15-7-21.
6 // Copyright (c) 2015年 t3ee. All rights reserved.
7 //
8 
9 #ifndef avd_sdk_AVDFakeVideoCapturer_h
10 #define avd_sdk_AVDFakeVideoCapturer_h
11 
12 #import "AVDCommon.h"
13 
18 {
23 };
24 
25 @protocol AVDFakeVideoCapturerDelegate<NSObject>
26 
27 @optional
29 
34 - (BOOL) onStart;
39 - (void) onStop;
40 
41 @end
42 
43 
49 @interface AVDFakeVideoCapturer : NSObject
50 
51 @property (nonatomic,readonly) enum AVDFourccType fourFormat;
52 @property (nonatomic,readonly) BOOL isScreen;
61 - (instancetype) initWithDelegate:(id <AVDFakeVideoCapturerDelegate>)delegate fourFormat:(enum AVDFourccType)fourFormat isScreen:(BOOL)isScreen;
64 - (void) destory;
65 
69 - (BOOL) isRunning;
70 
85 - (AVDResult) inputCapturedFrame:(NSData*)sample w:(NSInteger)w h:(NSInteger)h rotation:(NSInteger)rotation mirror:(BOOL)mirror pts:(NSInteger)pts;
86 
87 
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
89 // Disallow init and don't add to documentation
90 - (id)init __attribute__((
91  unavailable("init is not a supported initializer for this class.")));
92 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
93 
94 @end
95 
96 #endif
AVDFourccType
视频图像格式.
Definition: AVDFakeVideoCapturer.h:17
Definition: AVDFakeVideoCapturer.h:22
Definition: AVDFakeVideoCapturer.h:19
NSInteger AVDResult
Definition: AVDCommon.h:14
BOOL isRunning()
判断Capturer是否正在运行
视频流导入接口.
Definition: AVDFakeVideoCapturer.h:49
Definition: AVDFakeVideoCapturer.h:25
enum AVDFourccType fourFormat
将要传入的视频数据类型
Definition: AVDFakeVideoCapturer.h:51
初始状态
Definition: AVDRoomInfo.h:37
Definition: AVDFakeVideoCapturer.h:21
void onStop()
视频流采集结束回调接口
void destory()
释放房间对象
(unavailable("init is not a supported initializer for this class." __attribute__()
BOOL isScreen
是否为屏幕共享
Definition: AVDFakeVideoCapturer.h:52
Definition: AVDFakeVideoCapturer.h:20