Timeout

The player timed out in a non-network operation, e.g. when playback reports playing without making progress, when detaching the surface, or when releasing the player. Configure detection of playback without progress via PlaybackConfig.stuckDetectionConfig. 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.

val playerConfig = PlayerConfig(
tweaksConfig = TweaksConfig(
detachSurfaceTimeout = 5.0, // 5 seconds
releasePlayerTimeout = 2.0, // 2 seconds
)
)

The message of the according PlayerEvent.Error provides more information.

The numeric value associated with this code is 1004.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: Int

The raw code value associated with the deficiency.