1 #ifndef RT_AVDScreenRecorder_H_ 2 #define RT_AVDScreenRecorder_H_ 45 virtual void videoEncodedOut(
VideoCodec format,
uint64 timestamp_ns,
unsigned int width,
unsigned int height,
bool isKeyFrame,
const uint8 *data,
unsigned int len) = 0;
62 virtual void videoYUVOut(
uint64 timestamp_ns,
85 virtual void audioPCMOut(
uint64 timestamp_ns,
int sampleRate,
int channels,
const uint8 *data,
unsigned int len) = 0;
93 virtual Result setRecorderFile(std::string filePath) = 0;
118 virtual Result setRecordedCamera(
const Camera& device) = 0;
120 virtual Result startScreenRecord() = 0;
121 virtual Result stopScreenRecord() = 0;
122 virtual Result pauseScreenRecord() = 0;
123 virtual Result restoreScreenRecord() = 0;
124 virtual bool isStarted() = 0;
130 #endif//RT_AVDScreenRecorder_H_ Definition: annotationobject.h:71
视频摄像头信息结构.
Definition: common.h:328
std::vector< Camera > CamerasType
视频摄像头集合类型.
Definition: common.h:336
int Result
返回值类型
Definition: combase.h:13
屏幕窗口设备信息结构.
Definition: common.h:313
#define Err_Not_Implemented
Definition: errorcode.h:20
#define RT_API_EXPORT
Definition: defines.h:216
virtual Result setVideoEncodedType(VideoCodec format)
Definition: screenrecorder.h:104
Definition: screenrecorder.h:16
unsigned int uint32
Definition: defines.h:387
Definition: screenrecorder.h:19
VideoCodec
视频编解码器类型.
Definition: combase.h:163
std::vector< ScreenImgType > ScreensImgType
Definition: screenrecorder.h:23
virtual Result setAudioInfo(uint32 frameRate, uint8 channel, uint8 bitPerSample)
Definition: screenrecorder.h:100
unsigned long long uint64
Definition: defines.h:376
virtual Result setAudioEncodedType(AudioCodec format)
Definition: screenrecorder.h:108
Definition: screenrecorder.h:30
virtual ~IAVDScreenRecorder()
Definition: screenrecorder.h:126
virtual Result setVideoFrameRate(uint8 frameRate)
Definition: screenrecorder.h:96
IMG img
Definition: screenrecorder.h:21
Definition: screenrecorder.h:73
unsigned char uint8
Definition: defines.h:391
AudioRecordedType
Definition: combase.h:725
AudioCodec
Definition: combase.h:716
屏幕录制接口.
Definition: screenrecorder.h:13
std::vector< ScreenWindow > ScreensType
屏幕窗口集合类型.
Definition: common.h:321
ScreensType screen
Definition: screenrecorder.h:20