openharmony 鸿蒙 capi-codecbase-oh-avcodecasynccallback

2026-08-25 浏览 (1)

OH_AVCodecAsyncCallback

typedef struct OH_AVCodecAsyncCallback {...} OH_AVCodecAsyncCallback

Overview

The 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.

Since: 9

Deprecated from: 11

Substitute: OH_AVCodecCallback

Related module: CodecBase

Header file: native_avcodec_base.h

Summary

Member Variables

NameDescription
OH_AVCodecOnError onErrorCallback used to report a codec operation error.
OH_AVCodecOnStreamChanged onStreamChangedCallback used to report a codec stream change.
OH_AVCodecOnNeedInputData onNeedInputDataCallback used to report input data required.
OH_AVCodecOnNewOutputData onNeedOutputDataCallback used to report output data generated.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-native-avcodec-audiocodec-h

openharmony 鸿蒙 capi-avsource-oh-avsource

openharmony 鸿蒙 capi-native-cencinfo-h

openharmony 鸿蒙 capi-avmuxer

openharmony 鸿蒙 capi-multimedia-drm-oh-avcencinfo

openharmony 鸿蒙 capi-native-avdemuxer-h

openharmony 鸿蒙 capi-media-types-h

openharmony 鸿蒙 capi-native-audio-channel-layout-h

openharmony 鸿蒙 capi-native-avbuffer-info-h

openharmony 鸿蒙 capi-avdemuxer-oh-avdemuxer

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/PAvA4YRv