• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_VideoCaptureInfo
2<!--Kit: Media Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @zzs_911-->
5<!--Designer: @stupig001-->
6<!--Tester: @xdlinc-->
7<!--Adviser: @zengyawen-->
8
9## Overview
10
11The struct describes the video capture information.
12
13When **videoFrameWidth** and **videoFrameHeight** are both **0**, video-related parameters are ignored and screen data is not recorded.
14
15**Since**: 10
16
17**Related module**: [AVScreenCapture](capi-avscreencapture.md)
18
19**Header file**: [native_avscreen_capture_base.h](capi-native-avscreen-capture-base-h.md)
20
21## Summary
22
23### Member Variables
24
25| Name| Description|
26| -- | -- |
27| uint64_t displayId | ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.|
28| int32_t* missionIDs | Mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
29| int32_t missionIDsLen | Length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
30| int32_t videoFrameWidth | Width of the video to capture, in px.|
31| int32_t videoFrameHeight | Height of the video to capture, in px.|
32| [OH_VideoSourceType](capi-native-avscreen-capture-base-h.md#oh_videosourcetype) videoSource | Video source type. Currently, only RGBA is supported.|
33