How to change request timeout in the Bitmovin Web Player
When a segment or manifest is not reachable, the player is pending for 20s before canceling the request if no response has been received. In some cases, especially Live use-cases, it is sometimes relevant to reduce the default timeout delay in order to allow the player to retry the request faster or to switch to a backup stream.
How to adjust the request timeout in the player configuration:
var config = {
key: "YOUR_PLAYER_KEY_HERE",
tweaks: {
// set the timeout to 10s
XHR_TIMEOUT: 10
}
}
Updated 9 months ago