THEOplayer > Representation
Represents a DASH representation.
Signature:
export interface Representation
Property |
Type |
Description |
---|---|---|
|
The audio sampling rate of the representation, in Hertz. |
|
|
The required bandwidth for the representation, in bits per second. |
|
|
The framerate of the representation, in frames per seconds. |
|
|
The video height of the representation, in pixels. |
|
|
The identifier for the representation. |
|
|
The type of the representation, represented by a value from the following list: |
|
|
The video width of the representation, in pixels. |
The audio sampling rate of the representation, in Hertz.
Signature:
audioSamplingRate: number | [number, number];
- Either a single value or a list of two values corresponding to the minimum and maximum sampling rate.
The required bandwidth for the representation, in bits per second.
Signature:
bandwidth: number;
The framerate of the representation, in frames per seconds.
Signature:
frameRate: number;
The video height of the representation, in pixels.
Signature:
height: number;
The identifier for the representation.
Signature:
id: string;
The type of the representation, represented by a value from the following list:
- 'audio'
- 'video'
- 'text'
- 'image'
- 'unknown'
Signature:
type: string;
The video width of the representation, in pixels.
Signature:
width: number;