Version: 2.69.0

Representation

THEOplayer > Representation

Representation interface

Represents a DASH representation.

Signature:
export interface Representation

Properties

PropertyTypeDescription
audioSamplingRatenumber | [number, number]The audio sampling rate of the representation, in Hertz.
bandwidthnumberThe required bandwidth for the representation, in bits per second.
frameRatenumberThe framerate of the representation, in frames per seconds.
heightnumberThe video height of the representation, in pixels.
idstringThe identifier for the representation.
typestringThe type of the representation, represented by a value from the following list:
- 'audio'
- 'video'
- 'text'
- 'image'
- 'unknown'
widthnumberThe video width of the representation, in pixels.