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

错误码

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

首次发布时间2022.11.01 18:14:39

VeLivePusherErrorCode
public enum com.ss.avframework.live.VeLivePusherDef.VeLivePusherErrorCode

推流过程错误码定义。

枚举值

类型说明
VeLivePusherSuccess(0)无错误
VeLivePusherInvalidLicense(-1)License 错误,可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性
VeLivePusherInvalidParameter(-2)参数错误,请检查入参,并重新调用
VeLivePusherVideoCaptureError(-3)视频采集错误,可能未开启设备视频采集权限,请检查权限是否获取
VeLivePusherAudioCaptureError(-4)音频采集错误,可能未开启设备麦克风采集权限,请检查权限是否获取
VeLivePusherVideoEncoderError(-5)视频编码错误,可能配置了当前设备不支持的视频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎技术支持
VeLivePusherAudioEncoderError(-6)音频编码错误,可能配置了当前设备不支持的音频编码方式,请检查编码参数,并重新调用。如果故障未排除,请联系火山引擎技术支持
VeLivePusherTransportError(-7)网络发送错误,可能当前网络链路不通,或者开启了代理和关闭了网络权限,请检查网络后重新调用。如果故障未排除,请联系火山引擎技术支持
VeLivePusherVideoEffectError(-8)视频特效错误,请检查视频特效 SDK 是否已经集成并且初试化成功。检查特效资源路径是否配置正确。如果故障未排除,请联系火山引擎技术支持
VeLivePusherAudioDeviceError(-9)音频模块错误,请联系火山引擎技术支持
VeLivePusherLicenseUnsupportedH265(-10)您使用的基础版 License 暂不支持 H.265 硬件编码,请登录火山引擎控制台获取高级版 License
VeLivePusherError(-100)其他错误类型,请联系火山引擎技术支持

成员函数

返回名称
intvalue

函数说明

value

public int com.ss.avframework.live.VeLivePusherDef.VeLivePusherErrorCode.value()

获取枚举类型对应的 int 值