WTError

Field Summary

Type

Field

Int

code - Error code

String

localizedDescription - Error message

User Error codes

Codes

Errors

Description

101

userGeneric

  • Invalid participant type

  • Target client is not is not available while in the process of media (un)subscription

  • ICE candidates queue overflow

102

userNotFound

  • Attempting to execute request before joining the Session

  • Addressing client that is not in the Session

103

userClosedError

  • Source or target user has left the Session during the media subscription process

  • Target user has left the Session during SDP exchange

104

existingUserInSession

A Participant tries to join a Session with a name that already exists

105

userNotStreaming

  • Attempting to start a stream with no video and audio

  • Attempting to send SDP response when there was no offer

  • Attempting to subscribe to a client that did not publish anything yet

106

userNotAuthorized

  • Attempting to send synchronization data while not having a synchronizer role

  • Invalid oldParticipantSecret during reconnection

Session Error codes

Codes

Errors

Description

201

sessionGenericError

  • Unable to handle the request as the Session is locked

  • Active requests counter underflow (Internal server logic)

  • The Session is already locked

203

sessionClosed

206

sessionIsFull

Exceeded limit of streaming participants in the room

Media Error codes

Codes

Errors

Description

303

mediaEndpoint

  • Already subscribed to media stream from target client

  • SDP exchange for this media stream is already in progress

  • Timeout during SDP exchange

308

MEDIA_AUDIO_PERMISSION_ERROR_CODE

Microphone permission is not granted

309

MEDIA_VIDEO_PERMISSION_ERROR_CODE

Camera permission is not granted

Transport Error codes

Codes

Errors

Description

801

transportRequest

Failed to make request to media node

802

transportResponse

Invalid response from media node

803

transport

  • Request method is not supported

  • Invalid or missing request field

Generic Error codes

Codes

Errors

Description

-1

unknownError

Internal server error

901

genericConnectionError

The Client closed the connection in the middle of the process of joining the room

999

genericError

The Request is not supported

Token Errors

Codes

Errors

Description

1100

invalidTokenExpired

Token is expired

1101

invalidToken

Token string is not full or incorect input

1102

invalidTokenData

Token string is not full or incorect format

1103

invalidTokenJsonData

Token not contains all required data

Socket Erros

Codes

Errors

Description

1104

invalidSocketURL

Url to socket in invalid

1105

invalidStunServer

Stun server field is not correct

Last updated