Class BroadcastErrorCode.Net

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

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

    • SocketCreationFailed

      public static final int SocketCreationFailed
      Network connection failed during initialization due to system resource constraints. Verify network availability and retry the stream.
      See Also:
    • SocketConfigurationFailed

      public static final int SocketConfigurationFailed
      Network connection setup failed due to configuration issues. Check network connectivity and retry the stream.
      See Also:
    • SocketConnectFailed

      public static final int SocketConnectFailed
      Unable to establish network connection to the streaming server. Verify network connectivity and that the stream URL is accessible.
      See Also:
    • SocketSendFailed

      public static final int SocketSendFailed
      Failed to send data over the network connection. Check network stability and restart the stream.
      See Also:
    • SocketRecvFailed

      public static final int SocketRecvFailed
      Failed to receive data from the streaming server. Check network stability and restart the stream.
      See Also:
    • SocketRecvFailedEOF

      public static final int SocketRecvFailedEOF
      The streaming server closed the connection unexpectedly. Verify no other users are streaming to this endpoint and restart the stream.
      See Also:
    • SocketRemoteHangup

      public static final int SocketRemoteHangup
      Network connection closed unexpectedly during stream playback. Check network stability and restart the stream.
      See Also:
    • SocketRemoteError

      public static final int SocketRemoteError
      Network error occurred during stream playback. Verify network connectivity and restart the stream.
      See Also:
    • SocketGetRttFailedNotSupportedOnThisSystem

      public static final int SocketGetRttFailedNotSupportedOnThisSystem
      Network latency measurement is unavailable on this device. Streaming will continue without latency metrics.
      See Also:
    • SocketSendLowWaterFailed

      public static final int SocketSendLowWaterFailed
      Network send buffer configuration failed. Check network conditions and retry the stream.
      See Also:
    • CouldNotResolveAddress

      public static final int CouldNotResolveAddress
      Unable to resolve the streaming server hostname. Check network connectivity and verify the stream URL is correct.
      See Also:
    • GetAverageOutgoingRateFailed

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

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

      public static final int TLSSendFailedBadWriteRetry
      Secure connection data transmission failed due to protocol violation. Restart the stream to re-establish the connection.
      See Also:
    • TLSSendFailedAttemptedToSendWhileHandshaking

      public static final int TLSSendFailedAttemptedToSendWhileHandshaking
      Data transmission attempted before secure connection was established. Restart the stream.
      See Also:
    • TLSSendFailedAttemptedToSendWhileDisconnected

      public static final int TLSSendFailedAttemptedToSendWhileDisconnected
      Data transmission attempted after connection was closed. Restart the stream to re-establish the connection.
      See Also:
    • TLSRecvFailedAttemptedToRecvWhileHandshaking

      public static final int TLSRecvFailedAttemptedToRecvWhileHandshaking
      Data reception attempted before secure connection was established. Restart the stream.
      See Also:
    • TLSRecvFailedAttemptedToRecvWhileDisconnected

      public static final int TLSRecvFailedAttemptedToRecvWhileDisconnected
      Data reception attempted after connection was closed. Restart the stream to re-establish the connection.
      See Also:
    • TLSRecvFailedAttemptedToRecvAfterReceivingShutdownFromPeer

      public static final int TLSRecvFailedAttemptedToRecvAfterReceivingShutdownFromPeer
      The streaming server closed the connection. Verify no other users are streaming to this endpoint and restart the stream.
      See Also:
    • TLSRecvFailedAttemptedToRecvWhileShuttingDown

      public static final int TLSRecvFailedAttemptedToRecvWhileShuttingDown
      Data reception attempted while connection is closing. This is expected during stream shutdown.
      See Also:
    • TLSHandshakeFailedCouldNotCreateSslInstance

      public static final int TLSHandshakeFailedCouldNotCreateSslInstance
      Secure connection initialization failed. This is usually an allocation failure, the device may not be able to allocate more memory to the process.
      See Also:
    • TLSSendFailedOpenSSLError

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

      public static final int TLSRecvFailedOpenSSLError
      Failed to receive data over secure connection. Check network stability and restart the stream.
      See Also:
    • TLSHandshakeFailedOpenSSLError

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

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

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

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

      public static final int EventLoopFailedToCreateTimer
      Internal timing mechanism failed. This may prevent efficient DNS resolution.
      See Also:
    • WebSocketHandshakeInvalidUpgradeResponse

      public static final int WebSocketHandshakeInvalidUpgradeResponse
      Server did not accept WebSocket connection request.
      See Also:
    • WebSocketHandshakeInvalidAcceptKey

      public static final int WebSocketHandshakeInvalidAcceptKey
      WebSocket handshake validation failed.
      See Also:
    • WebSocketHandshakeProtocolNegotiationFailed

      public static final int WebSocketHandshakeProtocolNegotiationFailed
      Server selected a WebSocket protocol not supported by the client. Verify the events URL is correct and restart the session.
      See Also:
    • WebSocketHandshakeTimeout

      public static final int WebSocketHandshakeTimeout
      WebSocket connection took too long to establish. Check network connectivity and retry the connection.
      See Also:
    • WebSocketHandshakeInvalidStatusCode

      public static final int WebSocketHandshakeInvalidStatusCode
      Server rejected WebSocket connection with unexpected status code. Verify the events URL supports WebSocket connections.
      See Also:
    • WebSocketHandshakeInvalidHeaders

      public static final int WebSocketHandshakeInvalidHeaders
      Server response headers do not meet WebSocket protocol requirements. Verify the events URL is correct and supports WebSocket.
      See Also:
    • WebSocketFrameInvalidOpcode

      public static final int WebSocketFrameInvalidOpcode
      Received malformed data from the streaming server. Restart the session to re-establish the connection.
      See Also:
    • WebSocketFrameInvalidLength

      public static final int WebSocketFrameInvalidLength
      Received data with invalid length from the streaming server. Restart the connection to re-establish the connection.
      See Also:
    • WebSocketFrameInvalidMask

      public static final int WebSocketFrameInvalidMask
      Server violated WebSocket protocol by sending masked data. Restart the session to re-establish the connection.
      See Also:
    • WebSocketFrameControlFrameTooLarge

      public static final int WebSocketFrameControlFrameTooLarge
      Server sent control message exceeding protocol limit. Restart the session to re-establish the connection.
      See Also:
    • WebSocketFrameInvalidUTF8

      public static final int WebSocketFrameInvalidUTF8
      Received text message with invalid character encoding from the server. Restart the session to re-establish the connection.
      See Also:
    • WebSocketFrameReservedBitsSet

      public static final int WebSocketFrameReservedBitsSet
      Server violated WebSocket protocol by setting reserved bits. Restart the session to re-establish the connection.
      See Also:
    • WebSocketFrameIncompleteData

      public static final int WebSocketFrameIncompleteData
      Received partial data from the streaming server. This is typically handled automatically by waiting for more data and should not impact the session.
      See Also:
    • WebSocketFrameControlFrameFragmented

      public static final int WebSocketFrameControlFrameFragmented
      Server violated WebSocket protocol by fragmenting a control message. Restart the session to re-establish the connection.
      See Also:
    • WebSocketProtocolMessageTooLarge

      public static final int WebSocketProtocolMessageTooLarge
      Received message exceeds maximum allowed size. Restart the session to re-establish the connection.
      See Also:
    • WebSocketProtocolConnectionNotEstablished

      public static final int WebSocketProtocolConnectionNotEstablished
      Attempted to send data before WebSocket connection was ready. This is an internal SDK and the session should be retried.
      See Also:
    • WebSocketConnectionTimeout

      public static final int WebSocketConnectionTimeout
      WebSocket connection took too long to establish. Check network connectivity and restart the session.
      See Also:
    • WebSocketConnectionLost

      public static final int WebSocketConnectionLost
      The streaming server closed the WebSocket connection. Check network connectivity and restart the session.
      See Also:
    • WebSocketConnectionCloseTimeout

      public static final int WebSocketConnectionCloseTimeout
      Server did not acknowledge connection close request in time. The connection will be terminated forcefully.
      See Also:
    • WebSocketConnectionPongTimeout

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