通过阅读本文,您可以了解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 | 没有使用音频设备权限。 |
10006 | video device not readable | 没有使用视频设备权限。 |
10007 | device constrained error | 获取设备参数错误。 |
10010 | screenshare unknown error | 屏幕共享未知错误。 |
10011 | screenshare not allowed | 不允许屏幕共享。 |
10012 | screenshare ended | 屏幕共享结束。 |
10013 | screenshare no permission | 应用没有屏幕共享的权限。 |
10018 | screenshare 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失败。 |
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请求失败。 |
10206 | http answer error | answer失败。 |
10300 | publish url error | 推流URL错误。 |
10301 | publish no audio | 推流缺少音频。 |
11000 | track type audio | track type不存在。 |
11001 | track kind error | media stream track类型错误,例如添加audio,但是传入的是video track。 |
11002 | no audio track error | 没有音频流,至少需要一个audio track。 |
12000 | peerconnection error | peer connection异常。 |