Class BroadcastErrorCode.Broadcast

java.lang.Object
com.amazonaws.ivs.broadcast.BroadcastErrorCode.Broadcast
Enclosing class:
BroadcastErrorCode

public static final class BroadcastErrorCode.Broadcast extends Object
Broadcast error codes.
  • Field Details

    • AudioMixerMissingData

      public static final int AudioMixerMissingData
      Audio mixer received empty audio buffer. Ensure audio sources are providing valid data before mixing.
      See Also:
    • BroadcastSessionNotReady

      public static final int BroadcastSessionNotReady
      Session must be configured before starting a broadcast. Call setup() before attempting to start streaming.
      See Also:
    • BroadcastSessionNotStreaming

      public static final int BroadcastSessionNotStreaming
      Operation requires an active broadcast connection. Start streaming before calling this method.
      See Also:
    • BroadcastSessionAlreadyStreaming

      public static final int BroadcastSessionAlreadyStreaming
      Cannot start a new broadcast while already streaming or running a network test. Stop the current session first.
      See Also:
    • BroadcastSessionMetadataTooLarge

      public static final int BroadcastSessionMetadataTooLarge
      Metadata payload exceeds the 10KB limit. Reduce the metadata size before sending.
      See Also:
    • BroadcastSessionEndpointOrKeyTooLong

      public static final int BroadcastSessionEndpointOrKeyTooLong
      Streaming URL or key exceeds the 64KB limit. Verify the endpoint and stream key are valid.
      See Also:
    • BroadcastSessionInvalidScheme

      public static final int BroadcastSessionInvalidScheme
      Streaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.
      See Also:
    • MixerAddSlotNameAlreadyExists

      public static final int MixerAddSlotNameAlreadyExists
      Cannot add a slot with a duplicate name. Use a unique name or remove the existing slot first.
      See Also:
    • MixerRemoveSlotNotFound

      public static final int MixerRemoveSlotNotFound
      Cannot remove a slot that doesn't exist. Verify the slot name is correct.
      See Also:
    • MixerSampleIgnoredNoSlot

      public static final int MixerSampleIgnoredNoSlot
      Video 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 ConnectionTestSessionBandwidthTooLow
      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.
      See Also:
    • ConnectionTestSessionCanceled

      public static final int ConnectionTestSessionCanceled
      Network test was canceled before completion. Start a new test if you need recommended settings.
      See Also:
    • BadSyncSample

      public static final int BadSyncSample
      Video 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 LatencyThresholdReached
      Network latency exceeded acceptable limits and the broadcast was stopped. Improve network stability or reduce bitrate.
      See Also:
    • StopFailedToComplete

      public static final int StopFailedToComplete
      Stream stop operation did not complete successfully. Wait 30 seconds before streaming to the same channel again.
      See Also:
    • RenderContextUnsupportedPixelFormat

      public static final int RenderContextUnsupportedPixelFormat
      Video pixel format is not supported by the device. Use a supported format like NV12 or RGBA.
      See Also:
    • AudioSessionUnexpectedState

      public static final int AudioSessionUnexpectedState
      Audio session entered an unexpected state during operation. Stop and restart the broadcast session.
      See Also:
    • AudioSessionDeviceDisconnected

      public static final int AudioSessionDeviceDisconnected
      Audio 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 AudioSessionIllegalArgument
      Audio configuration parameter is invalid. Verify audio device settings match supported values.
      See Also:
    • AudioSessionTimeout

      public static final int AudioSessionTimeout
      Audio 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 AudioSessionNotAvailable
      Audio device is not available for capture. Verify device is connected and not in use by another app.
      See Also:
    • AudioSessionDeviceNotInitialized

      public static final int AudioSessionDeviceNotInitialized
      Audio 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 AudioSessionGeneric
      Audio device encountered an unexpected error. Check platform error code for details.
      See Also:
    • BackgroundVideoNoValidImagesReceived

      public static final int BackgroundVideoNoValidImagesReceived
      Background image source received no valid images before finalization. Ensure images are submitted before stopping the source.
      See Also:
    • ImageBufferBadStride

      public static final int ImageBufferBadStride
      Image buffer stride value is invalid for the specified dimensions. Verify stride matches pixel format requirements.
      See Also:
    • ImageBufferNotEnoughData

      public static final int ImageBufferNotEnoughData
      Image 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 ImageBufferTooMuchData
      Image buffer size exceeds expected size for the specified dimensions and format. Verify buffer size calculation.
      See Also:
    • ImageBufferUnsupportedFormat

      public static final int ImageBufferUnsupportedFormat
      Image pixel format is not supported on this device. Use a supported format like NV12 or RGBA.
      See Also:
    • ImageBufferContentSizeMismatch

      public static final int ImageBufferContentSizeMismatch
      Image 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 ImageBufferFormatMismatch
      Image buffer pixel format cannot be changed after creation. Create a new buffer with the desired format.
      See Also:
    • ImageBufferNotValid

      public static final int ImageBufferNotValid
      Image buffer is invalid or was destroyed. Verify the buffer is properly initialized before use.
      See Also:
    • ImageBufferBadData

      public static final int ImageBufferBadData
      Image data pointer is null or invalid. Provide valid image data before submitting.
      See Also:
    • ImageBufferNotSupported

      public static final int ImageBufferNotSupported
      Operation is not supported for this image buffer type. Use a compatible buffer or operation.
      See Also:
    • CodecDiscoveryDeviceConfigKeyMissing

      public static final int CodecDiscoveryDeviceConfigKeyMissing
      Codec support configuration is not yet available. Retry codec discovery after a brief delay.
      See Also:
    • CodecDiscoveryDeviceConfigDisabledChannel

      public static final int CodecDiscoveryDeviceConfigDisabledChannel
      Codec is disabled for this streaming channel.
      See Also:
    • CodecDiscoveryDeviceConfigDisabledDevice

      public static final int CodecDiscoveryDeviceConfigDisabledDevice
      HEVC codec is not supported on this device with the current configuration. Use AVC instead.
      See Also:
    • VideoEncoderValidatorDecodeTimeDecreasing

      public static final int VideoEncoderValidatorDecodeTimeDecreasing
      Video encoder produced frames with non-increasing timestamps. This device may not support the selected codec reliably.
      See Also:
    • VideoEncoderValidatorDecodeMissingOrIncorrectCodecData

      public static final int VideoEncoderValidatorDecodeMissingOrIncorrectCodecData
      Video 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 VideoEncoderValidatorEncodeTimeout
      Video 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 VideoEncoderValidatorIncorrectKeyframeCount
      Video 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 NetConnectionConnectFailed
      Failed to establish streaming connection to the server. Check network connectivity and verify the streaming URL is correct.
      See Also:
    • NetStreamPublishFailed

      public static final int NetStreamPublishFailed
      Failed 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 InvalidScheme
      Streaming URL uses an unsupported protocol. Use rtmp:// or rtmps:// schemes.
      See Also:
    • CouldNotDeterminePort

      public static final int CouldNotDeterminePort
      Streaming 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 InvalidPort
      Streaming URL contains an invalid port number. Use a port between 1 and 65535.
      See Also:
    • AudioStatsNoData

      public static final int AudioStatsNoData
      Audio 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 EmbedMessagePayloadEmpty
      Cannot embed an empty message in the video stream. Provide valid message data before calling this method.
      See Also:
    • EmbedMessagePayloadTooLarge

      public static final int EmbedMessagePayloadTooLarge
      Message 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 EmbedMessageInvalidRepeatCount
      Message 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 EmbedMessageRateLimitExceeded
      Message embedding rate limit exceeded (10KB per second). Reduce message frequency or size to stay within the limit.
      See Also:
    • VideoEncoderRecreateFailedTooManyTimes

      public static final int VideoEncoderRecreateFailedTooManyTimes
      Video 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 AudioEncoderRecreateFailedTooManyTimes
      Audio 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 GLESRenderContextInvalid
      Video rendering context became invalid during operation. Stop and restart the broadcast session.
      See Also:
    • GLESRenderContextShaderCompilationFailed

      public static final int GLESRenderContextShaderCompilationFailed
      Video rendering shader compilation failed on this device. This indicates a device compatibility issue with OpenGL ES.
      See Also:
    • BroadcastPlatformJNIResourceLoadFailed

      public static final int BroadcastPlatformJNIResourceLoadFailed
      Required 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 CertValidatorInternalError
      SSL certificate validation encountered an internal error. Check network connectivity and verify the streaming endpoint uses valid certificates.
      See Also:
    • CertValidatorFailedToLoadTrustRoots

      public static final int CertValidatorFailedToLoadTrustRoots
      Failed to load trusted certificate authorities for SSL validation. This indicates a system configuration issue.
      See Also:
    • CertValidatorFailedToValidateHost

      public static final int CertValidatorFailedToValidateHost
      SSL certificate hostname validation failed. Verify the streaming URL matches the certificate and the endpoint is correct.
      See Also:
    • CertValidatorFailedToFindTarget

      public static final int CertValidatorFailedToFindTarget
      SSL certificate chain is empty or invalid. Verify the streaming endpoint provides valid certificates.
      See Also:
    • CertValidatorFailedToValidateCert

      public static final int CertValidatorFailedToValidateCert
      SSL certificate validation failed. Verify the streaming endpoint uses valid, non-expired certificates.
      See Also:
    • ImageBufferSetPresentationTimeEGLError

      public static final int ImageBufferSetPresentationTimeEGLError
      Graphics system error occurred while setting video frame timestamp. This indicates a device graphics driver issue.
      See Also:
    • AAudioSessionOutputNotSupported

      public static final int AAudioSessionOutputNotSupported
      Audio output is not supported in broadcast sessions. Only audio input (capture) is available for streaming.
      See Also:
    • OpenSLSessionOutputNotSupported

      public static final int OpenSLSessionOutputNotSupported
      Audio output is not supported in broadcast sessions. Only audio input (capture) is available for streaming.
      See Also:
    • OpenSLSessionEnqueueBufferFailed

      public static final int OpenSLSessionEnqueueBufferFailed
      Audio system failed to process audio buffer. This device may have audio driver issues or insufficient resources.
      See Also:
    • VideoEncoderNoCodecFound

      public static final int VideoEncoderNoCodecFound
      No 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 ImageBufferFailedToClearBuffer
      Failed to allocate video buffer from the buffer pool. This device may have insufficient memory or resources.
      See Also:
    • ImageBufferFailedToLock

      public static final int ImageBufferFailedToLock
      Failed to lock video buffer for processing. Check the platform error code for device-specific details.
      See Also:
    • ImageBufferFailedToUnlock

      public static final int ImageBufferFailedToUnlock
      Failed to unlock video buffer after processing. Check the platform error code for device-specific details.
      See Also:
    • CoreVideoRenderContextPoolCreateFailed

      public static final int CoreVideoRenderContextPoolCreateFailed
      Failed to initialize video buffer pool for rendering. This device may have insufficient memory or resources.
      See Also:
    • IVSAudioSourceExtractBufferFailed

      public static final int IVSAudioSourceExtractBufferFailed
      Audio 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 GLESRenderContextGLError
      Video rendering encountered an OpenGL error. Check the error message for device-specific details.
      See Also:
    • GLESRenderContextEGLError

      public static final int GLESRenderContextEGLError
      Video rendering encountered an EGL graphics error. Check the error message for device-specific details.
      See Also: