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.
System capability: SystemCapability.Multimedia.Media.CodecBase
Related module: CodecBase
Header file: native_avcodec_base.h
Since: 9
Deprecated from: 11
Substitute: OH_AVCodecCallback
Summary
Member Variables
Name | Description |
---|---|
OH_AVCodecOnError onError | Defines the callback used to report a codec operation error. |
OH_AVCodecOnStreamChanged onStreamChanged | Defines the callback used to report a codec stream change. |
OH_AVCodecOnNeedInputData onNeedInputData | Defines the callback used to report input data required. |
OH_AVCodecOnNewOutputData onNewOutputData | Defines the callback used to report output data generated. |
Member Variable Description
onError
Description
Defines the callback used to report a codec operation error.
Since: 9
onNeedInputData
Description
Defines the callback used to report input data required.
Since: 9
onNewOutputData
Description
Defines the callback used to report output data generated.
Since: 9
onStreamChanged
Description
Defines the callback used to report a codec stream change.
Since: 9
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦