Package com.amazonaws.ivs.broadcast
Class BroadcastErrorCode.Broadcast
java.lang.Object
com.amazonaws.ivs.broadcast.BroadcastErrorCode.Broadcast
- Enclosing class:
BroadcastErrorCode
Broadcast error codes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAudio output is not supported in broadcast sessions.static final intAudio encoder failed repeatedly and cannot recover.static final intAudio mixer received empty audio buffer.static final intAudio input device was disconnected during broadcast.static final intAudio device failed to initialize.static final intAudio device encountered an unexpected error.static final intAudio configuration parameter is invalid.static final intAudio device is not available for capture.static final intAudio device operation timed out.static final intAudio session entered an unexpected state during operation.static final intAudio statistics are unavailable because no audio data has been processed.static final intBackground image source received no valid images before finalization.static final intVideo keyframe is missing required codec configuration data.static final intRequired SDK resource file is missing or inaccessible.static final intCannot start a new broadcast while already streaming or running a network test.static final intStreaming URL or key exceeds the 64KB limit.static final intStreaming URL uses an unsupported protocol.static final intMetadata payload exceeds the 10KB limit.static final intSession must be configured before starting a broadcast.static final intOperation requires an active broadcast connection.static final intSSL certificate chain is empty or invalid.static final intFailed to load trusted certificate authorities for SSL validation.static final intSSL certificate validation failed.static final intSSL certificate hostname validation failed.static final intSSL certificate validation encountered an internal error.static final intCodec is disabled for this streaming channel.static final intHEVC codec is not supported on this device with the current configuration.static final intCodec support configuration is not yet available.static final intNetwork bandwidth is insufficient for streaming.static final intNetwork test was canceled before completion.static final intFailed to initialize video buffer pool for rendering.static final intStreaming URL is missing a valid port number and no default is available.static final intMessage repeat count is outside the valid range of 0-30.static final intCannot embed an empty message in the video stream.static final intMessage data exceeds the 1KB limit for embedding in video frames.static final intMessage embedding rate limit exceeded (10KB per second).static final intVideo rendering encountered an EGL graphics error.static final intVideo rendering encountered an OpenGL error.static final intVideo rendering context became invalid during operation.static final intVideo rendering shader compilation failed on this device.static final intImage data pointer is null or invalid.static final intImage buffer stride value is invalid for the specified dimensions.static final intImage buffer content size did not equal width * height * bits per pixel.static final intFailed to allocate video buffer from the buffer pool.static final intFailed to lock video buffer for processing.static final intFailed to unlock video buffer after processing.static final intImage buffer pixel format cannot be changed after creation.static final intImage buffer size is too small for the specified dimensions and format.static final intOperation is not supported for this image buffer type.static final intImage buffer is invalid or was destroyed.static final intGraphics system error occurred while setting video frame timestamp.static final intImage buffer size exceeds expected size for the specified dimensions and format.static final intImage pixel format is not supported on this device.static final intStreaming URL contains an invalid port number.static final intStreaming URL uses an unsupported protocol.static final intAudio processing failed to extract audio data from the buffer.static final intNetwork latency exceeded acceptable limits and the broadcast was stopped.static final intCannot add a slot with a duplicate name.static final intCannot remove a slot that doesn't exist.static final intVideo sample was ignored because no slot is bound to receive it.static final intFailed to establish streaming connection to the server.static final intFailed to start publishing the stream to the server.static final intAudio system failed to process audio buffer.static final intAudio output is not supported in broadcast sessions.static final intVideo pixel format is not supported by the device.static final intStream stop operation did not complete successfully.static final intNo compatible video encoder found on this device.static final intVideo encoder failed repeatedly and cannot recover.static final intVideo encoder is missing required codec configuration data (SPS/PPS/VPS).static final intVideo encoder produced frames with non-increasing timestamps.static final intVideo encoder is too slow or stopped responding during validation.static final intVideo encoder produced an unexpected number of keyframes during validation. -
Method Summary
-
Field Details
-
AudioMixerMissingData
public static final int AudioMixerMissingDataAudio mixer received empty audio buffer. Ensure audio sources are providing valid data before mixing.- See Also:
-
BroadcastSessionNotReady
public static final int BroadcastSessionNotReadySession must be configured before starting a broadcast. Call setup() before attempting to start streaming.- See Also:
-
BroadcastSessionNotStreaming
public static final int BroadcastSessionNotStreamingOperation requires an active broadcast connection. Start streaming before calling this method.- See Also:
-
BroadcastSessionAlreadyStreaming
public static final int BroadcastSessionAlreadyStreamingCannot start a new broadcast while already streaming or running a network test. Stop the current session first.- See Also:
-
BroadcastSessionMetadataTooLarge
public static final int BroadcastSessionMetadataTooLargeMetadata payload exceeds the 10KB limit. Reduce the metadata size before sending.- See Also:
-
BroadcastSessionEndpointOrKeyTooLong
public static final int BroadcastSessionEndpointOrKeyTooLongStreaming URL or key exceeds the 64KB limit. Verify the endpoint and stream key are valid.- See Also:
-
BroadcastSessionInvalidScheme
public static final int BroadcastSessionInvalidSchemeStreaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.- See Also:
-
MixerAddSlotNameAlreadyExists
public static final int MixerAddSlotNameAlreadyExistsCannot add a slot with a duplicate name. Use a unique name or remove the existing slot first.- See Also:
-
MixerRemoveSlotNotFound
public static final int MixerRemoveSlotNotFoundCannot remove a slot that doesn't exist. Verify the slot name is correct.- See Also:
-
MixerSampleIgnoredNoSlot
public static final int MixerSampleIgnoredNoSlotVideo sample was ignored because no slot is bound to receive it. This is informational and typically expected behavior.- See Also:
-
ConnectionTestSessionBandwidthTooLow
public static final int ConnectionTestSessionBandwidthTooLowNetwork 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.- See Also:
-
ConnectionTestSessionCanceled
public static final int ConnectionTestSessionCanceledNetwork test was canceled before completion. Start a new test if you need recommended settings.- See Also:
-
BadSyncSample
public static final int BadSyncSampleVideo keyframe is missing required codec configuration data. Possible bad encoder output, restart the BroadcastSession to recreate the encoder.- See Also:
-
LatencyThresholdReached
public static final int LatencyThresholdReachedNetwork latency exceeded acceptable limits and the broadcast was stopped. Improve network stability or reduce bitrate.- See Also:
-
StopFailedToComplete
public static final int StopFailedToCompleteStream stop operation did not complete successfully. Wait 30 seconds before streaming to the same channel again.- See Also:
-
RenderContextUnsupportedPixelFormat
public static final int RenderContextUnsupportedPixelFormatVideo pixel format is not supported by the device. Use a supported format like NV12 or RGBA.- See Also:
-
AudioSessionUnexpectedState
public static final int AudioSessionUnexpectedStateAudio session entered an unexpected state during operation. Stop and restart the broadcast session.- See Also:
-
AudioSessionDeviceDisconnected
public static final int AudioSessionDeviceDisconnectedAudio input device was disconnected during broadcast. The SDK will attempt to reconnect automatically if using the default device, otherwise, a new device must be attached.- See Also:
-
AudioSessionIllegalArgument
public static final int AudioSessionIllegalArgumentAudio configuration parameter is invalid. Verify audio device settings match supported values.- See Also:
-
AudioSessionTimeout
public static final int AudioSessionTimeoutAudio device operation timed out. This could result in missing audio in the stream. Try to acquire the microphone again, or use a CustomAudioSource.- See Also:
-
AudioSessionNotAvailable
public static final int AudioSessionNotAvailableAudio device is not available for capture. Verify device is connected and not in use by another app.- See Also:
-
AudioSessionDeviceNotInitialized
public static final int AudioSessionDeviceNotInitializedAudio device failed to initialize. This could be a permissions issue, or another application has exclusive access to the microphone.- See Also:
-
AudioSessionGeneric
public static final int AudioSessionGenericAudio device encountered an unexpected error. Check platform error code for details.- See Also:
-
BackgroundVideoNoValidImagesReceived
public static final int BackgroundVideoNoValidImagesReceivedBackground image source received no valid images before finalization. Ensure images are submitted before stopping the source.- See Also:
-
ImageBufferBadStride
public static final int ImageBufferBadStrideImage buffer stride value is invalid for the specified dimensions. Verify stride matches pixel format requirements.- See Also:
-
ImageBufferNotEnoughData
public static final int ImageBufferNotEnoughDataImage buffer size is too small for the specified dimensions and format. Check that the input buffer provided is valid.- See Also:
-
ImageBufferTooMuchData
public static final int ImageBufferTooMuchDataImage buffer size exceeds expected size for the specified dimensions and format. Verify buffer size calculation.- See Also:
-
ImageBufferUnsupportedFormat
public static final int ImageBufferUnsupportedFormatImage pixel format is not supported on this device. Use a supported format like NV12 or RGBA.- See Also:
-
ImageBufferContentSizeMismatch
public static final int ImageBufferContentSizeMismatchImage buffer content size did not equal width * height * bits per pixel. Check to make sure the image buffer was not corrupted.- See Also:
-
ImageBufferFormatMismatch
public static final int ImageBufferFormatMismatchImage buffer pixel format cannot be changed after creation. Create a new buffer with the desired format.- See Also:
-
ImageBufferNotValid
public static final int ImageBufferNotValidImage buffer is invalid or was destroyed. Verify the buffer is properly initialized before use.- See Also:
-
ImageBufferBadData
public static final int ImageBufferBadDataImage data pointer is null or invalid. Provide valid image data before submitting.- See Also:
-
ImageBufferNotSupported
public static final int ImageBufferNotSupportedOperation is not supported for this image buffer type. Use a compatible buffer or operation.- See Also:
-
CodecDiscoveryDeviceConfigKeyMissing
public static final int CodecDiscoveryDeviceConfigKeyMissingCodec support configuration is not yet available. Retry codec discovery after a brief delay.- See Also:
-
CodecDiscoveryDeviceConfigDisabledChannel
public static final int CodecDiscoveryDeviceConfigDisabledChannelCodec is disabled for this streaming channel.- See Also:
-
CodecDiscoveryDeviceConfigDisabledDevice
public static final int CodecDiscoveryDeviceConfigDisabledDeviceHEVC codec is not supported on this device with the current configuration. Use AVC instead.- See Also:
-
VideoEncoderValidatorDecodeTimeDecreasing
public static final int VideoEncoderValidatorDecodeTimeDecreasingVideo encoder produced frames with non-increasing timestamps. This device may not support the selected codec reliably.- See Also:
-
VideoEncoderValidatorDecodeMissingOrIncorrectCodecData
public static final int VideoEncoderValidatorDecodeMissingOrIncorrectCodecDataVideo encoder is missing required codec configuration data (SPS/PPS/VPS). This device may not support the selected codec reliably.- See Also:
-
VideoEncoderValidatorEncodeTimeout
public static final int VideoEncoderValidatorEncodeTimeoutVideo encoder is too slow or stopped responding during validation. This device may not support the selected codec or quality settings.- See Also:
-
VideoEncoderValidatorIncorrectKeyframeCount
public static final int VideoEncoderValidatorIncorrectKeyframeCountVideo encoder produced an unexpected number of keyframes during validation. This device may not support the selected codec reliably.- See Also:
-
NetConnectionConnectFailed
public static final int NetConnectionConnectFailedFailed to establish streaming connection to the server. Check network connectivity and verify the streaming URL is correct.- See Also:
-
NetStreamPublishFailed
public static final int NetStreamPublishFailedFailed to start publishing the stream to the server. Verify the stream key is valid and the channel is not already streaming.- See Also:
-
InvalidScheme
public static final int InvalidSchemeStreaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.- See Also:
-
CouldNotDeterminePort
public static final int CouldNotDeterminePortStreaming URL is missing a valid port number and no default is available. Verify the URL format is correct.- See Also:
-
InvalidPort
public static final int InvalidPortStreaming URL contains an invalid port number. Use a port between 1 and 65535.- See Also:
-
AudioStatsNoData
public static final int AudioStatsNoDataAudio statistics are unavailable because no audio data has been processed. Ensure audio sources are active and producing data.- See Also:
-
EmbedMessagePayloadEmpty
public static final int EmbedMessagePayloadEmptyCannot embed an empty message in the video stream. Provide valid message data before calling this method.- See Also:
-
EmbedMessagePayloadTooLarge
public static final int EmbedMessagePayloadTooLargeMessage data exceeds the 1KB limit for embedding in video frames. Reduce the message size to 1KB or less.- See Also:
-
EmbedMessageInvalidRepeatCount
public static final int EmbedMessageInvalidRepeatCountMessage repeat count is outside the valid range of 0-30. Adjust the repeat count to be within this range.- See Also:
-
EmbedMessageRateLimitExceeded
public static final int EmbedMessageRateLimitExceededMessage embedding rate limit exceeded (10KB per second). Reduce message frequency or size to stay within the limit.- See Also:
-
VideoEncoderRecreateFailedTooManyTimes
public static final int VideoEncoderRecreateFailedTooManyTimesVideo encoder failed repeatedly and cannot recover. This device may not support the selected codec or quality settings reliably.- See Also:
-
AudioEncoderRecreateFailedTooManyTimes
public static final int AudioEncoderRecreateFailedTooManyTimesAudio encoder failed repeatedly and cannot recover. This device may not support the selected audio codec or configuration reliably.- See Also:
-
GLESRenderContextInvalid
public static final int GLESRenderContextInvalidVideo rendering context became invalid during operation. Stop and restart the broadcast session.- See Also:
-
GLESRenderContextShaderCompilationFailed
public static final int GLESRenderContextShaderCompilationFailedVideo rendering shader compilation failed on this device. This indicates a device compatibility issue with OpenGL ES.- See Also:
-
BroadcastPlatformJNIResourceLoadFailed
public static final int BroadcastPlatformJNIResourceLoadFailedRequired SDK resource file is missing or inaccessible. Verify the SDK was integrated correctly and all resources are included in the app bundle.- See Also:
-
CertValidatorInternalError
public static final int CertValidatorInternalErrorSSL certificate validation encountered an internal error. Check network connectivity and verify the streaming endpoint uses valid certificates.- See Also:
-
CertValidatorFailedToLoadTrustRoots
public static final int CertValidatorFailedToLoadTrustRootsFailed to load trusted certificate authorities for SSL validation. This indicates a system configuration issue.- See Also:
-
CertValidatorFailedToValidateHost
public static final int CertValidatorFailedToValidateHostSSL certificate hostname validation failed. Verify the streaming URL matches the certificate and the endpoint is correct.- See Also:
-
CertValidatorFailedToFindTarget
public static final int CertValidatorFailedToFindTargetSSL certificate chain is empty or invalid. Verify the streaming endpoint provides valid certificates.- See Also:
-
CertValidatorFailedToValidateCert
public static final int CertValidatorFailedToValidateCertSSL certificate validation failed. Verify the streaming endpoint uses valid, non-expired certificates.- See Also:
-
ImageBufferSetPresentationTimeEGLError
public static final int ImageBufferSetPresentationTimeEGLErrorGraphics system error occurred while setting video frame timestamp. This indicates a device graphics driver issue.- See Also:
-
AAudioSessionOutputNotSupported
public static final int AAudioSessionOutputNotSupportedAudio output is not supported in broadcast sessions. Only audio input (capture) is available for streaming.- See Also:
-
OpenSLSessionOutputNotSupported
public static final int OpenSLSessionOutputNotSupportedAudio output is not supported in broadcast sessions. Only audio input (capture) is available for streaming.- See Also:
-
OpenSLSessionEnqueueBufferFailed
public static final int OpenSLSessionEnqueueBufferFailedAudio system failed to process audio buffer. This device may have audio driver issues or insufficient resources.- See Also:
-
VideoEncoderNoCodecFound
public static final int VideoEncoderNoCodecFoundNo compatible video encoder found on this device. This device may not support the requested video codec or configuration.- See Also:
-
ImageBufferFailedToClearBuffer
public static final int ImageBufferFailedToClearBufferFailed to allocate video buffer from the buffer pool. This device may have insufficient memory or resources.- See Also:
-
ImageBufferFailedToLock
public static final int ImageBufferFailedToLockFailed to lock video buffer for processing. Check the platform error code for device-specific details.- See Also:
-
ImageBufferFailedToUnlock
public static final int ImageBufferFailedToUnlockFailed to unlock video buffer after processing. Check the platform error code for device-specific details.- See Also:
-
CoreVideoRenderContextPoolCreateFailed
public static final int CoreVideoRenderContextPoolCreateFailedFailed to initialize video buffer pool for rendering. This device may have insufficient memory or resources.- See Also:
-
IVSAudioSourceExtractBufferFailed
public static final int IVSAudioSourceExtractBufferFailedAudio processing failed to extract audio data from the buffer. This indicates an audio format or buffer structure issue.- See Also:
-
GLESRenderContextGLError
public static final int GLESRenderContextGLErrorVideo rendering encountered an OpenGL error. Check the error message for device-specific details.- See Also:
-
GLESRenderContextEGLError
public static final int GLESRenderContextEGLErrorVideo rendering encountered an EGL graphics error. Check the error message for device-specific details.- See Also:
-