OTSubscriberErrorCode Constants Reference

Declared in OTError.h

OTSubscriberErrorCode

Enumerations of error code values used by [OTSubscriberKitDelegate subscriber:didFailWithError:].

Definition

typedef NS_ENUM(int32_t, OTSubscriberErrorCode ) {
   OTSubscriberSuccess = 0,
   OTConnectionTimedOut = 1542,
   OTSubscriberSessionDisconnected = 1010,
   OTSubscriberWebRTCError = 1600,
   OTSubscriberServerCannotFindStream = 1604,
   OTSubscriberStreamLimitExceeded = 1605,
   OTSubscriberInternalError = 2000,
   OTSubsriberPeerConnectionNotConnected = 1606,
   OTSubscriberDecryptionInternalError = 6002,
   EncryptionSecretMismatch = 6003,
};

Constants

OTSubscriberSuccess

Ignore. Used internally.

Declared In OTError.h.

OTConnectionTimedOut

The subscriber timed out while attempting to connect to stream. Try subscribing again.

Declared In OTError.h.

OTSubscriberSessionDisconnected

The subscriber or captions failed because the client is disconnected from the session.

Declared In OTError.h.

OTSubscriberWebRTCError

The subscriber failed due to a WebRTC error. Check the error description for details.

Declared In OTError.h.

OTSubscriberServerCannotFindStream

The subscriber failed due to the stream being missing. This can happen if the subscriber is created at the same time the stream is removed from the session (eg. as a result of [OTSession unpublish:error:]).

Declared In OTError.h.

OTSubscriberStreamLimitExceeded

The client tried to subscriber to a stream in a session that has exceeded the limit for simultaneous streams.

Declared In OTError.h.

OTSubscriberInternalError

The OTSubscriber failed due to an internal error.

Declared In OTError.h.

OTSubsriberPeerConnectionNotConnected

The peer connection is not yet created or connected.

Declared In OTError.h.

OTSubscriberDecryptionInternalError

Internal error while decrypting a packet

Declared In OTError.h.

EncryptionSecretMismatch

Secret mismatch while decrypting a packet

Declared In OTError.h.

Declared In

OTError.h