PlayerWarningCode

@Serializable(with = PlayerWarningCodeSerializer::class)
enum PlayerWarningCode : Enum<PlayerWarningCode> , WarningCode

1000 - 1999: Player-related warning codes

  • 1000 - 1099: General

  • 1100 - 1199: Playback

  • 1200 - 1299: Network

  • 1300 - 1399: Advertising

  • 1400 - 1499: DRM

Entries

Link copied to clipboard

A general player warning code when a more specific warning code could not be determined. Use this to catch generic issues that don't fit into a more specific category.

Link copied to clipboard

The playlist state on the cast-enabled device is inconsistent with the local playlist state. See Setting up Google Cast support for guidance on proper setup.

Link copied to clipboard

An error occurred while trying to manipulate the playlist. For more details, refer to the PlayerEvent.Warning message associated with this warning.

Link copied to clipboard

The current state does not allow the specific API call that was attempted. For more details, refer to the PlayerEvent.Warning message associated with this warning.

Link copied to clipboard

A feature is not supported in the current context. For more details, refer to the PlayerEvent.Warning message associated with this warning.

Link copied to clipboard

Playback on the cast-enabled device failed.

Target latency for live playback is estimated to be too low for the current network conditions (latency and jitter). For more details, refer to the PlayerEvent.Warning message associated with this warning.

Link copied to clipboard

Initialization of a decoder failed, but the player will attempt to retry. For more details, refer to the PlayerEvent.Warning message associated with this warning.

Link copied to clipboard

Initialization of a decoder failed and a fallback decoder will be used. Additional failures may result in a PlayerEvent.Error.

Link copied to clipboard

A general warning code for advertising-related issues when no specific code is applicable. For more details, refer to the advertising setup documentation.

Link copied to clipboard

The current ad break will not play any ads. One possible reason is that AdSourceType.Ima is used and no ads were returned from the ad server. For more information, consult the relevant PlayerEvent.Warning message.

Link copied to clipboard

An ad was discarded by the player. This could be due to various issues with the ad or its content.

Link copied to clipboard

It is not possible to disable the IMA UI for the current Ad, but the player was configured to disabling it if possible.

Link copied to clipboard

It is not possible to apply the preferred IMA UI elements. See ImaConfig.preferredUiType for details.

Link copied to clipboard

Interaction with the IMA (Interactive Media Ads) system appears inconsistent. Ad playback or ad state may not behave as expected. Make sure you are using a supported IMA SDK version. See What IMA SDK versions are compatible with the Bitmovin Player Android SDK? for supported versions.

Link copied to clipboard

A generic DRM-related warning. This is for situations where the warning relates to a DRM workflow but no specific DRM-related warning code applies. For more details on setting up DRM, refer to the documentation for streaming DRM content.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val value: Int

The raw code value associated with the deficiency.

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.