harmony 鸿蒙OH_VideoCaptureInfo
OH_VideoCaptureInfo
Overview
The OH_VideoCaptureInfo struct describes the video capture information.
When videoFrameWidth and videoFrameHeight are both 0, video-related parameters are ignored and screen data is not recorded.
System capability: SystemCapability.Multimedia.Media.AVScreenCapture
Since: 10
Related module: AVScreenCapture
Header file: native_avscreen_capture_base.h
Summary
Member Variables
Name | Description |
---|---|
uint64_t displayId | ID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN. |
int32_t * missionIDs | Mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW. |
int32_t missionIDsLen | Length of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW. |
int32_t videoFrameWidth | Width of the video to capture, in px. |
int32_t videoFrameHeight | Height of the video to capture, in px. |
OH_VideoSourceType videoSource | Video source type. Currently, only RGBA is supported. |
Member Variable Description
displayId
uint64_t OH_VideoCaptureInfo::displayId
Description
ID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN.
missionIDs
int32_t* OH_VideoCaptureInfo::missionIDs
Description
Mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
missionIDsLen
int32_t OH_VideoCaptureInfo::missionIDsLen
Description
Length of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
videoFrameHeight
int32_t OH_VideoCaptureInfo::videoFrameHeight
Description
Height of the video to capture, in px.
videoFrameWidth
int32_t OH_VideoCaptureInfo::videoFrameWidth
Description
Width of the video to capture, in px.
videoSource
OH_VideoSourceType OH_VideoCaptureInfo::videoSource
Description
Video source type. Currently, only RGBA is supported.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OH_AVRecorder_Config
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦