Interface: PadProperties
Well-known pad properties. Elements add their own by augmenting this interface.
Properties
accessibleWindow?
optionalaccessibleWindow?:number
Seconds: the catalog's accessibleWindowTime (MSF 5.2.46). Live only; absent means no DVR.
decoderConfig?
optionaldecoderConfig?:Omit<VideoDecoderConfig,"description"> |Omit<AudioDecoderConfig,"description">
The WebCodecs decoder config of a track without a container, such as LOC (LOC 2.3.2.1, 2.3.3.1). Its description is initData.
duration?
optionalduration?:number
Seconds, for VOD MediaSource.duration.
groupDuration?
optionalgroupDuration?:number
Seconds: the catalog's maxGroupDuration, else the observed group duration.
initData?
optionalinitData?:Uint8Array<ArrayBufferLike>
The track's codec configuration: a CMAF Header, or the LOC VIDEO_CONFIG or AUDIO_CONFIG bytes.
live?
optionallive?:boolean
mimeType?
optionalmimeType?:string
Including codec, e.g. video/mp4; codecs="avc1.64001f".
seekable?
optionalseekable?:object
Seconds: the media timeline's range, after accessibleWindowTime.
end
end:
number
start
start:
number
targetLatency?
optionaltargetLatency?:number
Seconds: the catalog's targetLatency, else buffers.target.
timescale?
optionaltimescale?:number
Units per second of the track's LOC Timestamps (LOC 2.3.1.2). Absent or undefined, they're µs since the Unix epoch.
track?
optionaltrack?:string
The active track of the switching set.