PlayerErrorType enum

Inheritance
Available extensions

Values

nelpEnAudioDecodeError → const PlayerErrorType

音频解码失败 Audio decoding error

nelpEnAudioOpenError → const PlayerErrorType

音频相关操作初始化失败 Audio initialization error

nelpEnAudioRenderError → const PlayerErrorType

音频播放失败 Audio playback error

nelpEnBufferingError → const PlayerErrorType

缓冲失败 Buffering error

nelpEnDatasourceConnectError → const PlayerErrorType

Datasource连接失败 Data source connection error

nelpEnDecryptionError → const PlayerErrorType

解密失败 Decryption error

nelpEnHttpConnectError → const PlayerErrorType

HTTP连接失败 HTTP connection error

nelpEnPrepareTimeoutError → const PlayerErrorType

预处理超时错误 该错误在NESDKConfig#isCloseTimeOutProtect配置, 该错误是在播放器引擎在超过用户设置的超时时间仍然没有报错时进行的二次超时保护, 避免极端情况下缓冲很久没有错误上报的情况 如果false开启对预处理和缓冲进行超时保护, 在超时的时候会回调nelpEnPrepareTimeoutError错误 如果为true关掉该功能, 那么在超时的时候不会回调nelpEnPrepareTimeoutError错误,应用层需要自己处理预处理和缓冲的超时逻辑。 Preprocessing timeout error. This error is configured in NESDKConfig#isCloseTimeOutProtect, This error is a secondary timeout protection performed by the player engine when no error is reported after the specified timeout period. This error avoids the extreme case of buffering for a long time without error reporting. If false, timeout protection for preprocessing and buffering is enabled, The nelpEnPrepareTimeoutError error will be returned upon timeout. If true, the functionality is disabled. Then the nelpEnPrepareTimeoutError will not be returned when timeout occurs, and the application layer must handle the timeout logic of preprocessing and buffering.

nelpEnRtmpConnectError → const PlayerErrorType

RTMP连接失败 RTMP connection error

nelpEnStreamIsNull → const PlayerErrorType

没有音视频流 No audio and video stream found

nelpEnStreamParseError → const PlayerErrorType

解析失败 Stream parsing error

nelpEnUnknownError → const PlayerErrorType

未知错误 Unknown error

nelpEnVideoDecodeError → const PlayerErrorType

视频解码失败 Video decoding error

nelpEnVideoOpenError → const PlayerErrorType

视频相关操作初始化失败 Video initialization error

nelpEnVideoRenderError → const PlayerErrorType

视频播放失败 Video playback error

nelpEnFormatError → const PlayerErrorType

初始化的URL格式错误 iOS Invalid URL format (iOS)

nelpEnIsPushError → const PlayerErrorType

初始化的URL是推流地址 Push URL error

nelpEnParseError → const PlayerErrorType

初始化的URL解析错误 Parsing URL error

nelpEnVideoParmasError → const PlayerErrorType

解密视频,解密参数错误 Invalid parameters for decrypting videos

nelpEnVideoKeyCheckError → const PlayerErrorType

解密视频,密钥错误 Key error while decrypting videos

nelpEnVideoGetKeyRemoteError → const PlayerErrorType

解密视频,获取密钥服务端请求过程中错误 An error occurs when getting decryption keys from server

nelpEnVideoUnknownError → const PlayerErrorType

解密视频,未知错误 an unknown error during decryption

nelpEnLLSConnectError → const PlayerErrorType

播放过程中,LLS连接失败 LLS connection error during playback

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PlayerErrorType>
A constant List of the values in this enum, in order of their declaration.