harmony 鸿蒙OH_AVCodecAsyncCallback

  • 2023-06-24
  • 浏览 (663)

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

CodecBase

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞