Skip to content
Class

HlsInputFormat ​

Media described using the HTTP Live Streaming (HLS) protocol, with playlists in the M3U8 format.

Do not instantiate this class; use the HLS singleton instead.

Extends: InputFormat

Instances ​

Properties ​

mimeType ​

ts
get mimeType(): string;

Returns the typical base MIME type of the input format.

name ​

ts
get name(): string;

Returns the name of the input format.

supportsTimestampedMediaData ​

ts
get supportsTimestampedMediaData(): boolean;

Whether this input format's tracks store timestamped media data. When true, the timestamps of read packets come from the file, allowing things like gaps in media data or non-zero start times. When false, the format's media data implicitly starts at zero and follows an implicit sequential timing from there, using the intrinsic durations of the media data.

Released under the Mozilla Public License 2.0.