OTSubscriberErrorCode Constants Reference

Declared in OTError.h

OTSubscriberErrorCode

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

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.

OTSubscriberCaptionsChangeRateLimitError

The server rejected a captions change request for the subscriber because too many were made in a short period of time. The operation can be retried after a few seconds.

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.

DecryptionUnsupportedCodec

Unsupported media codec for decryption

Declared In OTError.h.

OTSubscriberEncryptionNotEnabled

An encryption secret was set, but the session was not configured as end-to-end encrypted.

Declared In OTError.h.

Declared In

OTError.h