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