Class BroadcastErrorCode.RealTime

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

public static final class BroadcastErrorCode.RealTime extends Object
Real-Time error codes.
  • Field Details

    • StageInvalidToken

      public static final int StageInvalidToken
      Stage token is invalid or malformed. Generate a new token and create a new stage session.
      See Also:
    • StageExpiredToken

      public static final int StageExpiredToken
      Stage token has expired. Generate a new token and create a new stage session.
      See Also:
    • NoSession

      public static final int NoSession
      Cannot perform operation because no active stage session exists. Join a stage before attempting this operation.
      See Also:
    • AlreadyJoiningStage

      public static final int AlreadyJoiningStage
      Cannot join stage because a join operation is already in progress or completed. Wait for the current operation to finish.
      See Also:
    • StageNotReady

      public static final int StageNotReady
      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.
      See Also:
    • SelfSubscribeNotSupport

      public static final int SelfSubscribeNotSupport
      Cannot subscribe to your own participant stream. Subscribe to other participants instead. This should not be possible using the StageStrategy.
      See Also:
    • NoParticipantToSubscribeTo

      public static final int NoParticipantToSubscribeTo
      Participant not found in the stage. This is likely because the remote participant unpublished at the same time this SDK attempted to subscribe.
      See Also:
    • PublishFailed

      public static final int PublishFailed
      Failed to publish audio/video to the stage after multiple retry attempts. Check network connectivity and retry.
      See Also:
    • SubscribeFailed

      public static final int SubscribeFailed
      Failed to subscribe to participant stream after multiple retry attempts. Check network connectivity and retry.
      See Also:
    • OfferCreationFailPublish

      public static final int OfferCreationFailPublish
      Failed to create WebRTC offer for publishing. Retry the publish operation.
      See Also:
    • OfferCreationFailSubscribe

      public static final int OfferCreationFailSubscribe
      Failed to create WebRTC offer for subscribing. Retry the subscribe operation.
      See Also:
    • PubSubAborted

      public static final int PubSubAborted
      Publish or subscribe operation was cancelled. This is expected when leaving or unsubscribing in the middle of an operation.
      See Also:
    • StageAtCapacity

      public static final int StageAtCapacity
      Stage has reached maximum participant capacity. Wait for a participant to leave or create a new stage.
      See Also:
    • InternalServerError

      public static final int InternalServerError
      An unexpected server error occurred. Retry the operation or contact support if the issue persists.
      See Also:
    • StageTokenRejected

      public static final int StageTokenRejected
      Stage token lacks required permissions or has been revoked. Generate a new token with appropriate permissions.
      See Also:
    • StageAuthenticationError

      public static final int StageAuthenticationError
      Stage authentication failed during join operation. The stage may have been deleted or is no longer available.
      See Also:
    • InsufficientInputResolution

      public static final int InsufficientInputResolution
      Input video resolution does not meet stage requirements. Increase camera resolution or adjust stage configuration.
      See Also:
    • TokenExchangeInvalidToken

      public static final int TokenExchangeInvalidToken
      The token provided to the exchange token API was invalid and couldn't be parsed. Create a new token and try again.
      See Also:
    • TokenExchangeIncompatibleToken

      public static final int TokenExchangeIncompatibleToken
      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.
      See Also:
    • MultihostGroupStatePipelineMissingMultihostEventBus

      public static final int MultihostGroupStatePipelineMissingMultihostEventBus
      Internal stage event system is not initialized. Restart the stage session.
      See Also:
    • MultihostGroupStatePipelineMissingEventGenerator

      public static final int MultihostGroupStatePipelineMissingEventGenerator
      Internal event generation system is not initialized. Restart the stage session.
      See Also:
    • ResourceDeleted

      public static final int ResourceDeleted
      Stage or participant resource no longer exists on the server. The stage may have been deleted or the session expired.
      See Also:
    • RemoteDisconnectReasonUnknown

      public static final int RemoteDisconnectReasonUnknown
      Disconnected from stage by the server for an unspecified reason. Rejoin the stage with a new token if needed.
      See Also:
    • RemoteDisconnectStageDeleted

      public static final int RemoteDisconnectStageDeleted
      Disconnected because the stage was deleted.
      See Also:
    • RemoteDisconnectTokenReused

      public static final int RemoteDisconnectTokenReused
      Disconnected because another participant joined with the same token. Use unique tokens for each participant.
      See Also:
    • RemoteDisconnectParticipantDisconnected

      public static final int RemoteDisconnectParticipantDisconnected
      Disconnected from stage by server request. Rejoin the stage with a new token if needed.
      See Also:
    • TokenExchangeInvalidResponse

      public static final int TokenExchangeInvalidResponse
      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.
      See Also:
    • TokenExchangeFailedResponse

      public static final int TokenExchangeFailedResponse
      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.
      See Also:
    • TokenExchangeTimeout

      public static final int TokenExchangeTimeout
      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.
      See Also:
    • EventsRetriesExhausted

      public static final int EventsRetriesExhausted
      Failed to connect to stage after multiple retry attempts. Check network connectivity and retry joining the stage.
      See Also:
    • PeerConnectionNetworkError

      public static final int PeerConnectionNetworkError
      Media connection lost due to network error. Check network connectivity and rejoin the stage.
      See Also:
    • PeerConnectionSetRemoteDescriptionFail

      public static final int PeerConnectionSetRemoteDescriptionFail
      Failed to establish media connection with participant. Retry the publish or subscribe operation.
      See Also:
    • PeerConnectionParseRemoteDescriptionError

      public static final int PeerConnectionParseRemoteDescriptionError
      Received invalid connection data from participant.
      See Also:
    • PeerConnectionUnexpectedRemoteClose

      public static final int PeerConnectionUnexpectedRemoteClose
      Participant disconnected unexpectedly. The participant may have left the stage or lost network connectivity.
      See Also:
    • PeerConnectionSetParametersError

      public static final int PeerConnectionSetParametersError
      Failed to configure video settings for the connection. Check system resources, this may have been a memory allocation failure.
      See Also:
    • PeerConnectionRequestKeyframeNoSender

      public static final int PeerConnectionRequestKeyframeNoSender
      Cannot request keyframe because video sender is not ready. Ensure video is being published.
      See Also:
    • PeerConnectionAddTransceiversFailed

      public static final int PeerConnectionAddTransceiversFailed
      Failed to configure media transceivers for the connection. This is a libWebRTC failure and may indicate the system is low on resources.
      See Also:
    • PeerConnectionVideoSenderNotReady

      public static final int PeerConnectionVideoSenderNotReady
      Video sender is not ready for configuration. Ensure video is being published before adjusting settings.
      See Also:
    • PeerConnectionVideoRtpParametersNotReady

      public static final int PeerConnectionVideoRtpParametersNotReady
      Video encoding parameters are not ready. Wait for the connection to fully establish before adjusting video settings.
      See Also:
    • PeerConnectionSetVideoRtpParametersFailed

      public static final int PeerConnectionSetVideoRtpParametersFailed
      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.
      See Also:
    • PeerConnectionMethodNotSupportedError

      public static final int PeerConnectionMethodNotSupportedError
      Connection operation failed due to invalid configuration. The error message will contain more detailed information.
      See Also:
    • PeerConnectionInitFail

      public static final int PeerConnectionInitFail
      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.
      See Also:
    • PeerConnectionNoMatchingMediaType

      public static final int PeerConnectionNoMatchingMediaType
      Operation failed because the requested media type is not available. Ensure audio or video is being published or subscribed before requesting RTC stats.
      See Also:
    • PeerConnectionTimedOutConnecting

      public static final int PeerConnectionTimedOutConnecting
      Media connection is taking too long to establish. This operation will be automatically retried, but this may indicate a network connectivity issue.
      See Also:
    • PeerConnectionOnFailure

      public static final int PeerConnectionOnFailure
      WebRTC connection operation failed. This operation will be automatically retried, but this may indicate a network connectivity issue.
      See Also:
    • PeerConnectionIceConnectionFailed

      public static final int PeerConnectionIceConnectionFailed
      Media connection failed to establish network path. This operation will be automatically retried, but this may indicate a network connectivity issue.
      See Also:
    • PeerConnectionCallbackSenderNotReady

      public static final int PeerConnectionCallbackSenderNotReady
      Cannot retrieve video sender configuration because sender is not initialized. Ensure video is being published.
      See Also:
    • PeerConnectionCallbackReceiverNotReady

      public static final int PeerConnectionCallbackReceiverNotReady
      Cannot retrieve video receiver configuration because receiver is not initialized. Ensure video is being subscribed.
      See Also:
    • NoValidPeerConnection

      public static final int NoValidPeerConnection
      Cannot perform operation because media connection is not available. Ensure publish or subscribe is active.
      See Also:
    • NoPublishAudioPacketsSent

      public static final int NoPublishAudioPacketsSent
      No audio packets are being sent through the publish connection. Check that audio input is active and not muted.
      See Also:
    • NoPublishVideoPacketsSent

      public static final int NoPublishVideoPacketsSent
      No video packets are being sent through the publish connection. Check that video samples are being submitted.
      See Also:
    • NoSubscribeAudioPacketsReceived

      public static final int NoSubscribeAudioPacketsReceived
      No audio packets are being received from the subscribed participant. The participant may have stopped publishing audio or network connectivity is lost.
      See Also:
    • NoSubscribeVideoPacketsReceived

      public static final int NoSubscribeVideoPacketsReceived
      No video packets are being received from the subscribed participant. The participant may have stopped publishing video without muting or network connectivity is lost.
      See Also:
    • SetLayerRequestFailed

      public static final int SetLayerRequestFailed
      Failed to set video quality layer for participant stream. This operation will be automatically retried, but this may indicate a network connectivity issue.
      See Also:
    • SetLayerRequestThrottled

      public static final int SetLayerRequestThrottled
      Video quality layer selection is being rate limited. This operation will be automatically retried after a delay.
      See Also:
    • GetLayerRequestFailed

      public static final int GetLayerRequestFailed
      Failed to retrieve available video quality layers for participant stream. This operation will be automatically retried, but this may indicate a network connectivity issue.
      See Also:
    • GetLayerRequestThrottled

      public static final int GetLayerRequestThrottled
      Video quality layer query is being rate limited. This operation will be automatically retried after a delay.
      See Also:
    • AndroidInitAAudioError

      public static final int AndroidInitAAudioError
      Failed to initialize AAudio for stage audio playback. The app will automatically retry with OpenSL ES audio.
      See Also:
    • AndroidInitOpenSLError

      public static final int AndroidInitOpenSLError
      Failed to initialize audio playback after trying both AAudio and OpenSL ES. Check device audio settings and restart the app.
      See Also: