ErrorsListeners

Public method Summary

Methods

Parameters

onSessionError(fn)

Event listener for handling session availability

Fired when Session has an error

Session error codes

Codes

Errors

Description

206

SESSION_IS_FULL_ERROR_CODE

Exceeded limit of streaming participants in the room

204

SESSION_CANNOT_BE_CREATED_ERROR_CODE

203

SESSION_CLOSED_ERROR_CODE

201

SESSION_GENERIC_ERROR_CODE

107

USER_VIDEO_PERMISSION_DENIED_ERROR_CODE

Occurs when a user that was not granted permission for using web camera tries to join a session

108

USER_AUDIO_PERMISSION_DENIED_ERROR_CODE

Occurs when a user that was not granted permission for using microphone tries to join a session

106

USER_NOT_AUTHORIZED_ERROR_CODE

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

  • Invalid oldParticipantSecret during reconnection

105

USER_NOT_STREAMING_ERROR_CODE

  • 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

104

EXISTING_USER_IN_SESSION_ERROR_CODE

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

103

USER_CLOSED_ERROR_CODE

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

  • Target user has left the Session during SDP exchange

102

USER_NOT_FOUND_ERROR_CODE

  • Attempting to execute request before joining the Session

  • Addressing client that is not in the Session

101

USER_GENERIC_ERROR_CODE

  • Invalid participant type

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

  • ICE candidates queue overflow

Media error codes

Codes

Errors

Description

303

MEDIA_ENDPOINT_ERROR_CODE

  • Already subscribed to media stream from target client

  • SDP exchange for this media stream is already in progress

  • Timeout during SDP exchange

Token error codes

Codes
Errors
Description

1100

TOKEN_EXPIRED

  • Token expired

1101

TOKEN_DATA_IS_NOT_VALID

  • Token data missing required fields

Last updated