Sceenic - WatchTogether
  • Watch Together and Synchronization SDKs
  • Watch together SDK
    • Watch Together SDK overview
    • Authentication overview
    • Tutorials
      • Android
        • Android - Java/Kotlin
      • iOS
        • iOS Swift/Objective-c adapter
      • Web
        • Authentication
        • Create a New Project
        • Adding WT SDK library to the project
        • Installing the NPM package
        • Sample application
          • The conference skeleton
          • Connecting to a Session
          • How to turn on and off video and audio
          • How to change video quality
          • Errors handling
          • Leave the call
        • Support
    • API references
      • Android reference
        • Session
        • SessionListener
        • SessionReconnectListener
        • SessionConnectionListener
        • Participant
          • ParticipantType
        • SessionError
      • iOS Swift reference
        • Session
        • SessionDelegate
        • Participant
        • ParticipantActiveSpeakerDelegate
        • ParticipantDelegate
        • LocalParticipant
        • WTError
        • DataTypes
      • iOS Objective-c adapter reference
        • SessionAdapter
        • SessionAdapterDelegate
        • ParticipantAdapter
        • LocalParticipantAdapter
        • ParticipantAdpaterDelegate
        • ParticipantAdapterActiveSpeakerDelegate
        • NSError
        • DataTypes
      • Web reference
        • WT Session
          • WTSession.connect(sToken, pName, uC, m)
          • WTSession.connectAsAViewer(sToken, pName)
          • WTSession.connectWithSharingScreen(sToken, pName)
          • WTSession.disconnect()
          • WTSession.enableStats()
          • WTSession.sendMessage(msg)
          • WTSession.sendPlayerData(time)
          • async WTSession.getSessionState()
        • SessionListeners
          • WTSessionListeners.onConnected(fn)
          • WTSessionListeners.onDisconnected(fn)
          • WTSessionListeners.onStreamCreated(fn)
          • WTSessionListeners.onLocalStreamCreated(fn)
          • WTSessionListeners.onMosReport(fn)
          • WTSessionListeners.offMosReport(fn)
          • WTSessionListeners.onMessageReceived(fn)
          • WTSessionListeners.onSyncData(fn)
          • WTSessionListeners.onIceDisconnected(fn)
        • Participant
          • setMediaQuality
        • ParticipantListeners
        • ErrorsListeners
        • ReconnectListeners
        • MediaDevices
      • Cluster authentication service reference (CAS)
  • Synchronization SDK
    • Synchronization SDK overview
    • Tutorials
      • Android
        • Android - Java/Kotlin
      • iOS
        • iOS - Swift/Objective-c
      • Web
        • Installing the NPM package
        • Web - TypeScript/React
        • v2.0 Migration Guide
    • API references
      • Android reference
        • SynchSDK
        • SynchListener
      • iOS reference
        • SynchSDK
        • SynchListener
      • Web reference
  • Celebrity SDK
    • Celebrity SDK overview
    • Tutorials
      • Web
        • Installing the NPM package
        • Web - TypeScript/React
    • API References
      • Web reference
  • Chat SDK
    • Chat SDK overview
    • Tutorials
      • Web
        • Installing the NPM package
        • Web - TypeScript/React
    • API Refences
      • Web reference
  • Public Chat SDK
    • Public Chat SDK overview
    • Tutorials
      • Web
        • Installing the NPM package
        • Web - TypeScript/React
    • API Refences
      • Web reference
  • Celebrity Watch Party
    • Web application
    • Android
    • iOS
    • Celebrity View & Fan View
Powered by GitBook
On this page
  • Public method Summary
  • Session error codes
  • Media error codes
  • Token error codes

Was this helpful?

  1. Watch together SDK
  2. API references
  3. Web reference

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

PreviousParticipantListenersNextReconnectListeners

Last updated 3 years ago

Was this helpful?