public class com.ss.videoarch.liveplayer.VeLivePlayerError
直播播放错误。
类型 | 默认值 | 名称 |
---|---|---|
int | - | mErrorCode |
String | - | mErrorMsg |
int | -1 | mSubCode |
返回 | 名称 |
---|---|
VeLivePlayerError | VeLivePlayerError |
VeLivePlayerError | VeLivePlayerError |
VeLivePlayerError | VeLivePlayerError |
VeLivePlayerError | VeLivePlayerError |
public int com.ss.videoarch.liveplayer.VeLivePlayerError.mErrorCode
直播播放错误码。
public String com.ss.videoarch.liveplayer.VeLivePlayerError.mErrorMsg
直播播放错误信息。
public int com.ss.videoarch.liveplayer.VeLivePlayerError.mSubCode = -1
直播播放子错误码。
public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError(int errorCode)
创建一个包含错误码的错误对象。
传入参数
参数名 | 类型 | 说明 |
---|---|---|
errorCode | int | 错误码。 |
public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError( int errorCode, int subCode )
创建一个包含错误码和子错误码的错误对象。
传入参数
参数名 | 类型 | 说明 |
---|---|---|
errorCode | int | 错误码。 |
subCode | int | 子错误码。 |
public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError( int errorCode, String errorMsg )
创建一个包含错误码和错误消息的错误对象。
传入参数
参数名 | 类型 | 说明 |
---|---|---|
errorCode | int | 错误码。 |
errorMsg | String | 错误消息。 |
public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError( int errorCode, int subCode, String errorMsg )
创建一个包含错误码、子错误码和错误消息的错误对象。
传入参数
参数名 | 类型 | 说明 |
---|---|---|
errorCode | int | 错误码。 |
subCode | int | 子错误码。 |
errorMsg | String | 错误消息。 |
public static class com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode
直播播放错误码。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerNoError = 0
没有错误。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerInvalidLicense = -1
License 无效。可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerInvalidParameter = -2
调用时传入的参数不合法。请检查入参,并重新调用。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorRefused = -3
调用被拒绝。方法调用时机不合法,请检查调用时机。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorLibraryLoadFailed = -4
加载库文件失败。可能是 SDK 集成错误,请检查 SDK 集成方式。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorPlayUrl = -100
播放地址不存在或无效。可能是播放地址为空、地址格式不合法或地址长度不合法,请检查播放地址。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorNoStreamData = -101
无法获取流数据。可能是直播流不存在、直播流中断或直播已结束,请检查直播状态。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternalRetryStart = -102
内部播放重试。可能由于播放器内部错误触发了重试。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternalRetryFailed = -103
内部重试失败。内部重试次数达到最大限制,播放器停止重试,您可以尝试重新播放。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDnsParseFailed = -200
DNS 解析失败。可能是播放地址异常或客户端网络异常,请您检查播放地址和网络情况,如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorNetworkRequestFailed = -201
网络请求失败。请检查网络情况,如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDemuxFailed = -300
直播格式解封装失败。可能是使用了不支持的直播流格式和协议,或音视频流错误;请检查流格式,如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDecodeFailed = -301
视频解码失败。可能使用了不支持的直播流音视频格式,或解码器出错;请检查音视频格式,如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorAVOutputFailed = -302
渲染失败。可能是音视频输出设备异常,请重试;如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRDeviceUnsupported = -303
该台设备不支持超分能力,不在超分机型白名单内;如果有疑问,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRResolutionUnsupported = -304
当前分辨率高于超分开启限制的最大分辨率。如果有疑问,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRFpsUnsupported = -305
当前帧率高于超分开启限制的最大帧率。如果有疑问,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRInitFail = -306
超分初始化失败。可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRExecuteFail = -307
超分执行失败,可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerLicenseUnsupportedH265 = -308
您使用的基础版 License 暂不支持 H.265 硬件解码。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSharpenDeviceUnsupported = -309
该台设备系统版本不支持锐化能力;如果有疑问,请联系火山引擎技术支持。
public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternal = -999
内部错误。请联系火山引擎技术支持。