HttpStatusCode

data class HttpStatusCode(val statusCodes: List<Int>) : LoadErrorFallbackConfig

A fallback config based on HTTP status codes.

When the player encounters a load error with an (invalid) HTTP response code matching one in the provided list, it will attempt to fall back to an alternative resource if available.

Common codes to use are 403, 404, 410, 416, 500 and 503.

Constructors

Link copied to clipboard
constructor(statusCodes: List<Int>)

Properties

Link copied to clipboard