OTSubscriberErrorCode
Enumerations of error code values used by [OTSubscriberKitDelegate subscriber:didFailWithError:].
Constants
| Name | Description |
|---|---|
OTSubscriberSuccess |
Ignore. |
OTConnectionTimedOut |
The subscriber timed out while attempting to connect to stream. |
OTSubscriberSessionDisconnected |
The subscriber or captions failed because the client is disconnected from the session. |
OTSubscriberWebRTCError |
The subscriber failed due to a WebRTC error. |
OTSubscriberServerCannotFindStream |
The subscriber failed due to the stream being missing. |
OTSubscriberStreamLimitExceeded |
The client tried to subscriber to a stream in a session that has exceeded the limit for simultaneous streams. |
OTSubscriberInternalError |
The OTSubscriber failed due to an internal error. |
OTSubsriberPeerConnectionNotConnected |
The peer connection is not yet created or connected. |
OTSubscriberCaptionsChangeRateLimitError |
The server rejected a captions change request for the subscriber because too many were made in a short period of time. |
OTSubscriberDecryptionInternalError |
Internal error while decrypting a packet |
EncryptionSecretMismatch |
Secret mismatch while decrypting a packet |
DecryptionUnsupportedCodec |
Unsupported media codec for decryption |
OTSubscriberEncryptionNotEnabled |
An encryption secret was set, but the session was not configured as end-to-end encrypted. |