PlayerWarningCode

PlayerWarningCode

@Serializable(with = PlayerWarningCodeSerializer::class)

enum PlayerWarningCode : WarningCode, Enum<PlayerWarningCode>

1000 - 1999: Player-related warning codes

  • 1000 - 1099: General
  • 1100 - 1199: Playback
  • 1200 - 1299: Network
  • 1300 - 1399: Advertising
  • 1400 - 1499: DRM
  • 1500 - 1599: UI

Entries

GeneralGeneral
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.
CastSourceMappingFailedCastSourceMappingFailed
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.
PlaylistManipulationFailedPlaylistManipulationFailed
An error occurred while trying to manipulate the playlist. For more details, refer to the PlayerEvent.Warning message associated with this warning.
IncorrectApiUsageIncorrectApiUsage
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.
FeatureContextuallyUnsupportedFeatureContextuallyUnsupported
A feature is not supported in the current context. For more details, refer to the PlayerEvent.Warning message associated with this warning.
RemotePlaybackFailedRemotePlaybackFailed
Playback on the cast-enabled device failed.
TargetLatencyTooLowForCurrentNetworkQualityTargetLatencyTooLowForCurrentNetworkQuality
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.
DecoderInitializationRetryDecoderInitializationRetry
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.
DecoderInitializationFallbackDecoderInitializationFallback
Initialization of a decoder failed and a fallback decoder will be used. Additional failures may result in a PlayerEvent.Error.
MainContentDecodingDuringAdsDisabledMainContentDecodingDuringAdsDisabled
Main content decoding during ads was disabled to allow ad playback.
AdvertisingGeneralAdvertisingGeneral
A general warning code for advertising-related issues when no specific code is applicable. For more details, refer to the advertising setup documentation.
AdBreakFetchingFailedAdBreakFetchingFailed
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.
AdDiscardedAdDiscarded
An ad was discarded by the player. This could be due to various issues with the ad or its content.
DisablingImaUiFailedDisablingImaUiFailed
It is not possible to disable the IMA UI for the current Ad, but the player was configured to disabling it if possible.
ApplyingImaUiElementPreferenceFailedApplyingImaUiElementPreferenceFailed
It is not possible to apply the preferred IMA UI elements. See ImaConfig.preferredUiType for details.
InconsistentStateInImaInconsistentStateInIma
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.
DrmGeneralDrmGeneral
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.
UiGeneralUiGeneral
A generic UI-related warning. This is for situations where the warning relates to UI components but no specific Web UI-related warning code applies.
WebUiInitializationFailedWebUiInitializationFailed
Indicates that the Web UI failed to initialize. This may affect the functionality of the Web UI components within the player and potentially leads to the complete absence of the Web UI.

Types

NameSummary
Companionobject Companion

Properties

NameSummary
entriesval entries: EnumEntries<PlayerWarningCode>
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): PlayerWarningCode
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<PlayerWarningCode>
Returns an array containing the constants of this enum type, in the order they're declared.