ZegoMediaPlayerError Constants Reference

Declared in zego-api-mediaplayer-defines-oc.h

ZegoMediaPlayerError

媒体播放器错误码

Definition

typedef NS_ENUM(NSInteger, ZegoMediaPlayerError ) {
   ZegoMediaPlayerErrorOK = 0,
   ZegoMediaPlayerErrorFile = -1,
   ZegoMediaPlayerErrorPath = -2,
   ZegoMediaPlayerErrorCodec = -3,
   ZegoMediaPlayerErrorNoSupportStream = -4,
   ZegoMediaPlayerErrorDemux = -5,
   ZegoMediaPlayerErrorFrameDrop = -6,
   ZegoMediaPlayerErrorLoadTimeout = -7,
   ZegoMediaPlayerErrorExpired = -8,
   ZegoMediaPlayerErrorResourceIDExpired = -9,
};

Constants

ZegoMediaPlayerErrorOK

ok

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorFile

文件格式不支持

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorPath

路径不存在

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorCodec

文件无法解码

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorNoSupportStream

文件中没有可播放的音视频流

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorDemux

文件解析过程中出现错误

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorFrameDrop

播放掉帧

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorLoadTimeout

加载资源超时

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorExpired

版权资源文件已过期

Declared In zego-api-mediaplayer-defines-oc.h.

ZegoMediaPlayerErrorResourceIDExpired

版权资源已过期

Declared In zego-api-mediaplayer-defines-oc.h.

Declared In

zego-api-mediaplayer-defines-oc.h