recorder.h

Overview

Related Modules:

MultiMedia_Recorder

Description:

Declares the Recorder class for audio and video recording.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::Media::RecorderCallback

Provides listeners for recording errors and information events.

OHOS::Media::Recorder

Provides functions for audio and video recording.

Enumerations

Enumeration Name

Description

OHOS::Media::VideoSourceType : int32_t { OHOS::Media::VIDEO_SOURCE_SURFACE_YUV = 0, OHOS::Media::VIDEO_SOURCE_SURFACE_RGB, OHOS::Media::VIDEO_SOURCE_SURFACE_ES, OHOS::Media::VIDEO_SOURCE_BUTT }

Enumerates video source types.

OHOS::Media::DataSourceType : int32_t { OHOS::Media::IMAGE = 0 }

Enumerates data source types.

OHOS::Media::OutputFormatType : int32_t { OHOS::Media::FORMAT_DEFAULT = 0, OHOS::Media::FORMAT_MPEG_4, OHOS::Media::FORMAT_TS }

Enumerates output file formats.

OHOS::Media::FileSplitType : int32_t { OHOS::Media::FILE_SPLIT_POST = 0, OHOS::Media::FILE_SPLIT_PRE, OHOS::Media::FILE_SPLIT_NORMAL }

Enumerates file split types.