PlayerErrorCode

PlayerErrorCode

@Serializable(with = PlayerErrorCodeSerializer::class)

enum PlayerErrorCode : ErrorCode, Enum<PlayerErrorCode>

1000 - 1999: Player-related error codes

  • 1000 - 1099: General
  • 1100 - 1199: Playback
  • 1200 - 1299: Network

Entries

GeneralGeneral
A general player error code when a more specific error code could not be determined. See Logging in the Android Player SDK for instructions on enabling verbose logging for contacting support with a full error report.
LicenseKeyNotFoundLicenseKeyNotFound
Verification of the player license key failed because no license key was found. Make sure that a valid license is provided in the app manifest or PlayerConfig.
LicenseAuthenticationFailedLicenseAuthenticationFailed
The license request was failed or was denied by the server. One possible reason is that the package of the app is not authorized for the specified player license key. Make sure that the package name of the application is registered for the license key provided in the app manifest or PlayerConfig. This can be done in the Bitmovin dashboard.
TimeoutTimeout
The player timed out in a non-network operation, e.g. when detaching the surface or releasing the player. Surface detachment timeouts can usually be ignored, as they do not affect playback. In order to avoid timeouts when releasing the player you can configure a longer timeout in the TweaksConfig.detachSurfaceTimeout and TweaksConfig.releasePlayerTimeout properties.
InconsistentStateInIntegrationInconsistentStateInIntegration
Interaction with an integration seems to be inconsistent.
DecoderGeneralDecoderGeneral
A general error indicating that a decoder action failed. The message of the according PlayerEvent.Error provides more information.
DecoderInitializationDecoderInitialization
Initialization of a decoder failed. The message of the according PlayerEvent.Error provides more information.
DecodingFailedDecodingFailed
Decoding a media segment failed. The message of the according PlayerEvent.Error provides more information.
DecodingUnsupportedDecodingUnsupported
Decoding of unsupported data format failed. The message of the according PlayerEvent.Error provides more information.
DecodingExceedsCapabilitiesDecodingExceedsCapabilities
Decoding of a format that exceeds the device capabilities failed. The message of the according PlayerEvent.Error provides more information.

Types

NameSummary
Companionobject Companion

Properties

NameSummary
entriesval entries: EnumEntries<PlayerErrorCode>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
valueopen override val value: Int
The raw code value associated with the deficiency.

Functions

NameSummary
valueOffun valueOf(value: String): PlayerErrorCode
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
valuesfun values(): Array<PlayerErrorCode>
Returns an array containing the constants of this enum type, in the order they're declared.