Interface MediaFileData

Encapsulates format information about a media file.

Index

Properties

Properties

public bitrate: number

The average bitrate of the content. The value is zero for images.

public codecs: string

The actual format of the audio and video content.

public duration: number

The length of the video or sound clip in seconds. The value is zero for images.

public height: number

The height of the image or video in pixels. The value is zero for audio clips.

public width: number

The width of the image or video in pixels. The value is zero for audio clips.