PlayStateType enum

Inheritance
Available extensions

Values

nelpAudioVideoUnSync → const PlayStateType

标识音视频不同步 可以在此在UI提示用户切换其他清晰度观看 该消息会在高清晰度时 (如:1080p)设备性能较差导致音视频不同步的情况下回调给用户 Constant for the playback state of audio and video out of sync. Users are prompted to switch to other resolutions in the UI. The message will be returned to users when the player play a high-resolution video (for example, 1080p) and audio and video are out of sync.

nelpBufferingEnd → const PlayStateType

标识缓冲结束 Buffering ends

nelpBufferingStart → const PlayStateType

标识缓冲开始 Buffering starts

nelpDecryptionSuccess → const PlayStateType

解密成功 Decryption success

nelpNetDecodeBad → const PlayStateType

标识解码卡顿, 在解码时间过长时通知; 可以在此在UI上提示用户解码时间过长造成卡顿 Video frames freeze during decoding. Users are prompted that the decoding time is too long on the UI.

nelpNetStateBad → const PlayStateType

标识网络状态比较差, 如果有多种清晰度,在没有开启自动切换清晰度时,建议在此切换到低清晰度; 可以在此在UI上提示用户网络状态较差 Bad network state. If multiple resolutions are available, we recommend you switch to a low resolution when automatic resolution switching is disabled; Users are prompted that the network status is poor on the UI.

nelpVideoDecoderOpen → const PlayStateType

标识视频解码开启情况,在开启视频软解或者硬解时通知 附件信息'extra'字段表示是否开启硬件解码, 'extra'是1时开启了硬件解码,其他值时开启了软解解码 Video decoding state. Users are prompted that the video decoding state with software or hardware decoding enabled. The extra field of the additional information indicates whether hardware decoding or software decoding is enabled. If extra is set to 1, hardware decoding is enabled. If other values are used, software decoding is enabled.

nelpVideoPlayable → const PlayStateType

在该状态下,播放器初始化完成,可以播放,若shouldAutoplay 设置成YES,播放器初始化完成后会自动播放 iOS状态码,安卓不会返回。 The player is initialized in this state and ready to play the video file. If shouldAutoplay is set to YES, automatic playback starts after the player is initialized. Status code on iOS. No return code on Android.

nelpUnknownState → const PlayStateType

未知 Unknown state

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<PlayStateType>
A constant List of the values in this enum, in order of their declaration.