This action will force synchronization from OpenHarmony/docs, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Related Modules:
Description:
Provides functions for audio and video recording.
Since:
1.0
Version:
1.0
SetVideoSource (VideoSourceType source, int32_t &sourceId) |
|
SetVideoEncoder (int32_t sourceId, VideoCodecFormat encoder) |
|
SetVideoSize (int32_t sourceId, int32_t width, int32_t height) |
|
SetVideoFrameRate (int32_t sourceId, int32_t frameRate) |
|
SetVideoEncodingBitRate (int32_t sourceId, int32_t rate) |
|
SetCaptureRate (int32_t sourceId, double fps) |
|
GetSurface (int32_t sourceId) |
std::shared_ptr< OHOS::Surface > |
SetAudioSource (AudioSourceType source, int32_t &sourceId) |
|
SetAudioEncoder (int32_t sourceId, AudioCodecFormat encoder) |
|
SetAudioSampleRate (int32_t sourceId, int32_t rate) |
|
SetAudioChannels (int32_t sourceId, int32_t num) |
|
SetAudioEncodingBitRate (int32_t sourceId, int32_t bitRate) |
|
SetMaxDuration (int32_t duration) |
|
SetOutputFormat (OutputFormatType format) |
|
SetOutputPath (const string &path) |
|
SetOutputFile (int32_t fd) |
|
SetNextOutputFile (int32_t fd) |
|
SetMaxFileSize (int64_t size) |
|
SetRecorderCallback (const std::shared_ptr< RecorderCallback > &callback) |
|
Prepare () |
|
Start () |
|
Pause () |
|
Resume () |
|
Stop (bool block) |
|
Reset () |
|
Release () |
|
SetFileSplitDuration (FileSplitType type, int64_t timestamp, uint32_t duration) |
|
SetParameter (int32_t sourceId, const Format &format) |
Sets an extended parameter for recording, for example, RCORDER_PRE_CACHE_DURATION. |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。