native_averrors.h

Overview

The native_averrors.h file declares the error codes used by the media playback framework.

Since

9

Related Modules

Core

Summary

Types

Name Description
OH_AVErrCode Defines an enum that enumerates the audio and video error codes.

Enums

Name Description
OH_AVErrCode {
    AV_ERR_OK = 0,
    AV_ERR_NO_MEMORY = 1,
    AV_ERR_OPERATE_NOT_PERMIT = 2,
    AV_ERR_INVALID_VAL = 3,
    AV_ERR_IO = 4,
    AV_ERR_TIMEOUT = 5,
    AV_ERR_UNKNOWN = 6,
    AV_ERR_SERVICE_DIED = 7,
    AV_ERR_INVALID_STATE = 8,
    AV_ERR_UNSUPPORT = 9,
    AV_ERR_EXTEND_START = 100
}
Enumerates the audio and video error codes.