• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_VideoCaptureInfo
2
3
4## Overview
5
6The **OH_VideoCaptureInfo** struct describes the video capture information.
7
8When **videoFrameWidth** and **videoFrameHeight** are both **0**, video-related parameters are ignored and screen data is not recorded.
9
10**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture
11
12**Since**: 10
13
14**Related module**: [AVScreenCapture](_a_v_screen_capture.md)
15
16**Header file**: [native_avscreen_capture_base.h](native__avscreen__capture__base_8h.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| uint64_t [displayId](#displayid) | ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.|
27| int32_t \* [missionIDs](#missionids) | Mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
28| int32_t [missionIDsLen](#missionidslen) | Length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
29| int32_t [videoFrameWidth](#videoframewidth) | Width of the video to capture, in px.|
30| int32_t [videoFrameHeight](#videoframeheight) | Height of the video to capture, in px.|
31| [OH_VideoSourceType](_a_v_screen_capture.md#oh_videosourcetype) [videoSource](#videosource) | Video source type. Currently, only RGBA is supported.|
32
33
34## Member Variable Description
35
36
37### displayId
38
39```
40uint64_t OH_VideoCaptureInfo::displayId
41```
42
43**Description**
44
45ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.
46
47
48### missionIDs
49
50```
51int32_t* OH_VideoCaptureInfo::missionIDs
52```
53
54**Description**
55
56Mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
57
58
59### missionIDsLen
60
61```
62int32_t OH_VideoCaptureInfo::missionIDsLen
63```
64
65**Description**
66
67Length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
68
69
70### videoFrameHeight
71
72```
73int32_t OH_VideoCaptureInfo::videoFrameHeight
74```
75
76**Description**
77
78Height of the video to capture, in px.
79
80
81### videoFrameWidth
82
83```
84int32_t OH_VideoCaptureInfo::videoFrameWidth
85```
86
87**Description**
88
89Width of the video to capture, in px.
90
91
92### videoSource
93
94```
95OH_VideoSourceType OH_VideoCaptureInfo::videoSource
96```
97
98**Description**
99
100Video source type. Currently, only RGBA is supported.
101