[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Mon Jul 19 2021

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 djust the request timeout in the player configuration :

1var config = {
2 key: "YOUR_PLAYER_KEY_HERE",
3 tweaks: {
4
5 // set the timeout to 10s
6 XHR_TIMEOUT: 10
7 }
8}

Give us feedback