IVSBroadcastErrorCode
Objective-C
enum IVSBroadcastErrorCode : NSInteger {}
Swift
enum IVSBroadcastErrorCode : Int, @unchecked Sendable
Error codes for IVS Broadcast
-
Network connection failed during initialization due to system resource constraints. Verify network availability and retry the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketCreationFailed = 201Swift
case netSocketCreationFailed = 201 -
Network connection setup failed due to configuration issues. Check network connectivity and retry the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketConfigurationFailed = 202Swift
case netSocketConfigurationFailed = 202 -
Unable to establish network connection to the streaming server. Verify network connectivity and that the stream URL is accessible.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketConnectFailed = 203Swift
case netSocketConnectFailed = 203 -
Failed to send data over the network connection. Check network stability and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketSendFailed = 204Swift
case netSocketSendFailed = 204 -
Failed to receive data from the streaming server. Check network stability and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketRecvFailed = 205Swift
case netSocketRecvFailed = 205 -
The streaming server closed the connection unexpectedly. Verify no other users are streaming to this endpoint and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketRecvFailedEOF = 206Swift
case netSocketRecvFailedEOF = 206 -
Network connection closed unexpectedly during stream playback. Check network stability and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketRemoteHangup = 207Swift
case netSocketRemoteHangup = 207 -
Network error occurred during stream playback. Verify network connectivity and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketRemoteError = 208Swift
case netSocketRemoteError = 208 -
Network latency measurement is unavailable on this device. Streaming will continue without latency metrics.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketGetRttFailedNotSupportedOnThisSystem = 212Swift
case netSocketGetRttFailedNotSupportedOnThisSystem = 212 -
Network send buffer configuration failed. Check network conditions and retry the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetSocketSendLowWaterFailed = 213Swift
case netSocketSendLowWaterFailed = 213 -
Unable to resolve the streaming server hostname. Check network connectivity and verify the stream URL is correct.
Declaration
Objective-C
IVSBroadcastErrorCodeNetCouldNotResolveAddress = 214Swift
case netCouldNotResolveAddress = 214 -
Network metrics calculation failed due to invalid configuration. This is an internal error that should not affect streaming, but calculated transmission statistics may be impacted.
Declaration
Objective-C
IVSBroadcastErrorCodeNetGetAverageOutgoingRateFailed = 300Swift
case netGetAverageOutgoingRateFailed = 300 -
Network congestion measurement failed due to invalid configuration. This is an internal error that should not affect streaming, but calculated transmission statistics may be impacted.
Declaration
Objective-C
IVSBroadcastErrorCodeNetGetEstimatedCongestionLevelFailed = 301Swift
case netGetEstimatedCongestionLevelFailed = 301 -
Secure connection data transmission failed due to protocol violation. Restart the stream to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSendFailedBadWriteRetry = 400Swift
case netTLSSendFailedBadWriteRetry = 400 -
Data transmission attempted before secure connection was established. Restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSendFailedAttemptedToSendWhileHandshaking = 401Swift
case netTLSSendFailedAttemptedToSendWhileHandshaking = 401 -
Data transmission attempted after connection was closed. Restart the stream to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSendFailedAttemptedToSendWhileDisconnected = 402Swift
case netTLSSendFailedAttemptedToSendWhileDisconnected = 402 -
Data reception attempted before secure connection was established. Restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSRecvFailedAttemptedToRecvWhileHandshaking = 403Swift
case netTLSRecvFailedAttemptedToRecvWhileHandshaking = 403 -
Data reception attempted after connection was closed. Restart the stream to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSRecvFailedAttemptedToRecvWhileDisconnected = 404Swift
case netTLSRecvFailedAttemptedToRecvWhileDisconnected = 404 -
The streaming server closed the connection. Verify no other users are streaming to this endpoint and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSRecvFailedAttemptedToRecvAfterReceivingShutdownFromPeer = 405Swift
case netTLSRecvFailedAttemptedToRecvAfterReceivingShutdownFromPeer = 405 -
Data reception attempted while connection is closing. This is expected during stream shutdown.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSRecvFailedAttemptedToRecvWhileShuttingDown = 406Swift
case netTLSRecvFailedAttemptedToRecvWhileShuttingDown = 406 -
Secure connection initialization failed. This is usually an allocation failure, the device may not be able to allocate more memory to the process.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSHandshakeFailedCouldNotCreateSslInstance = 407Swift
case netTLSHandshakeFailedCouldNotCreateSslInstance = 407 -
Failed to send data over secure connection. Check network stability and restart the stream. This could also be caused by a firewall restricting access to the provided domain.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSendFailedOpenSSLError = 408Swift
case netTLSSendFailedOpenSSLError = 408 -
Failed to receive data over secure connection. Check network stability and restart the stream.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSRecvFailedOpenSSLError = 409Swift
case netTLSRecvFailedOpenSSLError = 409 -
Secure connection handshake failed. Verify network connectivity and restart the stream. This could also be caused by a firewall restricting access to the provided domain.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSHandshakeFailedOpenSSLError = 410Swift
case netTLSHandshakeFailedOpenSSLError = 410 -
Certificate verification setup failed during secure connection. Restart the stream to retry the connection. This could also be caused by a firewall restricting access to the provided domain.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSFailedToGetX509Param = 411Swift
case netTLSFailedToGetX509Param = 411 -
Server hostname configuration failed during secure connection setup. Verify the stream URL and restart the stream. This could also be caused by a firewall restricting access to the provided domain.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSetSNIFailed = 412Swift
case netTLSSetSNIFailed = 412 -
Certificate hostname verification setup failed. Verify the stream URL is correct and restart the stream. This could also be caused by a firewall restricting access to the provided domain.
Declaration
Objective-C
IVSBroadcastErrorCodeNetTLSSetExpectedHostFailed = 413Swift
case netTLSSetExpectedHostFailed = 413 -
Internal timing mechanism failed. This may prevent efficient DNS resolution.
Declaration
Objective-C
IVSBroadcastErrorCodeNetEventLoopFailedToCreateTimer = 500Swift
case netEventLoopFailedToCreateTimer = 500 -
Server did not accept WebSocket connection request.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeInvalidUpgradeResponse = 600Swift
case netWebSocketHandshakeInvalidUpgradeResponse = 600 -
WebSocket handshake validation failed.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeInvalidAcceptKey = 601Swift
case netWebSocketHandshakeInvalidAcceptKey = 601 -
Server selected a WebSocket protocol not supported by the client. Verify the events URL is correct and restart the session.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeProtocolNegotiationFailed = 602Swift
case netWebSocketHandshakeProtocolNegotiationFailed = 602 -
WebSocket connection took too long to establish. Check network connectivity and retry the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeTimeout = 603Swift
case netWebSocketHandshakeTimeout = 603 -
Server rejected WebSocket connection with unexpected status code. Verify the events URL supports WebSocket connections.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeInvalidStatusCode = 604Swift
case netWebSocketHandshakeInvalidStatusCode = 604 -
Server response headers do not meet WebSocket protocol requirements. Verify the events URL is correct and supports WebSocket.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketHandshakeInvalidHeaders = 605Swift
case netWebSocketHandshakeInvalidHeaders = 605 -
Received malformed data from the streaming server. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameInvalidOpcode = 620Swift
case netWebSocketFrameInvalidOpcode = 620 -
Received data with invalid length from the streaming server. Restart the connection to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameInvalidLength = 621Swift
case netWebSocketFrameInvalidLength = 621 -
Server violated WebSocket protocol by sending masked data. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameInvalidMask = 622Swift
case netWebSocketFrameInvalidMask = 622 -
Server sent control message exceeding protocol limit. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameControlFrameTooLarge = 623Swift
case netWebSocketFrameControlFrameTooLarge = 623 -
Received text message with invalid character encoding from the server. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameInvalidUTF8 = 624Swift
case netWebSocketFrameInvalidUTF8 = 624 -
Server violated WebSocket protocol by setting reserved bits. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameReservedBitsSet = 625Swift
case netWebSocketFrameReservedBitsSet = 625 -
Received partial data from the streaming server. This is typically handled automatically by waiting for more data and should not impact the session.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameIncompleteData = 626Swift
case netWebSocketFrameIncompleteData = 626 -
Server violated WebSocket protocol by fragmenting a control message. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketFrameControlFrameFragmented = 627Swift
case netWebSocketFrameControlFrameFragmented = 627 -
Received message exceeds maximum allowed size. Restart the session to re-establish the connection.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketProtocolMessageTooLarge = 641Swift
case netWebSocketProtocolMessageTooLarge = 641 -
Attempted to send data before WebSocket connection was ready. This is an internal SDK and the session should be retried.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketProtocolConnectionNotEstablished = 642Swift
case netWebSocketProtocolConnectionNotEstablished = 642 -
WebSocket connection took too long to establish. Check network connectivity and restart the session.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketConnectionTimeout = 660Swift
case netWebSocketConnectionTimeout = 660 -
The streaming server closed the WebSocket connection. Check network connectivity and restart the session.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketConnectionLost = 661Swift
case netWebSocketConnectionLost = 661 -
Server did not acknowledge connection close request in time. The connection will be terminated forcefully.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketConnectionCloseTimeout = 662Swift
case netWebSocketConnectionCloseTimeout = 662 -
The client sent a WebSocket PING on the idle WebSocket but no PONG was received within the timeout period. It is likely the socket has disconnected but hasn’t yet reached the TCP idle timeout. The WebSocket will automatically attempt to reconnect.
Declaration
Objective-C
IVSBroadcastErrorCodeNetWebSocketConnectionPongTimeout = 663Swift
case netWebSocketConnectionPongTimeout = 663 -
The streaming server rejected the connection or encountered an error. Check your stream key and server configuration, then retry.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPNetConnectionErrorReceivedFromServer = 3007Swift
case rtmpNetConnectionErrorReceivedFromServer = 3007 -
Timed metadata payload exceeds the 10KB limit. Reduce the metadata size to stay within the allowed limit.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPNotStreamContentsTooLarge = 3110Swift
case rtmpNotStreamContentsTooLarge = 3110 -
Cannot start broadcast when already started. Stop the current broadcast and create a new BroadcastSession before starting a new stream.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPStateNotUnknown = 3200Swift
case rtmpStateNotUnknown = 3200 -
Received data from server in an unexpected state. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedStateProcessingData = 3201Swift
case rtmpUnexpectedStateProcessingData = 3201 -
The streaming server is using an incompatible RTMP version. Verify the server configuration and ensure it supports standard RTMP.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnsupportedRTMPVersion = 3202Swift
case rtmpUnsupportedRTMPVersion = 3202 -
Received invalid data from the streaming server. Verify the server URL is correct and supports RTMP streaming.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPDataDoesNotLookLikeRTMP = 3203Swift
case rtmpDataDoesNotLookLikeRTMP = 3203 -
Server sent data before establishing the stream. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUninitializedChunkStream = 3204Swift
case rtmpUninitializedChunkStream = 3204 -
Server sent control message on wrong stream. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPControlMessageOnNonNetConnection = 3205Swift
case rtmpControlMessageOnNonNetConnection = 3205 -
Server sent malformed chunk size message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthSetChunkSize = 3206Swift
case rtmpUnexpectedLengthSetChunkSize = 3206 -
Server requested invalid chunk size (must be 1-16777215 bytes). This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedChunkSizeValue = 3207Swift
case rtmpUnexpectedChunkSizeValue = 3207 -
Server sent malformed abort message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthAbortMessage = 3208Swift
case rtmpUnexpectedLengthAbortMessage = 3208 -
Server sent abort message with invalid stream ID. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedChunkStreamIdAbort = 3209Swift
case rtmpUnexpectedChunkStreamIdAbort = 3209 -
Server tried to abort a stream that was never initialized. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPAbortOnUninitializedChunkStream = 3210Swift
case rtmpAbortOnUninitializedChunkStream = 3210 -
Server sent malformed acknowledgement message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthAckControl = 3211Swift
case rtmpUnexpectedLengthAckControl = 3211 -
Server sent malformed window acknowledgement size message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthWindowAckSize = 3212Swift
case rtmpUnexpectedLengthWindowAckSize = 3212 -
Server sent malformed bandwidth control message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthSetPeerBandwidth = 3213Swift
case rtmpUnexpectedLengthSetPeerBandwidth = 3213 -
Server sent malformed user control message. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthUserControl = 3214Swift
case rtmpUnexpectedLengthUserControl = 3214 -
Server sent malformed ping request. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPUnexpectedLengthPingRequest = 3215Swift
case rtmpUnexpectedLengthPingRequest = 3215 -
Server sent message exceeding maximum allowed size. This indicates a protocol error; restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeRTMPAMFDecodeLimitExceeded = 3300Swift
case rtmpamfDecodeLimitExceeded = 3300 -
Audio mixer received empty audio buffer. Ensure audio sources are providing valid data before mixing.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastAudioMixerMissingData = 20004Swift
case broadcastAudioMixerMissingData = 20004 -
Session must be configured before starting a broadcast. Call setup() before attempting to start streaming.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionNotReady = 20100Swift
case broadcastBroadcastSessionNotReady = 20100 -
Operation requires an active broadcast connection. Start streaming before calling this method.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionNotStreaming = 20101Swift
case broadcastBroadcastSessionNotStreaming = 20101 -
Cannot start a new broadcast while already streaming or running a network test. Stop the current session first.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionAlreadyStreaming = 20102Swift
case broadcastBroadcastSessionAlreadyStreaming = 20102 -
Metadata payload exceeds the 10KB limit. Reduce the metadata size before sending.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionMetadataTooLarge = 20103Swift
case broadcastBroadcastSessionMetadataTooLarge = 20103 -
Streaming URL or key exceeds the 64KB limit. Verify the endpoint and stream key are valid.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionEndpointOrKeyTooLong = 20104Swift
case broadcastBroadcastSessionEndpointOrKeyTooLong = 20104 -
Streaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBroadcastSessionInvalidScheme = 20105Swift
case broadcastBroadcastSessionInvalidScheme = 20105 -
Cannot add a slot with a duplicate name. Use a unique name or remove the existing slot first.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMixerAddSlotNameAlreadyExists = 20230Swift
case broadcastMixerAddSlotNameAlreadyExists = 20230 -
Cannot remove a slot that doesn’t exist. Verify the slot name is correct.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMixerRemoveSlotNotFound = 20231Swift
case broadcastMixerRemoveSlotNotFound = 20231 -
Video sample was ignored because no slot is bound to receive it. This is informational and typically expected behavior.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMixerSampleIgnoredNoSlot = 20232Swift
case broadcastMixerSampleIgnoredNoSlot = 20232 -
Network bandwidth is insufficient for streaming. A stream can still be started, but it is expected to perform very poorly even at a low minimum bitrate.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastConnectionTestSessionBandwidthTooLow = 20301Swift
case broadcastConnectionTestSessionBandwidthTooLow = 20301 -
Network test was canceled before completion. Start a new test if you need recommended settings.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastConnectionTestSessionCanceled = 20302Swift
case broadcastConnectionTestSessionCanceled = 20302 -
Video keyframe is missing required codec configuration data. Possible bad encoder output, restart the BroadcastSession to recreate the encoder.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBadSyncSample = 20400Swift
case broadcastBadSyncSample = 20400 -
Network latency exceeded acceptable limits and the broadcast was stopped. Improve network stability or reduce bitrate.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastLatencyThresholdReached = 20401Swift
case broadcastLatencyThresholdReached = 20401 -
Stream stop operation did not complete successfully. Wait 30 seconds before streaming to the same channel again.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastStopFailedToComplete = 20402Swift
case broadcastStopFailedToComplete = 20402 -
Video pixel format is not supported by the device. Use a supported format like NV12 or RGBA.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastRenderContextUnsupportedPixelFormat = 21000Swift
case broadcastRenderContextUnsupportedPixelFormat = 21000 -
Background image source received no valid images before finalization. Ensure images are submitted before stopping the source.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastBackgroundVideoNoValidImagesReceived = 21200Swift
case broadcastBackgroundVideoNoValidImagesReceived = 21200 -
Image buffer stride value is invalid for the specified dimensions. Verify stride matches pixel format requirements.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferBadStride = 21250Swift
case broadcastImageBufferBadStride = 21250 -
Image buffer size is too small for the specified dimensions and format. Check that the input buffer provided is valid.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferNotEnoughData = 21251Swift
case broadcastImageBufferNotEnoughData = 21251 -
Image buffer size exceeds expected size for the specified dimensions and format. Verify buffer size calculation.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferTooMuchData = 21252Swift
case broadcastImageBufferTooMuchData = 21252 -
Image pixel format is not supported on this device. Use a supported format like NV12 or RGBA.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferUnsupportedFormat = 21253Swift
case broadcastImageBufferUnsupportedFormat = 21253 -
Image buffer content size did not equal width * height * bits per pixel. Check to make sure the image buffer was not corrupted.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferContentSizeMismatch = 21254Swift
case broadcastImageBufferContentSizeMismatch = 21254 -
Image buffer pixel format cannot be changed after creation. Create a new buffer with the desired format.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferFormatMismatch = 21255Swift
case broadcastImageBufferFormatMismatch = 21255 -
Image buffer is invalid or was destroyed. Verify the buffer is properly initialized before use.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferNotValid = 21256Swift
case broadcastImageBufferNotValid = 21256 -
Image data pointer is null or invalid. Provide valid image data before submitting.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferBadData = 21257Swift
case broadcastImageBufferBadData = 21257 -
Operation is not supported for this image buffer type. Use a compatible buffer or operation.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferNotSupported = 21258Swift
case broadcastImageBufferNotSupported = 21258 -
Codec support configuration is not yet available. Retry codec discovery after a brief delay.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCodecDiscoveryDeviceConfigKeyMissing = 21300Swift
case broadcastCodecDiscoveryDeviceConfigKeyMissing = 21300 -
Codec is disabled for this streaming channel.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCodecDiscoveryDeviceConfigDisabledChannel = 21302Swift
case broadcastCodecDiscoveryDeviceConfigDisabledChannel = 21302 -
HEVC codec is not supported on this device with the current configuration. Use AVC instead.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCodecDiscoveryDeviceConfigDisabledDevice = 21303Swift
case broadcastCodecDiscoveryDeviceConfigDisabledDevice = 21303 -
Video encoder produced frames with non-increasing timestamps. This device may not support the selected codec reliably.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVideoEncoderValidatorDecodeTimeDecreasing = 21304Swift
case broadcastVideoEncoderValidatorDecodeTimeDecreasing = 21304 -
Video encoder is missing required codec configuration data (SPS/PPS/VPS). This device may not support the selected codec reliably.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVideoEncoderValidatorDecodeMissingOrIncorrectCodecData = 21305Swift
case broadcastVideoEncoderValidatorDecodeMissingOrIncorrectCodecData = 21305 -
Video encoder is too slow or stopped responding during validation. This device may not support the selected codec or quality settings.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVideoEncoderValidatorEncodeTimeout = 21306Swift
case broadcastVideoEncoderValidatorEncodeTimeout = 21306 -
Video encoder produced an unexpected number of keyframes during validation. This device may not support the selected codec reliably.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVideoEncoderValidatorIncorrectKeyframeCount = 21307Swift
case broadcastVideoEncoderValidatorIncorrectKeyframeCount = 21307 -
Failed to establish streaming connection to the server. Check network connectivity and verify the streaming URL is correct.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastNetConnectionConnectFailed = 21500Swift
case broadcastNetConnectionConnectFailed = 21500 -
Failed to start publishing the stream to the server. Verify the stream key is valid and the channel is not already streaming.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastNetStreamPublishFailed = 21501Swift
case broadcastNetStreamPublishFailed = 21501 -
Streaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastInvalidScheme = 21503Swift
case broadcastInvalidScheme = 21503 -
Streaming URL is missing a valid port number and no default is available. Verify the URL format is correct.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCouldNotDeterminePort = 21504Swift
case broadcastCouldNotDeterminePort = 21504 -
Streaming URL contains an invalid port number. Use a port between 1 and 65535.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastInvalidPort = 21505Swift
case broadcastInvalidPort = 21505 -
Audio statistics are unavailable because no audio data has been processed. Ensure audio sources are active and producing data.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastAudioStatsNoData = 21600Swift
case broadcastAudioStatsNoData = 21600 -
Cannot embed an empty message in the video stream. Provide valid message data before calling this method.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastEmbedMessagePayloadEmpty = 21700Swift
case broadcastEmbedMessagePayloadEmpty = 21700 -
Message data exceeds the 1KB limit for embedding in video frames. Reduce the message size to 1KB or less.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastEmbedMessagePayloadTooLarge = 21701Swift
case broadcastEmbedMessagePayloadTooLarge = 21701 -
Message repeat count is outside the valid range of 0-30. Adjust the repeat count to be within this range.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastEmbedMessageInvalidRepeatCount = 21702Swift
case broadcastEmbedMessageInvalidRepeatCount = 21702 -
Message embedding rate limit exceeded (10KB per second). Reduce message frequency or size to stay within the limit.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastEmbedMessageRateLimitExceeded = 21703Swift
case broadcastEmbedMessageRateLimitExceeded = 21703 -
Video rendering failed because no output buffer was provided. Ensure a valid destination buffer is set before rendering.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCoreImageRenderContextMissingDestinationBuffer = 30000Swift
case broadcastCoreImageRenderContextMissingDestinationBuffer = 30000 -
Video rendering shader is missing from the SDK bundle. Verify the SDK was packaged correctly and all resources are included.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMetalRenderContextKernelNotFound = 30105Swift
case broadcastMetalRenderContextKernelNotFound = 30105 -
Video rendering initialization failed on this device. This indicates a device compatibility issue with Metal graphics.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMetalRenderContextSamplerCreationFailed = 30106Swift
case broadcastMetalRenderContextSamplerCreationFailed = 30106 -
Video encoder failed repeatedly and cannot recover. This device may not support the selected codec or quality settings reliably.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVideoEncoderRecreateFailedTooManyTimes = 32001Swift
case broadcastVideoEncoderRecreateFailedTooManyTimes = 32001 -
SSL certificate validation encountered an internal error. Check network connectivity and verify the streaming endpoint uses valid certificates.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCertValidatorInternalError = 32400Swift
case broadcastCertValidatorInternalError = 32400 -
Failed to load trusted certificate authorities for SSL validation. This indicates a system configuration issue.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCertValidatorFailedToLoadTrustRoots = 32401Swift
case broadcastCertValidatorFailedToLoadTrustRoots = 32401 -
SSL certificate hostname validation failed. Verify the streaming URL matches the certificate and the endpoint is correct.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCertValidatorFailedToValidateHost = 32402Swift
case broadcastCertValidatorFailedToValidateHost = 32402 -
SSL certificate chain is empty or invalid. Verify the streaming endpoint provides valid certificates.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCertValidatorFailedToFindTarget = 32403Swift
case broadcastCertValidatorFailedToFindTarget = 32403 -
SSL certificate validation failed. Verify the streaming endpoint uses valid, non-expired certificates.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCertValidatorFailedToValidateCert = 32404Swift
case broadcastCertValidatorFailedToValidateCert = 32404 -
Audio encoding failed during compression. The encoder will attempt to reset and continue streaming.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastATAudioEncoderFillBuffer = 40001Swift
case broadcastATAudioEncoderFillBuffer = 40001 -
Failed to configure audio encoder with required settings. Verify audio configuration is supported on this device.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastATAudioEncoderSetProperty = 40002Swift
case broadcastATAudioEncoderSetProperty = 40002 -
Failed to retrieve audio encoder configuration. The encoder may not support the requested audio format.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastATAudioEncoderGetProperty = 40003Swift
case broadcastATAudioEncoderGetProperty = 40003 -
Failed to initialize audio encoder. Verify audio configuration matches device capabilities.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastATAudioEncoderCreate = 40004Swift
case broadcastATAudioEncoderCreate = 40004 -
Video encoder repeatedly failed and cannot recover. Stop and restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderRecreateFailedTooManyTimes = 40100Swift
case broadcastVTVideoEncoderRecreateFailedTooManyTimes = 40100 -
Video frame encoding failed. The encoder has stopped and the broadcast session must be restarted.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderFailedToEncodeFrame = 40101Swift
case broadcastVTVideoEncoderFailedToEncodeFrame = 40101 -
Failed to extract encoded video data from compression buffer. The broadcast session must be restarted.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderExtractBufferFromCompressedFrameError = 40102Swift
case broadcastVTVideoEncoderExtractBufferFromCompressedFrameError = 40102 -
Failed to configure video encoder with required settings. Verify video configuration is supported on this device.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderSetProperty = 40103Swift
case broadcastVTVideoEncoderSetProperty = 40103 -
Failed to initialize video encoder. Verify video configuration matches device capabilities.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderCreate = 40104Swift
case broadcastVTVideoEncoderCreate = 40104 -
Failed to query video encoder capabilities. The device may not support the requested video format.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderGetSupportedProperties = 40105Swift
case broadcastVTVideoEncoderGetSupportedProperties = 40105 -
Video encoder failed to initialize for encoding. Stop and restart the broadcast session.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderPrepareToEncodeFrames = 40106Swift
case broadcastVTVideoEncoderPrepareToEncodeFrames = 40106 -
Unable to identify the hardware encoder in use. This is informational and does not affect streaming.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderFailedToReadEncoderName = 40107Swift
case broadcastVTVideoEncoderFailedToReadEncoderName = 40107 -
Low latency encoding mode is unavailable on this device, using standard encoder instead. Streaming will continue with slightly higher latency.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderFailedToUseLowLatency = 40108Swift
case broadcastVTVideoEncoderFailedToUseLowLatency = 40108 -
Video encoder rejected the requested bitrate setting. The encoder will use a default bitrate instead.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastVTVideoEncoderFailedToSetBitrate = 40109Swift
case broadcastVTVideoEncoderFailedToSetBitrate = 40109 -
Failed to allocate video buffer from the buffer pool. This device may have insufficient memory or resources.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferFailedToClearBuffer = 40200Swift
case broadcastImageBufferFailedToClearBuffer = 40200 -
Failed to lock video buffer for processing. Check the platform error code for device-specific details.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferFailedToLock = 40201Swift
case broadcastImageBufferFailedToLock = 40201 -
Failed to unlock video buffer after processing. Check the platform error code for device-specific details.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastImageBufferFailedToUnlock = 40202Swift
case broadcastImageBufferFailedToUnlock = 40202 -
Failed to initialize video buffer pool for rendering. This device may have insufficient memory or resources.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastCoreVideoRenderContextPoolCreateFailed = 40250Swift
case broadcastCoreVideoRenderContextPoolCreateFailed = 40250 -
Metal rendering shaders are missing from the SDK bundle. Verify the SDK was packaged correctly and all resources are included.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMetalRenderContextLibraryNotLoaded = 40300Swift
case broadcastMetalRenderContextLibraryNotLoaded = 40300 -
Failed to create Metal texture from video buffer. If using a custom image source, ensure kCVPixelBufferMetalCompatibilityKey is set to true when creating buffers.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMetalRenderContextCreateTextureFromImage = 40301Swift
case broadcastMetalRenderContextCreateTextureFromImage = 40301 -
Video rendering initialization failed on this device. This indicates a device compatibility issue with Metal graphics.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastMetalRenderContextRenderPipelineCreationFailed = 40302Swift
case broadcastMetalRenderContextRenderPipelineCreationFailed = 40302 -
Audio processing failed to extract audio data from the buffer. This indicates an audio format or buffer structure issue.
Declaration
Objective-C
IVSBroadcastErrorCodeBroadcastIVSAudioSourceExtractBufferFailed = 40400Swift
case broadcastIVSAudioSourceExtractBufferFailed = 40400 -
Stage token is invalid or malformed. Generate a new token and create a new stage session.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageInvalidToken = 1000Swift
case realTimeStageInvalidToken = 1000 -
Stage token has expired. Generate a new token and create a new stage session.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageExpiredToken = 1001Swift
case realTimeStageExpiredToken = 1001 -
Cannot perform operation because no active stage session exists. Join a stage before attempting this operation.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoSession = 1002Swift
case realTimeNoSession = 1002 -
Cannot join stage because a join operation is already in progress or completed. Wait for the current operation to finish.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeAlreadyJoiningStage = 1005Swift
case realTimeAlreadyJoiningStage = 1005 -
The Stage session is not ready due to a failure is the setup process. Check for errors during initialization, and recreate the local Stage instance.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageNotReady = 1011Swift
case realTimeStageNotReady = 1011 -
Cannot subscribe to your own participant stream. Subscribe to other participants instead. This should not be possible using the StageStrategy.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeSelfSubscribeNotSupport = 1012Swift
case realTimeSelfSubscribeNotSupport = 1012 -
Participant not found in the stage. This is likely because the remote participant unpublished at the same time this SDK attempted to subscribe.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoParticipantToSubscribeTo = 1013Swift
case realTimeNoParticipantToSubscribeTo = 1013 -
Failed to publish audio/video to the stage after multiple retry attempts. Check network connectivity and retry.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePublishFailed = 1015Swift
case realTimePublishFailed = 1015 -
Failed to subscribe to participant stream after multiple retry attempts. Check network connectivity and retry.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeSubscribeFailed = 1016Swift
case realTimeSubscribeFailed = 1016 -
Failed to create WebRTC offer for publishing. Retry the publish operation.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeOfferCreationFailPublish = 1020Swift
case realTimeOfferCreationFailPublish = 1020 -
Failed to create WebRTC offer for subscribing. Retry the subscribe operation.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeOfferCreationFailSubscribe = 1021Swift
case realTimeOfferCreationFailSubscribe = 1021 -
Publish or subscribe operation was cancelled. This is expected when leaving or unsubscribing in the middle of an operation.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePubSubAborted = 1023Swift
case realTimePubSubAborted = 1023 -
Stage has reached maximum participant capacity. Wait for a participant to leave or create a new stage.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageAtCapacity = 1024Swift
case realTimeStageAtCapacity = 1024 -
An unexpected server error occurred. Retry the operation or contact support if the issue persists.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeInternalServerError = 1025Swift
case realTimeInternalServerError = 1025 -
Stage token lacks required permissions or has been revoked. Generate a new token with appropriate permissions.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageTokenRejected = 1026Swift
case realTimeStageTokenRejected = 1026 -
Stage authentication failed during join operation. The stage may have been deleted or is no longer available.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeStageAuthenticationError = 1027Swift
case realTimeStageAuthenticationError = 1027 -
Input video resolution does not meet stage requirements. Increase camera resolution or adjust stage configuration.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeInsufficientInputResolution = 1050Swift
case realTimeInsufficientInputResolution = 1050 -
The token provided to the exchange token API was invalid and couldn’t be parsed. Create a new token and try again.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeTokenExchangeInvalidToken = 1051Swift
case realTimeTokenExchangeInvalidToken = 1051 -
The token provided to the exchange token API was not compatible with the existing Stage. This is likely because properties that must remain constant (jti, topic, etc) had changed.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeTokenExchangeIncompatibleToken = 1052Swift
case realTimeTokenExchangeIncompatibleToken = 1052 -
Internal stage event system is not initialized. Restart the stage session.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeMultihostGroupStatePipelineMissingMultihostEventBus = 1100Swift
case realTimeMultihostGroupStatePipelineMissingMultihostEventBus = 1100 -
Internal event generation system is not initialized. Restart the stage session.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeMultihostGroupStatePipelineMissingEventGenerator = 1101Swift
case realTimeMultihostGroupStatePipelineMissingEventGenerator = 1101 -
Stage or participant resource no longer exists on the server. The stage may have been deleted or the session expired.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeResourceDeleted = 1206Swift
case realTimeResourceDeleted = 1206 -
Disconnected from stage by the server for an unspecified reason. Rejoin the stage with a new token if needed.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeRemoteDisconnectReasonUnknown = 1208Swift
case realTimeRemoteDisconnectReasonUnknown = 1208 -
Disconnected because the stage was deleted.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeRemoteDisconnectStageDeleted = 1209Swift
case realTimeRemoteDisconnectStageDeleted = 1209 -
Disconnected because another participant joined with the same token. Use unique tokens for each participant.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeRemoteDisconnectTokenReused = 1210Swift
case realTimeRemoteDisconnectTokenReused = 1210 -
Disconnected from stage by server request. Rejoin the stage with a new token if needed.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeRemoteDisconnectParticipantDisconnected = 1211Swift
case realTimeRemoteDisconnectParticipantDisconnected = 1211 -
Invalid response from the server for a token exchange request. Reconnect to the Stage using the new token, or create a new token and connect again.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeTokenExchangeInvalidResponse = 1230Swift
case realTimeTokenExchangeInvalidResponse = 1230 -
The token exchange request was rejected. The error comment will contain more details. A new token must be created and used to join a new SDK Stage instance.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeTokenExchangeFailedResponse = 1231Swift
case realTimeTokenExchangeFailedResponse = 1231 -
The token exchange request timed out. Because a token exchange puts the SDK into an in between state of 2 tokens while waiting for confirmation from the backend, a timeout is enforced to prevent undefined behaviors.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeTokenExchangeTimeout = 1232Swift
case realTimeTokenExchangeTimeout = 1232 -
Failed to connect to stage after multiple retry attempts. Check network connectivity and retry joining the stage.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeEventsRetriesExhausted = 1300Swift
case realTimeEventsRetriesExhausted = 1300 -
Media connection lost due to network error. Check network connectivity and rejoin the stage.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionNetworkError = 1400Swift
case realTimePeerConnectionNetworkError = 1400 -
Failed to establish media connection with participant. Retry the publish or subscribe operation.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionSetRemoteDescriptionFail = 1401Swift
case realTimePeerConnectionSetRemoteDescriptionFail = 1401 -
Received invalid connection data from participant.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionParseRemoteDescriptionError = 1404Swift
case realTimePeerConnectionParseRemoteDescriptionError = 1404 -
Participant disconnected unexpectedly. The participant may have left the stage or lost network connectivity.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionUnexpectedRemoteClose = 1407Swift
case realTimePeerConnectionUnexpectedRemoteClose = 1407 -
Failed to configure video settings for the connection. Check system resources, this may have been a memory allocation failure.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionSetParametersError = 1410Swift
case realTimePeerConnectionSetParametersError = 1410 -
Cannot request keyframe because video sender is not ready. Ensure video is being published.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionRequestKeyframeNoSender = 1411Swift
case realTimePeerConnectionRequestKeyframeNoSender = 1411 -
Failed to configure media transceivers for the connection. This is a libWebRTC failure and may indicate the system is low on resources.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionAddTransceiversFailed = 1412Swift
case realTimePeerConnectionAddTransceiversFailed = 1412 -
Video sender is not ready for configuration. Ensure video is being published before adjusting settings.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionVideoSenderNotReady = 1413Swift
case realTimePeerConnectionVideoSenderNotReady = 1413 -
Video encoding parameters are not ready. Wait for the connection to fully establish before adjusting video settings.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionVideoRtpParametersNotReady = 1414Swift
case realTimePeerConnectionVideoRtpParametersNotReady = 1414 -
Failed to update video encoding settings. This is a libWebRTC failure and may indicate the system is low on resources, or the provided configuration is not supported.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionSetVideoRtpParametersFailed = 1415Swift
case realTimePeerConnectionSetVideoRtpParametersFailed = 1415 -
Connection operation failed due to invalid configuration. The error message will contain more detailed information.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionMethodNotSupportedError = 1420Swift
case realTimePeerConnectionMethodNotSupportedError = 1420 -
Failed to initialize media connection. This is a libWebRTC failure and may indicate the system is low on resources. Restat the session to try again.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionInitFail = 1421Swift
case realTimePeerConnectionInitFail = 1421 -
Operation failed because the requested media type is not available. Ensure audio or video is being published or subscribed before requesting RTC stats.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionNoMatchingMediaType = 1423Swift
case realTimePeerConnectionNoMatchingMediaType = 1423 -
Media connection is taking too long to establish. This operation will be automatically retried, but this may indicate a network connectivity issue.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionTimedOutConnecting = 1424Swift
case realTimePeerConnectionTimedOutConnecting = 1424 -
WebRTC connection operation failed. This operation will be automatically retried, but this may indicate a network connectivity issue.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionOnFailure = 1425Swift
case realTimePeerConnectionOnFailure = 1425 -
Media connection failed to establish network path. This operation will be automatically retried, but this may indicate a network connectivity issue.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionIceConnectionFailed = 1426Swift
case realTimePeerConnectionIceConnectionFailed = 1426 -
Cannot retrieve video sender configuration because sender is not initialized. Ensure video is being published.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionCallbackSenderNotReady = 1427Swift
case realTimePeerConnectionCallbackSenderNotReady = 1427 -
Cannot retrieve video receiver configuration because receiver is not initialized. Ensure video is being subscribed.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimePeerConnectionCallbackReceiverNotReady = 1428Swift
case realTimePeerConnectionCallbackReceiverNotReady = 1428 -
Cannot perform operation because media connection is not available. Ensure publish or subscribe is active.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoValidPeerConnection = 1430Swift
case realTimeNoValidPeerConnection = 1430 -
No audio packets are being sent through the publish connection. Check that audio input is active and not muted.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoPublishAudioPacketsSent = 1450Swift
case realTimeNoPublishAudioPacketsSent = 1450 -
No video packets are being sent through the publish connection. Check that video samples are being submitted.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoPublishVideoPacketsSent = 1451Swift
case realTimeNoPublishVideoPacketsSent = 1451 -
No audio packets are being received from the subscribed participant. The participant may have stopped publishing audio or network connectivity is lost.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoSubscribeAudioPacketsReceived = 1452Swift
case realTimeNoSubscribeAudioPacketsReceived = 1452 -
No video packets are being received from the subscribed participant. The participant may have stopped publishing video without muting or network connectivity is lost.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeNoSubscribeVideoPacketsReceived = 1453Swift
case realTimeNoSubscribeVideoPacketsReceived = 1453 -
Failed to set video quality layer for participant stream. This operation will be automatically retried, but this may indicate a network connectivity issue.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeSetLayerRequestFailed = 1510Swift
case realTimeSetLayerRequestFailed = 1510 -
Video quality layer selection is being rate limited. This operation will be automatically retried after a delay.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeSetLayerRequestThrottled = 1511Swift
case realTimeSetLayerRequestThrottled = 1511 -
Failed to retrieve available video quality layers for participant stream. This operation will be automatically retried, but this may indicate a network connectivity issue.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeGetLayerRequestFailed = 1512Swift
case realTimeGetLayerRequestFailed = 1512 -
Video quality layer query is being rate limited. This operation will be automatically retried after a delay.
Declaration
Objective-C
IVSBroadcastErrorCodeRealTimeGetLayerRequestThrottled = 1513Swift
case realTimeGetLayerRequestThrottled = 1513 -
This happens when you use the exchange devices API but the devices are of a different type, for example a microphone and a camera. Both devices must be of the same type.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceExchangeIncompatibleTypes = 10100Swift
case deviceExchangeIncompatibleTypes = 10100 -
This happens when trying to attach a device but the device is not found. This could happen if you query all the devices and store them in an array, a device goes offline or is unplugged, and then you attempt to connect to that device.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceNotFound = 10101Swift
case deviceNotFound = 10101 -
This happens when a device you are trying to add could not be added to as an input source.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceAttachDeviceCouldNotAddAsInput = 10102Swift
case deviceAttachDeviceCouldNotAddAsInput = 10102 -
This happens when a new output stream for the attaching device could not be added to the AVCaptureSession.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceAttachDeviceCouldNotAddOutputStream = 10103Swift
case deviceAttachDeviceCouldNotAddOutputStream = 10103 -
At the moment, only a single input source of each type is allowed. In the future multiple cameras may be allowed, but a single microphone will likely be a requirement for the foreseeable future.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceTypeAlreadyAttached = 10104Swift
case deviceTypeAlreadyAttached = 10104 -
The device being attached was unable to pair to a
IVSMixerSlotConfiguration. Make sure yourIVSBroadcastConfigurationhas a slot with a matching preferred input device type.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceFoundNoMatchingSlot = 10105Swift
case deviceFoundNoMatchingSlot = 10105 -
The device that was submitted to attach to the
IVSBroadcastSessionis not supported.Declaration
Objective-C
IVSBroadcastErrorCodeUnsupportedDeviceType = 10106Swift
case unsupportedDeviceType = 10106 -
When multiple external audio inputs are plugged in, only the most recently connected device can be attached to the broadcast session. The built-in microphone can always be attached.
Declaration
Objective-C
IVSBroadcastErrorCodeTooManyExternalAudioInputs = 10107Swift
case tooManyExternalAudioInputs = 10107 -
The attaching camera does not support any of the pixel formats that the broadcast SDK supports.
Declaration
Objective-C
IVSBroadcastErrorCodeNoSupportedPixelFormats = 10108Swift
case noSupportedPixelFormats = 10108 -
Thrown when the exchange device API is called and the device being swapped out is not currently attached.
Declaration
Objective-C
IVSBroadcastErrorCodeExchangeDeviceOldDeviceNotAttached = 10109Swift
case exchangeDeviceOldDeviceNotAttached = 10109 -
Thrown when there is an attempt to attach a device that is already attached, either through attachDevice or exchangeDevice.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceAlreadyAttached = 10110Swift
case deviceAlreadyAttached = 10110 -
RTC stats are unavailable for this stream because the stream is not currently publishing.
Declaration
Objective-C
IVSBroadcastErrorCodeDeviceNotPublishing = 10111Swift
case deviceNotPublishing = 10111 -
The zoom factor set on an
IVSCameramust be betweenIVSCamera.maxAvailableVideoZoomFactorandIVSCamera.maxAvailableVideoZoomFactorThis error is thrown when the camera’s zoom factor is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceInvalidCameraZoomFactor = 10112Swift
case deviceInvalidCameraZoomFactor = 10112 -
This error is thrown when the
-[IVSCamera setVideoZoomFactor:]API is called when theAVCaptureDevice‘s configuration lock could not be taken, or when the underlyingAVCaptureDeviceis nil, because it could not be constructed.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceCouldNotSetCameraZoomFactor = 10113Swift
case deviceCouldNotSetCameraZoomFactor = 10113 -
Torch cannot be enabled on an
IVSCamerathat does not support torch or where torch is not available. This error is thrown when the camera’s torch is enabled but the camera either does not support torch or torch is not available.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceInvalidCameraTorchMode = 10114Swift
case deviceInvalidCameraTorchMode = 10114 -
This error is thrown when, after successfully enabling the torch on an
IVSCamera, the torch mode for thatIVSCameraunexpectedly becomes unavailable. This can happen, for example, if the OS determines the device is at risk of overheating, in which case it will deactivate the torch.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceCameraTorchBecameUnexpectedlyUnavailable = 10115Swift
case deviceCameraTorchBecameUnexpectedlyUnavailable = 10115 -
This error is thrown when attempting to change a device’s property (e.g. setting the torch or zoom factor) when the
AVCaptureDevice‘s configuration lock could not be taken, or when the underlyingAVCaptureDeviceis nil, because it could not be constructed.Declaration
Objective-C
IVSBroadcastErrorCodeDeviceCouldNotAcquireConfigurationLock = 10116Swift
case deviceCouldNotAcquireConfigurationLock = 10116 -
The audio bitrate set on the IVSBroadcastConfiguration must be between 64k and 160k. This error is thrown when the audio bitrate is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidAudioBitrate = 10200Swift
case configurationInvalidAudioBitrate = 10200 -
The audio channels set on the IVSBroadcastConfiguration must be equal to 1 or 2.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidAudioChannels = 10201Swift
case configurationInvalidAudioChannels = 10201 -
The video initial bitrate set on the IVSBroadcastConfiguration must be between 100k and 8,500k. This error is thrown when the video initial bitrate is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoInitialBitrate = 10202Swift
case configurationInvalidVideoInitialBitrate = 10202 -
The video maximum bitrate set on the IVSBroadcastConfiguration must be between 100k and 8,500k. This error is thrown when the video maximum bitrate is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoMaxBitrate = 10203Swift
case configurationInvalidVideoMaxBitrate = 10203 -
The video minimum bitrate set on the IVSBroadcastConfiguration must be between 100k and 8,500k. This error is thrown when the video minimum bitrate is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoMinBitrate = 10204Swift
case configurationInvalidVideoMinBitrate = 10204 -
The video target framerate set on the IVSBroadcastConfiguration must be between 10 and 60. This error is thrown when the video target framerate is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoTargetFramerate = 10205Swift
case configurationInvalidVideoTargetFramerate = 10205 -
The video keyframe interval set on the IVSBroadcastConfiguration must be between 1 and 10. This error is thrown when the video keyframe interval is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoKeyframeInterval = 10206Swift
case configurationInvalidVideoKeyframeInterval = 10206 -
The video size set on the IVSBroadcastConfiguration must have a width and height of greater than 160, less than 1080, and the total number of pixels must be less than 2,073,600. For example, the smallest possible size is 160x160, and the biggest possible size is either 1080x1920 or 1920x1080.. This error is thrown when the video size does not meet the specified criteria.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidVideoSize = 10207Swift
case configurationInvalidVideoSize = 10207 -
The mixer slot name set on the IVSBroadcastConfiguration must be between 1 and 50 characetrs in length. This error is thrown when the name is shorter or longer than the requirements.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidMixerSlotName = 10208Swift
case configurationInvalidMixerSlotName = 10208 -
The mixer slot gain set on the IVSBroadcastConfiguration must be between 0 and 2. This error is thrown when the gain is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidMixerSlotGain = 10209Swift
case configurationInvalidMixerSlotGain = 10209 -
The mixer slot transparency set on the IVSBroadcastConfiguration must be between 0 and 1. This error is thrown when the transparency is set to a value outside this range.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidMixerSlotTransparency = 10210Swift
case configurationInvalidMixerSlotTransparency = 10210 -
There are multiple
IVSMixerSlotConfigurationobjects with the samename. All names must be unique.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationDuplicateMixerNames = 10211Swift
case configurationDuplicateMixerNames = 10211 -
The stage video maximum bitrate set on the
IVSLocalStageStreamVideoConfigurationmust be between 50k and 2,500k. This error is thrown when the stage video maximum bitrate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageVideoMaxBitrate = 10220Swift
case configurationInvalidStageVideoMaxBitrate = 10220 -
The stage video minimum bitrate set on the
IVSLocalStageStreamVideoConfigurationmust be between 50k and 2,500k. This error is thrown when the stage video minimum bitrate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageVideoMinBitrate = 10221Swift
case configurationInvalidStageVideoMinBitrate = 10221 -
The stage video target framerate set on the
IVSLocalStageStreamVideoConfigurationmust be between 10 and 30. This error is thrown when the stage video target framerate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageVideoTargetFramerate = 10222Swift
case configurationInvalidStageVideoTargetFramerate = 10222 -
The stage video size set on the
IVSLocalStageStreamVideoConfigurationmust have a width and height of greater than 160, less than 720, and the total number of pixels must be less than 921,600. For example, the smallest possible size is 160x160, and the biggest possible size is either 720x1280 or 1280x720.. This error is thrown when the video size does not meet the specified criteria.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageVideoSize = 10223Swift
case configurationInvalidStageVideoSize = 10223 -
The stage audio bitrate set on the
IVSLocalStageStreamAudioConfigurationmust be between 12k and 128k. This error is thrown when the stage audio bitrate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageAudioBitrate = 10224Swift
case configurationInvalidStageAudioBitrate = 10224 -
The stage jitter buffer min delay set on the
IVSJitterBufferConfigurationmust be between 0 and 10k. This error is thrown when the stage jitter buffer min delay is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidStageJitterBufferMinDelay = 10225Swift
case configurationInvalidStageJitterBufferMinDelay = 10225 -
An encoder that matches the associated codec and video configuration could not be found.
Declaration
Objective-C
IVSBroadcastErrorCodeEncoderNotFound = 10226Swift
case encoderNotFound = 10226 -
The configuration has been locked by the SDK to guarantee compatibility with this device and the upstream IVS channel.
Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationLocked = 10227Swift
case configurationLocked = 10227 -
The number of the stage video layers set on the
IVSLocalStageStreamVideoConfigurationmust be 3 or less. This error is thrown when the number of the stage video layers is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationMaxLayersExceeded = 10250Swift
case configurationMaxLayersExceeded = 10250 -
Two layers set on the
IVSLocalStageStreamVideoConfigurationmust have different configuration. This error is thrown when the two layers with the same configuration is set.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationDuplicateLayersConfigured = 10251Swift
case configurationDuplicateLayersConfigured = 10251 -
The layer maximum bitrate set on the
IVSLocalStageStreamVideoConfigurationmust be between 50k and 2,500k. This error is thrown when the layer maximum bitrate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidLayerMaxBitrate = 10252Swift
case configurationInvalidLayerMaxBitrate = 10252 -
The layer minimum bitrate set on the
IVSLocalStageStreamVideoConfigurationmust be between 50k and 2,500k. This error is thrown when the layer minimum bitrate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidLayerMinBitrate = 10253Swift
case configurationInvalidLayerMinBitrate = 10253 -
The layer target framerate set on the
IVSLocalStageStreamVideoConfigurationmust be between 10 and 30. This error is thrown when the layer target framerate is set to a value outside this range.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidLayerTargetFramerate = 10254Swift
case configurationInvalidLayerTargetFramerate = 10254 -
The layer size set on the
IVSLocalStageStreamVideoConfigurationmust have a width and height of greater than 160, less than 720, and the total number of pixels must be less than 921,600. For example, the smallest possible size is 160x160, and the biggest possible size is either 720x1280 or 1280x720.. This error is thrown when the video size does not meet the specified criteria.Declaration
Objective-C
IVSBroadcastErrorCodeConfigurationInvalidLayerSize = 10255Swift
case configurationInvalidLayerSize = 10255 -
When creating the preview view for a surface, there was an error obtaining the metal default library. The property “sourceError” will include the originating error.
Declaration
Objective-C
IVSBroadcastErrorCodePreviewMetalLibraryInvalid = 10300Swift
case previewMetalLibraryInvalid = 10300 -
When creating the preview view for a surface, there was an error generating the metal render pipeline state The property “sourceError” will include the originating error.
Declaration
Objective-C
IVSBroadcastErrorCodePreviewMetalStateDescriptorInvalid = 10301Swift
case previewMetalStateDescriptorInvalid = 10301 -
The device you’re using this on does not support Metal. Metal is a requirement for using the IVS Broadcast SDK.
Declaration
Objective-C
IVSBroadcastErrorCodeMetalNotSupported = 10302Swift
case metalNotSupported = 10302 -
This is thrown when the
IVSBroadcastSession‘sisReadyproperty is set toNOand a method is called on the session anyway.Declaration
Objective-C
IVSBroadcastErrorCodeSessionIsNotReady = 10400Swift
case sessionIsNotReady = 10400 -
This is thrown when an
IVSCustomImageSourceis used and an unsupported pixel format is provided. The currently supported pixel formats are:kCVPixelFormatType_32BGRAkCVPixelFormatType_420YpCbCr8BiPlanarFullRangekCVPixelFormatType_420YpCbCr8BiPlanarVideoRangeOn devices that support it, theLosslessandLossyequivalents of these formats are also supported.Declaration
Objective-C
IVSBroadcastErrorCodeInvalidVideoFormat = 10401Swift
case invalidVideoFormat = 10401 -
This is thrown when an image submitted via
onSampleBufferexceeds 32400 KB (32 bpp at 3840×2160). If you have images in resolutions greater than 4k, please convert them to format such askCVPixelFormatType_420YpCbCr8BiPlanarVideoRangeto reduce the total size of the image below the threshold.Declaration
Objective-C
IVSBroadcastErrorCodeImageTooLarge = 10402Swift
case imageTooLarge = 10402 -
This is thrown when PCM data is submitted via
onPCMBufferoronSampleBufferand the total size of the data is greater than 5.5 MB. If you run into this while submitting valid data, break up your sample into multiple smaller samples. This error will only be emitted once per audio source.Declaration
Objective-C
IVSBroadcastErrorCodePCMDataTooLong = 10403Swift
case pcmDataTooLong = 10403 -
This is thrown when
IVSBroadcastSession.applicationAudioSessionStrategyis set tonoActionand an attempt to attach a microphone to the SDK is attempted. Microphones can still be used with the noAction strategy, but they must be managed by the host application and have their samples provided via anIVSCustomAudioSource.Declaration
Objective-C
IVSBroadcastErrorCodeInvalidAudioSessionStrategy = 10404Swift
case invalidAudioSessionStrategy = 10404 -
This is thrown when the broadcast session is stopped due to a loss in network connectivity. You can monitor your device’s connection and start the stream again when connectivity is restored.
Declaration
Objective-C
IVSBroadcastErrorCodeNetworkConnectivityLost = 10405Swift
case networkConnectivityLost = 10405 -
This API must only be called while the application is in the foreground.
Declaration
Objective-C
IVSBroadcastErrorCodeForegroundOnly = 10406Swift
case foregroundOnly = 10406 -
An app background video source already exists. You must call
removeImageSourceOnAppBackgroundedbefore using this API again.Declaration
Objective-C
IVSBroadcastErrorCodeBackgroundVideoSourceAlreadyExists = 10407Swift
case backgroundVideoSourceAlreadyExists = 10407 -
The background video source is currently live. If your app responds to
UIApplicationWillEnterForegroundNotification, it is possible your app will receive that notification before the broadcast SDK does. Dispatching a block to the main queue will allow the SDK to receive that notification, then theremoveImageSourceOnAppBackgroundedwill be safe to call.Declaration
Objective-C
IVSBroadcastErrorCodeBackgroundVideoSourceIsLive = 10408Swift
case backgroundVideoSourceIsLive = 10408 -
The background video source is currently live because the attached camera is waiting to receive the
AVCaptureSessionInterruptionEndedNotificationnotification to be fired. This is fired some time after the app returns to the foreground. Waiting for that notification and dispatching a block to the main queue that calls this API again will resolve this error if the source of the error is the attached camera. An alternative workaround would be to detach and reattach the camera.Declaration
Objective-C
IVSBroadcastErrorCodeBackgroundVideoSourceIsWaitingForCamera = 10409Swift
case backgroundVideoSourceIsWaitingForCamera = 10409 -
This is thrown when the SDK’s internal state is invalid.
Declaration
Objective-C
IVSBroadcastErrorCodeInvalidState = 10410Swift
case invalidState = 10410 -
This is thrown when PCM data is submitted via
onPCMBufferwith multiple AudioBuffer structs attached and one of the following is false All AudioBuffers have the same data length. The channels are non-interleaved (planar). The number of channels reported by the format is the same as the number of AudioBuffer structs. All of the AudioBuffers are single channel (together they can create multiple channels, but each individually must be single channel). There are only 2 AudioBuffer structs (if there are more than 2, all channels after 2 will be droppped). When this error is emitted, only a single audio channel will be processed, unless the error is too many channels, at which point 2 channels will be processed. This error will only be emitted once per audio source.Declaration
Objective-C
IVSBroadcastErrorCodePCMUnsupportedSample = 10411Swift
case pcmUnsupportedSample = 10411 -
This is thrown when the host application is in the background with an active
AVAudioSession, but theAVAudioSessionwas just interrupted. At that point the application is likely to be suspended, and any in progress sessions will be ended.Declaration
Objective-C
IVSBroadcastErrorCodeAppSuspension = 10412Swift
case appSuspension = 10412 -
The background video source was removed before finishing.
Declaration
Objective-C
IVSBroadcastErrorCodeBackgroundVideoSourceWasRemoved = 10413Swift
case backgroundVideoSourceWasRemoved = 10413 -
This is thrown when the host application is in a phone call and the SDK attempts to activate the
AVAudioSession. This can be safely ignored by host applications, but can be useful to track to inform end users that the SDK might not be working at the moment.Declaration
Objective-C
IVSBroadcastErrorCodeInPhoneCall = 10414Swift
case inPhoneCall = 10414 -
This is thrown when iOS notifies the SDK that the
AVAudioSessionis interrupted, and then the SDK attempts to activate the session before the interruption is ended.Declaration
Objective-C
IVSBroadcastErrorCodeSessionInterrupted = 10415Swift
case sessionInterrupted = 10415 -
This is thrown when the delegate queue for the
IVSImageDevice.setOnFrameCallbackis experiencing back-pressure and frames are not being released quickly enough. Make sure the code processing the frames is processing quickly enough to handle real time samples.Declaration
Objective-C
IVSBroadcastErrorCodeImageDeviceFrameCallbackBackpressure = 10416Swift
case imageDeviceFrameCallbackBackpressure = 10416 -
The message payload is empty. Provide a non-empty NSData object.
Declaration
Objective-C
IVSBroadcastErrorCodeMessagePayloadEmpty = 10500Swift
case messagePayloadEmpty = 10500 -
The message payload exceeds the maximum allowed size of 1KB. Reduce the payload size and try again.
Declaration
Objective-C
IVSBroadcastErrorCodeMessagePayloadTooLarge = 10501Swift
case messagePayloadTooLarge = 10501 -
The message repeat count is invalid. The repeat count must be between 0 and 30.
Declaration
Objective-C
IVSBroadcastErrorCodeMessageInvalidRepeatCount = 10502Swift
case messageInvalidRepeatCount = 10502 -
The message rate limit has been exceeded. The total size of message payloads within a rolling one-second window must not exceed the maximum allowed limit of 10KB.
Declaration
Objective-C
IVSBroadcastErrorCodeMessageRateLimitExceeded = 10503Swift
case messageRateLimitExceeded = 10503