• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_VideoCaptureInfo
2
3
4## Overview
5
6The **OH_VideoCaptureInfo** struct defines video capture information.
7
8**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture
9
10**Since**
11
1210
13
14**Related Modules**
15
16[AVScreenCapture](_a_v_screen_capture.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| [displayId](#displayid) | uint64_t<br>Defines the ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.<br>**NOTE**: This member variable is reserved and will be provided in later versions.|
27| [missionIDs](#missionids) | int32_t \*<br>Defines the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.<br>**NOTE**: This member variable is reserved and will be provided in later versions.|
28| [missionIDsLen](#missionidslen) | int32_t<br>Defines the length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.<br>**NOTE**: This member variable is reserved and will be provided in later versions.|
29| [videoFrameWidth](#videoframewidth) | int32_t<br>Defines the width of the captured video.|
30| [videoFrameHeight](#videoframeheight) | int32_t<br>Defines the height of the captured video.|
31| [videoSource](#videosource) | [OH_VideoSourceType](_a_v_screen_capture.md#oh_videosourcetype)<br>Defines the 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
45Defines the ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.
46
47> **NOTE**
48>
49> This member variable is reserved and will be provided in later versions.
50
51
52### missionIDs
53
54```
55int32_t* OH_VideoCaptureInfo::missionIDs
56```
57
58**Description**
59
60Defines the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
61
62> **NOTE**
63>
64> This member variable is reserved and will be provided in later versions.
65
66### missionIDsLen
67
68```
69int32_t OH_VideoCaptureInfo::missionIDsLen
70```
71
72**Description**
73
74Defines the length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
75
76> **NOTE**
77>
78> This member variable is reserved and will be provided in later versions.
79
80
81### videoFrameHeight
82
83```
84int32_t OH_VideoCaptureInfo::videoFrameHeight
85```
86
87**Description**
88
89Defines the height of the captured video.
90
91
92### videoFrameWidth
93
94```
95int32_t OH_VideoCaptureInfo::videoFrameWidth
96```
97
98**Description**
99
100Defines the width of the captured video.
101
102
103### videoSource
104
105```
106OH_VideoSourceType OH_VideoCaptureInfo::videoSource
107```
108
109**Description**
110
111Defines the video source type. Currently, only RGBA is supported.
112