You need to enable JavaScript to run this app.
导航

错误码

最近更新时间2023.09.27 15:15:23

首次发布时间2023.03.16 14:24:57

VeLivePlayerError
public class com.ss.videoarch.liveplayer.VeLivePlayerError

直播播放错误。

成员变量

类型名称
intmErrorCode
StringmErrorMsg

成员函数

返回名称
VeLivePlayerErrorVeLivePlayerError
VeLivePlayerErrorVeLivePlayerError

变量说明

mErrorCode

public int com.ss.videoarch.liveplayer.VeLivePlayerError.mErrorCode;

直播播放错误码。

mErrorMsg

public String com.ss.videoarch.liveplayer.VeLivePlayerError.mErrorMsg;

直播播放错误信息。

函数说明

VeLivePlayerError

public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError(
    int errorCode)

创建一个包含错误代码的错误对象。

传入参数

参数名类型说明
errorCodeint错误码

VeLivePlayerError

public com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerError(
    int errorCode,
    String errorMsg)

创建一个包含错误代码和错误消息的错误对象。

传入参数

参数名类型说明
errorCodeint错误码
errorMsgString错误消息
VeLivePlayerErrorCode
public static class com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode

直播播放错误码。

成员变量

类型名称
intVeLivePlayerNoError
intVeLivePlayerInvalidLicense
intVeLivePlayerInvalidParameter
intVeLivePlayerErrorRefused
intVeLivePlayerErrorLibraryLoadFailed
intVeLivePlayerErrorPlayUrl
intVeLivePlayerErrorNoStreamData
intVeLivePlayerErrorInternalRetryStart
intVeLivePlayerErrorInternalRetryFailed
intVeLivePlayerErrorDnsParseFailed
intVeLivePlayerErrorNetworkRequestFailed
intVeLivePlayerErrorDemuxFailed
intVeLivePlayerErrorDecodeFailed
intVeLivePlayerErrorAVOutputFailed
intVeLivePlayerErrorSRDeviceUnsupported
intVeLivePlayerErrorSRResolutionUnsupported
intVeLivePlayerErrorSRFpsUnsupported
intVeLivePlayerErrorSRInitFail
intVeLivePlayerErrorSRExecuteFail
intVeLivePlayerLicenseUnsupportedH265
intVeLivePlayerErrorInternal

变量说明

VeLivePlayerNoError

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerNoError = 0;

没有错误。

VeLivePlayerInvalidLicense

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerInvalidLicense = -1;

License 无效。可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。

VeLivePlayerInvalidParameter

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerInvalidParameter = -2;

调用时传入的参数不合法。请检查入参,并重新调用。

VeLivePlayerErrorRefused

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorRefused = -3;

调用被拒绝。方法调用时机不合法,请检查调用时机。

VeLivePlayerErrorLibraryLoadFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorLibraryLoadFailed = -4;

加载库文件失败。可能是 SDK 集成错误,请检查 SDK 集成方式。

VeLivePlayerErrorPlayUrl

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorPlayUrl = -100;

播放地址不存在或无效。可能是播放地址为空、地址格式不合法或地址长度不合法,请检查播放地址。

VeLivePlayerErrorNoStreamData

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorNoStreamData = -101;

无法获取流数据。可能是直播流不存在、直播流中断或直播已结束,请检查直播状态。

VeLivePlayerErrorInternalRetryStart

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternalRetryStart = -102;

内部播放重试。可能由于播放器内部错误触发了重试。

VeLivePlayerErrorInternalRetryFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternalRetryFailed = -103;

内部重试失败。内部重试次数达到最大限制,播放器停止重试,您可以尝试重新播放。

VeLivePlayerErrorDnsParseFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDnsParseFailed = -200;

DNS 解析失败。可能是播放地址异常或客户端网络异常,请您检查播放地址和网络情况,如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorNetworkRequestFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorNetworkRequestFailed = -201;

网络请求失败。请检查网络情况,如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorDemuxFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDemuxFailed = -300;

直播格式解封装失败。可能是使用了不支持的直播流格式和协议,或音视频流错误;请检查流格式,如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorDecodeFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorDecodeFailed = -301;

视频解码失败。可能使用了不支持的直播流音视频格式,或解码器出错;请检查音视频格式,如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorAVOutputFailed

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorAVOutputFailed = -302;

渲染失败。可能是音视频输出设备异常,请重试;如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorSRDeviceUnsupported

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRDeviceUnsupported = -303;

该台设备不支持超分能力,不在超分机型白名单内;如果有疑问,请联系火山引擎技术支持

VeLivePlayerErrorSRResolutionUnsupported

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRResolutionUnsupported = -304;

当前分辨率高于超分开启限制的最大分辨率。如果有疑问,请联系火山引擎技术支持

VeLivePlayerErrorSRFpsUnsupported

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRFpsUnsupported = -305;

当前帧率高于超分开启限制的最大帧率。如果有疑问,请联系火山引擎技术支持

VeLivePlayerErrorSRInitFail

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRInitFail = -306;

超分初始化失败。可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎技术支持

VeLivePlayerErrorSRExecuteFail

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorSRExecuteFail = -307;

超分执行失败,可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎技术支持

VeLivePlayerLicenseUnsupportedH265

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerLicenseUnsupportedH265 = -308;

您使用的基础版 License 暂不支持 H.265 硬件解码,请登录火山引擎控制台获取高级版 License。

VeLivePlayerErrorInternal

public static int com.ss.videoarch.liveplayer.VeLivePlayerError.VeLivePlayerErrorCode.VeLivePlayerErrorInternal = -999;

内部错误。请联系火山引擎技术支持