MpegTsInputFormat
MPEG Transport Stream (MPEG-TS) file format.
This format can make use of InputOptions.initInput to initialize track information even when no initialization information is provided for the track, for example because it has no key frames. In this case, tracks are matched to each other based on their PID.
Do not instantiate this class; use the MPEG_TS singleton instead.
Extends: InputFormat
Instances
Properties
mimeType
get mimeType(): string;Returns the typical base MIME type of the input format.
name
get name(): string;Returns the name of the input format.
supportsTimestampedMediaData
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.