通过阅读本文,您可以了解Web RTS SDK的错误码详情。
Web RTS SDK错误码如下所示,若不能解答您的问题,可以提交工单由技术支持人员为您处理,关于如何提交工单,请参见联系我们。
| 错误码 | 错误信息 | 描述 | 
| 10000 | device unknown error | 设备未知错误。 | 
| 10001 | audio device not found | 没有找到音频设备。 | 
| 10002 | video device not found | 没有找到视频设备。 | 
| 10003 | audio device not allowed | 不允许使用音频设备(麦克风弹窗被拒绝,或被拒绝过)。 | 
| 10004 | video device not allowed | 不允许使用视频设备(摄像头弹窗被拒绝,或被拒绝过)。 | 
| 10005 | audio device not readable | 没有使用音频设备权限(音频设备硬件错误,或浏览器被系统禁止权限,如 Mac-安全性与隐私-隐私-麦克风)。 | 
| 10006 | video device not readable | 没有使用视频设备权限(视频设备硬件错误,或浏览器被系统禁止权限,如 mac-安全性与隐私-隐私-摄像头)。 | 
| 10007 | device constrained error | 获取设备参数错误。 | 
| 10010 | screenshare unknown error | 屏幕共享未知错误。 | 
| 10011 | screenshare not allowed | 不允许屏幕共享。 | 
| 10012 | screenshare ended | 屏幕共享结束。 | 
| 10013 | screenshare no permission | 应用没有屏幕共享的权限。 | 
| 10014 | screenshare invalid access | 屏幕共享获取失败 | 
| 10018 | screenshare not support | 不支持屏幕共享。 | 
| 10019 | device not support | 设备不支持。 | 
| 10101 | http request error | 信令请求失败。 | 
| 10102 | play fail | 播放失败(默认5秒没有返回成功表示播放失败)。 | 
| 10110 | not support webrtc | 不支持WebRTC。 | 
| 10111 | browser not support | 不支持此浏览器。 | 
| 10112 | browser version too low | 浏览器版本过低。 | 
| 10113 | not support h264 | 不支持H.264。 | 
| 10114 | create offer error | create offer失败。 | 
| 10115 | no datachannel | 没有WebRTC数据通道。 | 
| 10116 | init local stream error | 创建本地流失败。 | 
| 10125 | html element not match | 订阅内容和传入的媒体类型不匹配。 | 
| 10201 | auto play failed | 自动播放失败。 | 
| 10202 | play url error | 播放URL协议错误。 | 
| 10203 | subscribe nothing | 没有订阅任何内容。 | 
| 10204 | html element error | 订阅传入的HTML Element不是audio或video。 | 
| 10205 | http request error | HTTP请求失败,可能原因是HTTPS证书问题或跨域访问限制。 | 
| 10206 | http answer error | answer失败。 | 
| 10300 | publish url error | 推流URL错误。 | 
| 10301 | publish no audio | 推流缺少音频。 | 
| 10400 | subscribe reconnecting | 拉流重连中。 | 
| 10401 | publish reconnecting | 推流重连中。 | 
| 10410 | subscribe reconnect fail | 拉流重连失败。 | 
| 10411 | publish reconnect fail | 推流重连失败。 | 
| 11000 | track type audio | track type不存在。 | 
| 11001 | track kind error | media stream track类型错误,例如添加audio,但是传入的是video track。 | 
| 11002 | no audio track error | 没有音频流,至少需要一个audio track。 | 
| 11003 | no custom stream | 没有自定义流。 | 
| 11004 | custom stream invalid | 自定义流不合法。 | 
| 11005 | no custom stream track | 自定义流没有track。 | 
| 12000 | peerconnection error | peer connection异常。 |