native_avscreen_capture_base.h
Overview
The native_avscreen_capture_base.h file declares the common structs, character constants, and enums used for running screen capture.
Since
10
Related Modules
Summary
Structs
Name | Description |
---|---|
OH_AudioCaptureInfo | Defines audio capturing information. |
OH_AudioEncInfo | Defines audio encoding information. |
OH_AudioInfo | Defines audio capturing parameters. |
OH_VideoCaptureInfo | Defines video capturing information. |
OH_VideoEncInfo | Defines video encoding information. |
OH_VideoInfo | Defines video capturing parameters. |
OH_RecorderInfo | Defines recording file information. |
OH_AVScreenCaptureConfig | Defines the screen capture configuration. |
OH_AVScreenCaptureCallback | Defines all the asynchronous callback function pointers of an OH_AVScreenCapture instance. |
OH_Rect | Defines the width, height, and image information of the rectangle used for screen capture. |
OH_AudioBuffer | Defines the configuration such as the size, type, and timestamp of audio data. |
Types
Name | Description |
---|---|
OH_NativeBuffer | Defines the native video stream class for screen capture. |
OH_AVScreenCapture | Defines a screen capture instance used to obtain original video and audio streams. |
OH_CaptureMode | Defines an enum that enumerates the screen capture modes. |
OH_AudioCaptureSourceType | Defines an enum that enumerates the audio source types during screen capture. |
OH_AudioCodecFormat | Defines an enum that enumerates the audio encoding formats. |
OH_VideoCodecFormat | Defines an enum that enumerates the video encoding formats. |
OH_DataType | Defines an enum that enumerates the data types of screen capture streams. |
OH_VideoSourceType | Defines an enum that enumerates the video source formats. |
OH_ContainerFormatType | Defines an enum that enumerates the types of files generated during screen capture. |
OH_AudioCaptureInfo | Defines audio capturing information. |
OH_AudioEncInfo | Defines audio encoding information. |
OH_AudioInfo | Defines audio capturing parameters. |
OH_VideoCaptureInfo | Defines video capturing information. |
OH_VideoEncInfo | Defines video encoding information. |
OH_VideoInfo | Defines video capturing parameters. |
OH_RecorderInfo | Defines recording file information. |
OH_AVScreenCaptureConfig | Defines the screen recording configuration. |
(*OH_AVScreenCaptureOnError) (OH_AVScreenCapture *capture, int32_t errorCode) | Defines a pointer to a callback function that is called when an error occurs during the running of an OH_AVScreenCapture instance. |
(*OH_AVScreenCaptureOnAudioBufferAvailable) (OH_AVScreenCapture *capture, bool isReady, OH_AudioCaptureSourceType type) | Defines a pointer to a callback function that is called when an audio buffer is available during the running of an OH_AVScreenCapture instance. |
(*OH_AVScreenCaptureOnVideoBufferAvailable) (OH_AVScreenCapture *capture, bool isReady) | Defines a pointer to a callback function that is called when a video buffer is available during the running of an OH_AVScreenCapture instance. |
OH_AVScreenCaptureCallback | Defines all the asynchronous callback function pointers of an OH_AVScreenCapture instance. |
OH_Rect | Defines the width, height, and image information of the rectangle used for screen capture. |
OH_AudioBuffer | Defines the configuration such as the size, type, and timestamp of audio data. |