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
  • Field Summary
  • User Error codes
  • Session Error codes
  • Media Error codes
  • Transport Error codes
  • Generic Error codes
  • Token Errors
  • Socket Erros

Was this helpful?

  1. Watch together SDK
  2. API references
  3. iOS Objective-c adapter reference

NSError

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

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

1101

invalidToken

1102

invalidTokenData

1103

invalidTokenJsonData

Socket Erros

Codes

Errors

1104

invalidSocketURL

1105

invalidStunServer

PreviousParticipantAdapterActiveSpeakerDelegateNextDataTypes

Last updated 4 years ago

Was this helpful?