logo

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.

Property Details

audioSamplingRate

The audio sampling rate of the representation, in Hertz.

Signature:

audioSamplingRate: number | [number, number];

Remarks


- Either a single value or a list of two values corresponding to the minimum and maximum sampling rate.

bandwidth

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

Signature:

bandwidth: number;

frameRate

The framerate of the representation, in frames per seconds.

Signature:

frameRate: number;

height

The video height of the representation, in pixels.

Signature:

height: number;

id

The identifier for the representation.

Signature:

id: string;

type

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

Signature:

type: string;

width

The video width of the representation, in pixels.

Signature:

width: number;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona