Class: shaka.player.Defaults

Default values used by the Shaka Player.

Source:

Members

(static, constant) LICENSE_REQUEST_TIMEOUT :number

The license request timeout in seconds. A value of zero indicates no timeout.
Type:
  • number
Source:

(static, constant) MPD_REQUEST_TIMEOUT :number

The MPD request timeout in seconds. A value of zero indicates no timeout.
Type:
  • number
Source:

(static, constant) PREFERRED_LANGUAGE :string

The preferred language for audio and text tracks.
Type:
  • string
Source:
See:

(static, constant) SEGMENT_REQUEST_TIMEOUT :number

The segment request timeout in seconds. A value of zero indicates no timeout.
Type:
  • number
Source:

(static, constant) STREAM_BUFFER_SIZE :number

The maximum amount of content, in seconds, that audio and video streams will buffer ahead of the playhead. For DASH streams, this will be overridden if 'minBufferTime' is larger.
Type:
  • number
Source: