OTPublisherErrorCode Constants Reference

Declared in OTError.h

OTPublisherErrorCode

Enumerations of error code values used by [OTPublisherKitDelegate publisher:didFailWithError:].

Definition

typedef NS_ENUM(int32_t, OTPublisherErrorCode ) {
   OTPublisherSuccess = 0,
   OTSessionDisconnected = 1010,
   OTPublisherInternalError = 2000,
   OTPublisherWebRTCError = 1610,
   OTPublisherEncryptionInternalError = 6001,
};

Constants

OTPublisherSuccess

Ignore. Used internally.

Declared In OTError.h.

OTSessionDisconnected

Attempting to publish or set captions to a disconnected session.

Declared In OTError.h.

OTPublisherInternalError

Thread dispatch failure, out of memory, etc.

Declared In OTError.h.

OTPublisherWebRTCError

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

Declared In OTError.h.

OTPublisherEncryptionInternalError

Internal error while encrypting a packet

Declared In OTError.h.

Declared In

OTError.h