harmony 鸿蒙OH_AVCodecAsyncCallback
OH_AVCodecAsyncCallback
Overview
The OH_AVCodecAsyncCallback struct defines all the asynchronous callback function pointers of an OH_AVCodec instance. To ensure the normal running of OH_AVCodec, you must register the instance of this struct with the OH_AVCodec instance and process the information reported by the callback function.
\@syscap SystemCapability.Multimedia.Media.CodecBase
Since
9
Related Modules
Summary
Member Variables
| Name | Description | 
|---|---|
| onError | Defines the callback used to report a codec operation error. For details, see OH_AVCodecOnError. | 
| onStreamChanged | Defines the callback used to report a codec stream change. For details, see OH_AVCodecOnStreamChanged. | 
| onNeedInputData | Defines the callback used to report input data required. For details, see OH_AVCodecOnNeedInputData. | 
| onNeedOutputData | Defines the callback used to report output data generated. For details, see OH_AVCodecOnNewOutputData. | 
Member Variable Description
onError
OH_AVCodecOnError onError
Description
Defines the callback used to report a codec operation error. For details, see OH_AVCodecOnError.
Since
9
onNeedInputData
OH_AVCodecOnNeedInputData onNeedInputData
Description
Defines the callback used to report input data required. For details, see OH_AVCodecOnNeedInputData.
Since
9
onNeedOutputData
OH_AVCodecOnNewOutputData onNeedOutputData
Description
Defines the callback used to report output data generated. For details, see OH_AVCodecOnNewOutputData.
Since
9
onStreamChanged
OH_AVCodecOnStreamChanged onStreamChanged
Description
Defines the callback used to report a codec stream change. For details, see OH_AVCodecOnStreamChanged.
Since
9
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
- 
                        2、 - 优质文章
- 
                        3、 gate.io
- 
                        8、 openharmony
- 
                        9、 golang