OTPublisherErrorCode
Enumerations of error code values used by [OTPublisherKitDelegate publisher:didFailWithError:].
Constants
| Name | Description |
|---|---|
OTPublisherSuccess |
Ignore. |
OTSessionDisconnected |
Attempting to publish or set captions to a disconnected session. |
OTPublisherInternalError |
Thread dispatch failure, out of memory, etc. |
OTPublisherWebRTCError |
The publisher failed due to a WebRTC error. |
OTPublisherCaptionsChangeRateLimitError |
The server rejected a captions change request for the publisher because too many were made in a short period of time. |
OTPublisherEncryptionInternalError |
Internal error while encrypting a packet |
EncryptionUnsupportedCodec |
Unsupported media codec for encryption |
OTPublisherInvalidScalabilityMode |
The scalability mode string passed to setTargetScalabilityMode:error: is nil or not one of the supported values (L1T1–L3T3). |
OTPublisherEncryptionNotEnabled |
An encryption secret was set, but the session was not configured as end-to-end encrypted. |