Skip to main content

Interface: Video

Hierarchy#

Properties#

bitrate#

• bitrate: number

The video bitrate in kbps

Defined in: media/image.ts:41


dash#

• dash: string

The DASH URL

Defined in: media/image.ts:22


duration#

• duration: number

The duration of the video in seconds

Defined in: media/image.ts:38


height#

• height: number

The height in pixels

Inherited from: Dimensions.height

Defined in: media/image.ts:5


hls#

• hls: string

The HLS URL

Inherited from: Stream.hls

Defined in: media/image.ts:10


mp4#

• mp4: object

The mp4 URL, split up into audio and video.

Type declaration#

NameTypeDescription
audiostringThe URL of the audio track in mp4 format. A request to this URL may result in an 403 status code. In this case the video has no audio.
videostringThe URL of the video track in mp4 format.

Defined in: media/image.ts:25


width#

• width: number

The width in pixels

Inherited from: Dimensions.width

Defined in: media/image.ts:3