Version: 2.67.0

Representation

THEOplayer > Representation

Representation interface

Represents a DASH representation.

Signature:
export interface Representation

Properties

Property

Type

Description

audioSamplingRate

number | [number, number]

The audio sampling rate of the representation, in Hertz.

bandwidth

number

The required bandwidth for the representation, in bits per second.

frameRate

number

The framerate of the representation, in frames per seconds.

height

number

The video height of the representation, in pixels.

id

string

The identifier for the representation.

type

string

The type of the representation, represented by a value from the following list:
- 'audio'
- 'video'
- 'text'
- 'image'
- 'unknown'

width

number

The video width of the representation, in pixels.