Class BroadcastErrorCode.Platform

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

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

    • DeviceDescriptorNotValid

      public static final int DeviceDescriptorNotValid
      Device descriptor is invalid. Verify the device descriptor was obtained from listAvailableDevices() and has not been modified.
      See Also:
    • SessionNotReady

      public static final int SessionNotReady
      Session is not ready for operation. Check that session initialization completed successfully and isReady() returns true.
      See Also:
    • FailedToAttachDevice

      public static final int FailedToAttachDevice
      Device attachment failed. The session may be in an invalid state, the device may not be available, permissions may be missing, or the device may be in use by another application.
      See Also:
    • DeviceNotInValidState

      public static final int DeviceNotInValidState
      Device is invalid or has been released. Verify the device is still valid before attaching.
      See Also:
    • DeviceTypesMustMatch

      public static final int DeviceTypesMustMatch
      Cannot exchange devices of different types. Both devices must be cameras, microphones, or the same device type.
      See Also:
    • DeviceNotAttached

      public static final int DeviceNotAttached
      Cannot exchange or operate on a device that is not currently attached to the session. Attach the device first using attachDevice().
      See Also:
    • FailedToCreateImageInputSource

      public static final int FailedToCreateImageInputSource
      Failed to create custom image input source. This may indicate insufficient system resources or an internal SDK error.
      See Also:
    • FailedToGetPreviewView

      public static final int FailedToGetPreviewView
      Failed to create preview view. This may indicate insufficient system resources or an internal SDK error.
      See Also:
    • NotificationRequired

      public static final int NotificationRequired
      Notification is required for screen capture on Android 8.0 (API 26) and higher. Provide a notification using createServiceNotificationBuilder().
      See Also:
    • ServiceClassMustExtendSystemCaptureService

      public static final int ServiceClassMustExtendSystemCaptureService
      Service class must extend SystemCaptureService. Verify your service implementation extends the correct base class.
      See Also:
    • FailedToCreateScreenCaptureSource

      public static final int FailedToCreateScreenCaptureSource
      Failed to create screen capture device. Verify MediaProjection permission was granted and the device supports screen capture.
      See Also:
    • FailedToCreateAudioCaptureSource

      public static final int FailedToCreateAudioCaptureSource
      Failed to create system audio capture device. Make sure the Session.isReady() returns true and the permission request was accepted.
      See Also:
    • WrongThread

      public static final int WrongThread
      API called from wrong thread. All BroadcastSession methods must be called from the thread that created the session.
      See Also:
    • UnableToCreateMixedImageDevice

      public static final int UnableToCreateMixedImageDevice
      Failed to create mixed image device. Check device logs for specific error details. This happens when DeviceDiscovery has already been released, or it may indicate insufficient system resources.
      See Also:
    • UnableToCreateMixedAudioDevice

      public static final int UnableToCreateMixedAudioDevice
      Failed to create mixed audio device. Check device logs for specific error details. This happens when DeviceDiscovery has already been released, or it may indicate insufficient system resources.
      See Also:
    • DeviceNotReady

      public static final int DeviceNotReady
      Device is not ready for configuration. This may indicate the device failed to initialize or system resources are unavailable.
      See Also:
    • SurfaceSourceFailedToGetPreviewView

      public static final int SurfaceSourceFailedToGetPreviewView
      Failed to create preview view for surface source. This may indicate insufficient system resources or an internal SDK error.
      See Also:
    • CannotConfigureNonUserAudio

      public static final int CannotConfigureNonUserAudio
      Cannot configure audio device that is not a custom audio source. Only custom audio sources created via createAudioInputSource() can be configured.
      See Also:
    • InvalidAudioDeviceConfiguration

      public static final int InvalidAudioDeviceConfiguration
      Audio channel count is invalid. Must be 1 (mono) or 2 (stereo).
      See Also:
    • AppendBufferNotSupported

      public static final int AppendBufferNotSupported
      Cannot append audio buffers directly to a MixedAudioDevice. Add audio sources to the mixer using addSource() instead.
      See Also:
    • H265NotSupported

      public static final int H265NotSupported
      H.265 (HEVC) codec is not supported on this device. Use H.264 (AVC) instead.
      See Also:
    • StageJoinAfterDestroyed

      public static final int StageJoinAfterDestroyed
      Cannot join stage after it has been released. Create a new Stage instance to join.
      See Also:
    • StageExchangeTokenAfterDestroyed

      public static final int StageExchangeTokenAfterDestroyed
      Cannot exchange token after stage has been released. Create a new Stage instance with the new token.
      See Also:
    • StageLeaveAfterDestroyed

      public static final int StageLeaveAfterDestroyed
      Cannot leave stage after it has been released. This is expected during cleanup and can be safely ignored.
      See Also:
    • StrategyArbiterMultipleStreams

      public static final int StrategyArbiterMultipleStreams
      Cannot publish multiple audio or video streams simultaneously. Only one audio stream and one video stream are supported per stage session.
      See Also:
    • StageWrongThread

      public static final int StageWrongThread
      API called from wrong thread. All Stage methods must be called from the main thread.
      See Also: