MediaPlayerReason

  • Flutter

更新时间不可用

播放器状态改变的原因。

枚举值

参数名描述
playerReasonNone

0: 没有错误。

playerReasonInvalidArguments

-1: 不正确的参数。

playerReasonInternal

-2: 内部错误。

playerReasonNoResource

-3: 没有 resource。

playerReasonInvalidMediaSource

-4: 无效的 resource。

playerReasonUnknownStreamType

-5: 未知的媒体流类型。

playerReasonObjNotInitialized

-6: 对象没有初始化。

playerReasonCodecNotSupported

-7: 解码器不支持该 codec。

playerReasonVideoRenderFailed

-8: 无效的 renderer。

playerReasonInvalidState

-9: 播放器内部状态错误。

playerReasonUrlNotFound

-10: 未找到该 URL。

playerReasonInvalidConnectionState

-11: 播放器与声网服务器的连接无效。

playerReasonSrcBufferUnderflow

-12: 播放缓冲区数据不足。

playerReasonInterrupted

-13: 播放被异常打断而结束。

playerReasonNotSupported

-14: SDK 不支持的接口调用。

playerReasonTokenExpired

-15: 媒体资源网络路径的鉴权信息已过期。

playerReasonUnknown

-17:未知错误。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?