harmony 鸿蒙OH_VideoCaptureInfo

  • 2023-10-30
  • 浏览 (363)

OH_VideoCaptureInfo

Overview

The OH_VideoCaptureInfo struct defines video capture information.

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since

10

Related Modules

AVScreenCapture

Summary

Member Variables

Name Description
displayId uint64_t
Defines the ID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN.
NOTE: This member variable is reserved and will be provided in later versions.
missionIDs int32_t *
Defines the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
NOTE: This member variable is reserved and will be provided in later versions.
missionIDsLen int32_t
Defines the length of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
NOTE: This member variable is reserved and will be provided in later versions.
videoFrameWidth int32_t
Defines the width of the captured video.
videoFrameHeight int32_t
Defines the height of the captured video.
videoSource OH_VideoSourceType
Defines the video source type. Currently, only RGBA is supported.

Member Variable Description

displayId

uint64_t OH_VideoCaptureInfo::displayId

Description

Defines the ID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN.

NOTE

This member variable is reserved and will be provided in later versions.

missionIDs

int32_t* OH_VideoCaptureInfo::missionIDs

Description

Defines the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.

NOTE

This member variable is reserved and will be provided in later versions.

missionIDsLen

int32_t OH_VideoCaptureInfo::missionIDsLen

Description

Defines the length of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.

NOTE

This member variable is reserved and will be provided in later versions.

videoFrameHeight

int32_t OH_VideoCaptureInfo::videoFrameHeight

Description

Defines the height of the captured video.

videoFrameWidth

int32_t OH_VideoCaptureInfo::videoFrameWidth

Description

Defines the width of the captured video.

videoSource

OH_VideoSourceType OH_VideoCaptureInfo::videoSource

Description

Defines the video source type. Currently, only RGBA is supported.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞