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 = 1541,
   OTSubscriberWebRTCError = 1600,
   OTSubscriberServerCannotFindStream = 1604,
   OTSubscriberInternalError = 2000,
};

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 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.

OTSubscriberInternalError

The OTSubscriber failed due to an internal error.

Declared In OTError.h.

Declared In

OTError.h