新增createAVTranscoder 接口定义

Signed-off-by: gonglin <gonglin17@huawei.com>
This commit is contained in:
gonglin 2024-07-18 14:49:33 +00:00 committed by Gitee
parent 5e820c3828
commit 70a9f0b92d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 0 deletions

View File

@ -257,6 +257,16 @@ declare namespace media {
*/
function reportAVScreenCaptureUserChoice(sessionId: number, choice: string): Promise<void>;
/**
* Creates a AVTranscoder instance.
*
* @returns {Promise<AVTranscoder>} A Promise instance used to return AVTranscoder instance if the operation is successful; returns null otherwise.
* @throws { BusinessError } 5400101 - No memory. Return by promise.
* @syscap SystemCapability.Multimedia.Media.AVTranscoder
* @since 12
*/
function createAVTranscoder(): Promise<AVTranscoder>;
/**
* Manages and plays sound. Before calling an SoundPool method, you must use createSoundPool()
* to create an SoundPool instance.

View File

@ -1007,6 +1007,7 @@ touchpad
trackinfo
tranlisterated
transcode
transcoder
transferable
transfunc
transliterated