Package com.amazonaws.ivs.broadcast
Class BroadcastErrorCode.RealTime
java.lang.Object
com.amazonaws.ivs.broadcast.BroadcastErrorCode.RealTime
- Enclosing class:
BroadcastErrorCode
Real-Time error codes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCannot join stage because a join operation is already in progress or completed.static final intFailed to initialize AAudio for stage audio playback.static final intFailed to initialize audio playback after trying both AAudio and OpenSL ES.static final intFailed to connect to stage after multiple retry attempts.static final intFailed to retrieve available video quality layers for participant stream.static final intVideo quality layer query is being rate limited.static final intInput video resolution does not meet stage requirements.static final intAn unexpected server error occurred.static final intInternal event generation system is not initialized.static final intInternal stage event system is not initialized.static final intParticipant not found in the stage.static final intNo audio packets are being sent through the publish connection.static final intNo video packets are being sent through the publish connection.static final intCannot perform operation because no active stage session exists.static final intNo audio packets are being received from the subscribed participant.static final intNo video packets are being received from the subscribed participant.static final intCannot perform operation because media connection is not available.static final intFailed to create WebRTC offer for publishing.static final intFailed to create WebRTC offer for subscribing.static final intFailed to configure media transceivers for the connection.static final intCannot retrieve video receiver configuration because receiver is not initialized.static final intCannot retrieve video sender configuration because sender is not initialized.static final intMedia connection failed to establish network path.static final intFailed to initialize media connection.static final intConnection operation failed due to invalid configuration.static final intMedia connection lost due to network error.static final intOperation failed because the requested media type is not available.static final intWebRTC connection operation failed.static final intReceived invalid connection data from participant.static final intCannot request keyframe because video sender is not ready.static final intFailed to configure video settings for the connection.static final intFailed to establish media connection with participant.static final intFailed to update video encoding settings.static final intMedia connection is taking too long to establish.static final intParticipant disconnected unexpectedly.static final intVideo encoding parameters are not ready.static final intVideo sender is not ready for configuration.static final intFailed to publish audio/video to the stage after multiple retry attempts.static final intPublish or subscribe operation was cancelled.static final intDisconnected from stage by server request.static final intDisconnected from stage by the server for an unspecified reason.static final intDisconnected because the stage was deleted.static final intDisconnected because another participant joined with the same token.static final intStage or participant resource no longer exists on the server.static final intCannot subscribe to your own participant stream.static final intFailed to set video quality layer for participant stream.static final intVideo quality layer selection is being rate limited.static final intStage has reached maximum participant capacity.static final intStage authentication failed during join operation.static final intStage token has expired.static final intStage token is invalid or malformed.static final intThe Stage session is not ready due to a failure is the setup process.static final intStage token lacks required permissions or has been revoked.static final intFailed to subscribe to participant stream after multiple retry attempts.static final intThe token exchange request was rejected.static final intThe token provided to the exchange token API was not compatible with the existing Stage.static final intInvalid response from the server for a token exchange request.static final intThe token provided to the exchange token API was invalid and couldn't be parsed.static final intThe token exchange request timed out. -
Method Summary
-
Field Details
-
StageInvalidToken
public static final int StageInvalidTokenStage token is invalid or malformed. Generate a new token and create a new stage session.- See Also:
-
StageExpiredToken
public static final int StageExpiredTokenStage token has expired. Generate a new token and create a new stage session.- See Also:
-
NoSession
public static final int NoSessionCannot perform operation because no active stage session exists. Join a stage before attempting this operation.- See Also:
-
AlreadyJoiningStage
public static final int AlreadyJoiningStageCannot 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 StageNotReadyThe 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 SelfSubscribeNotSupportCannot 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 NoParticipantToSubscribeToParticipant 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 PublishFailedFailed to publish audio/video to the stage after multiple retry attempts. Check network connectivity and retry.- See Also:
-
SubscribeFailed
public static final int SubscribeFailedFailed to subscribe to participant stream after multiple retry attempts. Check network connectivity and retry.- See Also:
-
OfferCreationFailPublish
public static final int OfferCreationFailPublishFailed to create WebRTC offer for publishing. Retry the publish operation.- See Also:
-
OfferCreationFailSubscribe
public static final int OfferCreationFailSubscribeFailed to create WebRTC offer for subscribing. Retry the subscribe operation.- See Also:
-
PubSubAborted
public static final int PubSubAbortedPublish 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 StageAtCapacityStage has reached maximum participant capacity. Wait for a participant to leave or create a new stage.- See Also:
-
InternalServerError
public static final int InternalServerErrorAn unexpected server error occurred. Retry the operation or contact support if the issue persists.- See Also:
-
StageTokenRejected
public static final int StageTokenRejectedStage token lacks required permissions or has been revoked. Generate a new token with appropriate permissions.- See Also:
-
StageAuthenticationError
public static final int StageAuthenticationErrorStage authentication failed during join operation. The stage may have been deleted or is no longer available.- See Also:
-
InsufficientInputResolution
public static final int InsufficientInputResolutionInput video resolution does not meet stage requirements. Increase camera resolution or adjust stage configuration.- See Also:
-
TokenExchangeInvalidToken
public static final int TokenExchangeInvalidTokenThe 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 TokenExchangeIncompatibleTokenThe 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 MultihostGroupStatePipelineMissingMultihostEventBusInternal stage event system is not initialized. Restart the stage session.- See Also:
-
MultihostGroupStatePipelineMissingEventGenerator
public static final int MultihostGroupStatePipelineMissingEventGeneratorInternal event generation system is not initialized. Restart the stage session.- See Also:
-
ResourceDeleted
public static final int ResourceDeletedStage 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 RemoteDisconnectReasonUnknownDisconnected 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 RemoteDisconnectStageDeletedDisconnected because the stage was deleted.- See Also:
-
RemoteDisconnectTokenReused
public static final int RemoteDisconnectTokenReusedDisconnected because another participant joined with the same token. Use unique tokens for each participant.- See Also:
-
RemoteDisconnectParticipantDisconnected
public static final int RemoteDisconnectParticipantDisconnectedDisconnected from stage by server request. Rejoin the stage with a new token if needed.- See Also:
-
TokenExchangeInvalidResponse
public static final int TokenExchangeInvalidResponseInvalid 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 TokenExchangeFailedResponseThe 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 TokenExchangeTimeoutThe 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 EventsRetriesExhaustedFailed to connect to stage after multiple retry attempts. Check network connectivity and retry joining the stage.- See Also:
-
PeerConnectionNetworkError
public static final int PeerConnectionNetworkErrorMedia connection lost due to network error. Check network connectivity and rejoin the stage.- See Also:
-
PeerConnectionSetRemoteDescriptionFail
public static final int PeerConnectionSetRemoteDescriptionFailFailed to establish media connection with participant. Retry the publish or subscribe operation.- See Also:
-
PeerConnectionParseRemoteDescriptionError
public static final int PeerConnectionParseRemoteDescriptionErrorReceived invalid connection data from participant.- See Also:
-
PeerConnectionUnexpectedRemoteClose
public static final int PeerConnectionUnexpectedRemoteCloseParticipant disconnected unexpectedly. The participant may have left the stage or lost network connectivity.- See Also:
-
PeerConnectionSetParametersError
public static final int PeerConnectionSetParametersErrorFailed 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 PeerConnectionRequestKeyframeNoSenderCannot request keyframe because video sender is not ready. Ensure video is being published.- See Also:
-
PeerConnectionAddTransceiversFailed
public static final int PeerConnectionAddTransceiversFailedFailed 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 PeerConnectionVideoSenderNotReadyVideo sender is not ready for configuration. Ensure video is being published before adjusting settings.- See Also:
-
PeerConnectionVideoRtpParametersNotReady
public static final int PeerConnectionVideoRtpParametersNotReadyVideo encoding parameters are not ready. Wait for the connection to fully establish before adjusting video settings.- See Also:
-
PeerConnectionSetVideoRtpParametersFailed
public static final int PeerConnectionSetVideoRtpParametersFailedFailed 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 PeerConnectionMethodNotSupportedErrorConnection operation failed due to invalid configuration. The error message will contain more detailed information.- See Also:
-
PeerConnectionInitFail
public static final int PeerConnectionInitFailFailed 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 PeerConnectionNoMatchingMediaTypeOperation 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 PeerConnectionTimedOutConnectingMedia 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 PeerConnectionOnFailureWebRTC connection operation failed. This operation will be automatically retried, but this may indicate a network connectivity issue.- See Also:
-
PeerConnectionIceConnectionFailed
public static final int PeerConnectionIceConnectionFailedMedia 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 PeerConnectionCallbackSenderNotReadyCannot retrieve video sender configuration because sender is not initialized. Ensure video is being published.- See Also:
-
PeerConnectionCallbackReceiverNotReady
public static final int PeerConnectionCallbackReceiverNotReadyCannot retrieve video receiver configuration because receiver is not initialized. Ensure video is being subscribed.- See Also:
-
NoValidPeerConnection
public static final int NoValidPeerConnectionCannot perform operation because media connection is not available. Ensure publish or subscribe is active.- See Also:
-
NoPublishAudioPacketsSent
public static final int NoPublishAudioPacketsSentNo 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 NoPublishVideoPacketsSentNo video packets are being sent through the publish connection. Check that video samples are being submitted.- See Also:
-
NoSubscribeAudioPacketsReceived
public static final int NoSubscribeAudioPacketsReceivedNo 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 NoSubscribeVideoPacketsReceivedNo 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 SetLayerRequestFailedFailed 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 SetLayerRequestThrottledVideo quality layer selection is being rate limited. This operation will be automatically retried after a delay.- See Also:
-
GetLayerRequestFailed
public static final int GetLayerRequestFailedFailed 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 GetLayerRequestThrottledVideo quality layer query is being rate limited. This operation will be automatically retried after a delay.- See Also:
-
AndroidInitAAudioError
public static final int AndroidInitAAudioErrorFailed to initialize AAudio for stage audio playback. The app will automatically retry with OpenSL ES audio.- See Also:
-
AndroidInitOpenSLError
public static final int AndroidInitOpenSLErrorFailed to initialize audio playback after trying both AAudio and OpenSL ES. Check device audio settings and restart the app.- See Also:
-