This topic describes error codes of different versions of RTS Web SDKs.

V2.0.0

Error code Error message Description
10000 device unknown error The error message returned because an unknown error occurred on the device.
10001 audio device not found The error message returned because no audio devices were found.
10002 video device not found The error message returned because no video devices were found.
10003 audio device not allowed The error message returned because no audio devices are allowed to use.
10004 video device not allowed The error message returned because no video devices are allowed to use.
10005 audio device not readable The error message returned because you do not have the permissions to use audio devices.
10006 video device not readable The error message returned because you do not have the permissions to use video devices.
10007 device constrained error The error message returned because device parameters failed to be obtained.
10010 screenshare unknown error The error message returned because an unknown error occurred in screen sharing.
10011 screenshare not allowed The error message returned because screen sharing is not allowed.
10012 screenshare ended The error message returned because screen sharing ended.
10013 screenshare no permission The error message returned because the application is not authorized to share screens.
10018 screenshare not support The error message returned because screen sharing is not supported.
10101 http request error The error message returned because a signaling request error occurred.
10102 play fail The error message returned because the playback failed. By default, if the successful response to the playback request is not returned within 5 seconds, the playback fails.
10110 not support webrtc The error message returned because WebRTC is not supported.
10111 browser not support The error message returned because the browser is not supported.
10112 browser version too low The error message returned because the browser version is outdated.
10113 not support h264 The error message returned because H.264 is not supported.
10114 create offer error The error message returned because the offer failed to be created.
10125 html element not match The error message returned because the media type of the stream that is subscribed to does not match that of the ingested stream.
10201 auto play failed The error message returned because autoplay failed.
10202 play url error The error message returned because the streaming URL uses an invalid protocol.
10203 subscribe nothing The error message returned because no streams are subscribed to.
10204 html element error The error message returned because the media type of the stream that is subscribed to and ingested is not audio or video.
10205 create offer error The error message returned because the offer failed to be created when Real-Time Communication (RTC) is not supported by the browser.
10206 http request error The error message returned because the HTTP request failed.
10207 http request error The error message returned because the answer failed.
10300 publish url error The error message returned because the ingest URL is invalid.
10301 publish no audio The error message returned because no audio streams were found in stream pushing.
11000 track type audio The error message returned because the track type does not exist.
11001 track kind error The error message returned because the track type of the input media stream is invalid. For example, the specified media type is audio, but the input track is a video track.
11002 no audio track error The error message returned because no audio streams were found. Add at least one audio track.
12000 peerconnection error The error message returned because an peer connection error occurred.

Earlier versions (V1.1.0 to V1.2.4)

Error code Error message Description
10001 http request error The error message returned because a signaling request error occurred.
10002 play failed The error message returned because the playback failed.
10010 not support webrtc The error message returned because WebRTC is not supported.
10011 browser not support The error message returned because the browser is not supported.
10012 browser version too low The error message returned because the browser version is outdated.
10013 not support h264 The error message returned because H.264 is not supported.
10014 create offer error The error message returned because the offer failed to be created.
10201 auto play failed The error message returned because autoplay failed.