parseDashManifest( manifest: string,): { MPD: { availabilityEndTime?: {}; availabilityStartTime?: {}; BaseURL?: readonly { _content: string; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; byteRange?: string; serviceLocation?: string; }[]; EssentialProperty?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; id?: string; Location?: readonly { _content: string }[]; maxSegmentDuration?: number; maxSubsegmentDuration?: number; mediaPresentationDuration?: number; Metrics?: readonly { metrics: string; Range?: readonly { duration?: number; starttime?: number }[]; Reporting: readonly { id?: string; schemeIdUri: string; value?: string }[]; }[]; minBufferTime: number; minimumUpdatePeriod?: number; Period: readonly { actuate: actuateType; AdaptationSet?: readonly { Accessibility?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; actuate: actuateType; AudioChannelConfiguration?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; audioSamplingRate?: readonly number[]; BaseURL?: readonly { _content: string; availabilityTimeComplete?: (...)
| (...)
| (...)
; availabilityTimeOffset?: (...)
| (...)
; byteRange?: (...)
| (...)
; serviceLocation?: (...)
| (...)
; }[]; bitstreamSwitching?: boolean; codecs?: string; codingDependency?: boolean; ContentComponent?: readonly { Accessibility?: (...)
| (...)
; contentType?: (...)
| (...)
; id?: (...)
| (...)
; lang?: (...)
| (...)
; par?: (...)
| (...)
; Rating?: (...)
| (...)
; Role?: (...)
| (...)
; Viewpoint?: (...)
| (...)
; }[]; ContentProtection?: readonly { default_KID?: (...)
| (...)
; id?: (...)
| (...)
; pro?: (...)
| (...)
; pssh?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; contentType?: string; EssentialProperty?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; FramePacking?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; frameRate?: readonly [number, number]; group?: number; height?: number; href?: string; id?: number; InbandEventStream?: readonly { actuate: actuateType; Event?: (...)
| (...)
; href?: (...)
| (...)
; messageData?: (...)
| (...)
; schemeIdUri: string; timescale?: (...)
| (...)
; value?: (...)
| (...)
; }[]; lang?: string; maxBandwidth?: number; maxFrameRate?: readonly [number, number]; maxHeight?: number; maximumSAPPeriod?: number; maxPlayoutRate?: number; maxWidth?: number; mimeType?: string; minBandwidth?: number; minFrameRate?: readonly [number, number]; minHeight?: number; minWidth?: number; par?: readonly [number, number]; parent: { actuate: actuateType; AdaptationSet?: readonly { Accessibility?: ...
; actuate: ...
; AudioChannelConfiguration?: ...
; audioSamplingRate?: ...
; BaseURL?: ...
; bitstreamSwitching?: ...
; codecs?: ...
; codingDependency?: ...
; ContentComponent?: ...
; ContentProtection?: ...
; contentType?: ...
; EssentialProperty?: ...
; FramePacking?: ...
; frameRate?: ...
; group?: ...
; height?: ...
; href?: ...
; id?: ...
; InbandEventStream?: ...
; lang?: ...
; maxBandwidth?: ...
; maxFrameRate?: ...
; maxHeight?: ...
; maximumSAPPeriod?: ...
; maxPlayoutRate?: ...
; maxWidth?: ...
; mimeType?: ...
; minBandwidth?: ...
; minFrameRate?: ...
; minHeight?: ...
; minWidth?: ...
; par?: ...
; parent: ...
; profiles?: ...
; Rating?: ...
; Representation?: ...
; Role?: ...
; sar?: ...
; scanType?: ...
; segmentAlignment: ...
; SegmentBase?: ...
; SegmentList?: ...
; segmentProfiles?: ...
; SegmentTemplate?: ...
; selectionPriority: ...
; startWithSAP?: ...
; subsegmentAlignment: ...
; subsegmentStartsWithSAP: ...
; SupplementalProperty?: ...
; Switching?: ...
; Viewpoint?: ...
; width?: ...
; }[]; AssetIdentifier?: { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }; BaseURL?: readonly { _content: ...
; availabilityTimeComplete?: ...
; availabilityTimeOffset?: ...
; byteRange?: ...
; serviceLocation?: ...
; }[]; bitstreamSwitching: boolean; duration?: number; EventStream?: readonly { actuate: ...
; Event?: ...
; href?: ...
; messageData?: ...
; schemeIdUri: ...
; timescale?: ...
; value?: ...
; }[]; href?: string; id?: string; parent: { availabilityEndTime?: {}; availabilityStartTime?: {}; BaseURL?: readonly (...)
[]; EssentialProperty?: readonly (...)
[]; id?: string; Location?: readonly (...)
[]; maxSegmentDuration?: number; maxSubsegmentDuration?: number; mediaPresentationDuration?: number; Metrics?: readonly (...)
[]; minBufferTime: number; minimumUpdatePeriod?: number; Period: readonly (
{ readonly parent: { readonly availabilityEndTime?: { readonly toString: () => string; readonly toLocaleString: { (): string; (locales?: string | string[] | undefined, options?: DateTimeFormatOptions | undefined): string; (locales?: LocalesArgument, options?: DateTimeFormatOptions | undefined): string; }; ... 26 mor...
)
[]; profiles: readonly string[]; ProgramInformation?: readonly (...)
[]; publishTime?: {}; suggestedPresentationDelay?: number; SupplementalProperty?: readonly (...)
[]; timeShiftBufferDepth?: number; type?: PresentationType; UTCTiming?: readonly (...)
[]; }; SegmentBase?: { availabilityTimeComplete?: (...)
| (...)
| (...)
; availabilityTimeOffset?: (...)
| (...)
; indexRange?: (...)
| (...)
; indexRangeExact: boolean; Initialization?: (...)
| (...)
; presentationTimeOffset?: (...)
| (...)
; RepresentationIndex?: (...)
| (...)
; timescale?: (...)
| (...)
; }; SegmentList?: { actuate: actuateType; availabilityTimeComplete?: (...)
| (...)
| (...)
; availabilityTimeOffset?: (...)
| (...)
; BitstreamSwitching?: (...)
| (...)
; duration?: (...)
| (...)
; href?: (...)
| (...)
; indexRange?: (...)
| (...)
; indexRangeExact: boolean; Initialization?: (...)
| (...)
; presentationTimeOffset?: (...)
| (...)
; RepresentationIndex?: (...)
| (...)
; SegmentTimeline?: (...)
| (...)
; SegmentURL?: (...)
| (...)
; startNumber?: (...)
| (...)
; timescale?: (...)
| (...)
; }; SegmentTemplate?: { availabilityTimeComplete?: (...)
| (...)
| (...)
; availabilityTimeOffset?: (...)
| (...)
; bitstreamSwitching?: (...)
| (...)
; BitstreamSwitching?: (...)
| (...)
; duration?: (...)
| (...)
; index?: (...)
| (...)
; indexRange?: (...)
| (...)
; indexRangeExact: boolean; initialization?: (...)
| (...)
; Initialization?: (...)
| (...)
; media?: (...)
| (...)
; presentationTimeOffset?: (...)
| (...)
; RepresentationIndex?: (...)
| (...)
; SegmentTimeline?: (...)
| (...)
; startNumber?: (...)
| (...)
; timescale?: (...)
| (...)
; }; start?: number; Subset?: readonly { contains: ...
; id?: ...
}[]; SupplementalProperty?: readonly { id?: ...
; schemeIdUri: ...
; value?: ...
; }[]; }; profiles?: readonly string[]; Rating?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; Representation?: readonly { AudioChannelConfiguration?: (...)
| (...)
; audioSamplingRate?: (...)
| (...)
; bandwidth: number; BaseURL?: (...)
| (...)
; bitrate?: (...)
| (...)
; codecs?: (...)
| (...)
; codingDependency?: (...)
| (...)
| (...)
; ContentProtection?: (...)
| (...)
; dependencyId?: (...)
| (...)
; EssentialProperty?: (...)
| (...)
; FramePacking?: (...)
| (...)
; frameRate?: (...)
| (...)
; height?: (...)
| (...)
; id: string; InbandEventStream?: (...)
| (...)
; maximumSAPPeriod?: (...)
| (...)
; maxPlayoutRate?: (...)
| (...)
; mediaStreamStructureId?: (...)
| (...)
; mimeType?: (...)
| (...)
; parent: { Accessibility?: ...
; actuate: ...
; AudioChannelConfiguration?: ...
; audioSamplingRate?: ...
; BaseURL?: ...
; bitstreamSwitching?: ...
; codecs?: ...
; codingDependency?: ...
; ContentComponent?: ...
; ContentProtection?: ...
; contentType?: ...
; EssentialProperty?: ...
; FramePacking?: ...
; frameRate?: ...
; group?: ...
; height?: ...
; href?: ...
; id?: ...
; InbandEventStream?: ...
; lang?: ...
; maxBandwidth?: ...
; maxFrameRate?: ...
; maxHeight?: ...
; maximumSAPPeriod?: ...
; maxPlayoutRate?: ...
; maxWidth?: ...
; mimeType?: ...
; minBandwidth?: ...
; minFrameRate?: ...
; minHeight?: ...
; minWidth?: ...
; par?: ...
; parent: ...
; profiles?: ...
; Rating?: ...
; Representation?: ...
; Role?: ...
; sar?: ...
; scanType?: ...
; segmentAlignment: ...
; SegmentBase?: ...
; SegmentList?: ...
; segmentProfiles?: ...
; SegmentTemplate?: ...
; selectionPriority: ...
; startWithSAP?: ...
; subsegmentAlignment: ...
; subsegmentStartsWithSAP: ...
; SupplementalProperty?: ...
; Switching?: ...
; Viewpoint?: ...
; width?: ...
; }; profiles?: (...)
| (...)
; qualityRanking?: (...)
| (...)
; sar?: (...)
| (...)
; scanType?: (...)
| (...)
; SegmentBase?: (...)
| (...)
; SegmentList?: (...)
| (...)
; segmentProfiles?: (...)
| (...)
; SegmentTemplate?: (...)
| (...)
; startWithSAP?: (...)
| (...)
; SubRepresentation?: (...)
| (...)
; SupplementalProperty?: (...)
| (...)
; Switching?: (...)
| (...)
; width?: (...)
| (...)
; }[]; Role?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; sar?: readonly [number, number]; scanType?: VideoScanType; segmentAlignment: ConditionalUintType; SegmentBase?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; Initialization?: { range?: ...
; sourceURL?: ...
}; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; timescale?: number; }; SegmentList?: { actuate: actuateType; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; BitstreamSwitching?: { range?: ...
; sourceURL?: ...
}; duration?: number; href?: string; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; Initialization?: { range?: ...
; sourceURL?: ...
}; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; SegmentTimeline?: { S?: ...
}; SegmentURL?: readonly (...)
[]; startNumber?: number; timescale?: number; }; segmentProfiles?: string; SegmentTemplate?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; bitstreamSwitching?: string; BitstreamSwitching?: { range?: ...
; sourceURL?: ...
}; duration?: number; index?: string; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; initialization?: string; Initialization?: { range?: ...
; sourceURL?: ...
}; media?: string; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; SegmentTimeline?: { S?: ...
}; startNumber?: number; timescale?: number; }; selectionPriority: number; startWithSAP?: number; subsegmentAlignment: ConditionalUintType; subsegmentStartsWithSAP: number; SupplementalProperty?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; Switching?: readonly { interval: number; type?: (...)
| (...)
}[]; Viewpoint?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; width?: number; }[]; AssetIdentifier?: { id?: string; schemeIdUri: string; value?: string }; BaseURL?: readonly { _content: string; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; byteRange?: string; serviceLocation?: string; }[]; bitstreamSwitching: boolean; duration?: number; EventStream?: readonly { actuate: actuateType; Event?: readonly { duration?: (...)
| (...)
; id?: (...)
| (...)
; messageData?: (...)
| (...)
; presentationTime: number; }[]; href?: string; messageData?: string; schemeIdUri: string; timescale?: number; value?: string; }[]; href?: string; id?: string; parent: { availabilityEndTime?: {}; availabilityStartTime?: {}; BaseURL?: readonly { _content: string; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; byteRange?: string; serviceLocation?: string; }[]; EssentialProperty?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; id?: string; Location?: readonly { _content: string }[]; maxSegmentDuration?: number; maxSubsegmentDuration?: number; mediaPresentationDuration?: number; Metrics?: readonly { metrics: string; Range?: readonly { duration?: ...
; starttime?: ...
}[]; Reporting: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; }[]; minBufferTime: number; minimumUpdatePeriod?: number; Period: readonly { actuate: actuateType; AdaptationSet?: readonly { Accessibility?: (...)
| (...)
; actuate: actuateType; AudioChannelConfiguration?: (...)
| (...)
; audioSamplingRate?: (...)
| (...)
; BaseURL?: (...)
| (...)
; bitstreamSwitching?: (...)
| (...)
| (...)
; codecs?: (...)
| (...)
; codingDependency?: (...)
| (...)
| (...)
; ContentComponent?: (...)
| (...)
; ContentProtection?: (...)
| (...)
; contentType?: (...)
| (...)
; EssentialProperty?: (...)
| (...)
; FramePacking?: (...)
| (...)
; frameRate?: (...)
| (...)
; group?: (...)
| (...)
; height?: (...)
| (...)
; href?: (...)
| (...)
; id?: (...)
| (...)
; InbandEventStream?: (...)
| (...)
; lang?: (...)
| (...)
; maxBandwidth?: (...)
| (...)
; maxFrameRate?: (...)
| (...)
; maxHeight?: (...)
| (...)
; maximumSAPPeriod?: (...)
| (...)
; maxPlayoutRate?: (...)
| (...)
; maxWidth?: (...)
| (...)
; mimeType?: (...)
| (...)
; minBandwidth?: (...)
| (...)
; minFrameRate?: (...)
| (...)
; minHeight?: (...)
| (...)
; minWidth?: (...)
| (...)
; par?: (...)
| (...)
; parent: { readonly parent: { readonly availabilityEndTime?: { readonly toString: () => string; readonly toLocaleString: { (): string; (locales?: string | string[] | undefined, options?: DateTimeFormatOptions | undefined): string; (locales?: LocalesArgument, options?: DateTimeFormatOptions | undefined): string; }; ... 26 mor...
; profiles?: (...)
| (...)
; Rating?: (...)
| (...)
; Representation?: (...)
| (...)
; Role?: (...)
| (...)
; sar?: (...)
| (...)
; scanType?: (...)
| (...)
; segmentAlignment: ConditionalUintType; SegmentBase?: (...)
| (...)
; SegmentList?: (...)
| (...)
; segmentProfiles?: (...)
| (...)
; SegmentTemplate?: (...)
| (...)
; selectionPriority: number; startWithSAP?: (...)
| (...)
; subsegmentAlignment: ConditionalUintType; subsegmentStartsWithSAP: number; SupplementalProperty?: (...)
| (...)
; Switching?: (...)
| (...)
; Viewpoint?: (...)
| (...)
; width?: (...)
| (...)
; }[]; AssetIdentifier?: { id?: string; schemeIdUri: string; value?: string }; BaseURL?: readonly { _content: string; availabilityTimeComplete?: (...)
| (...)
| (...)
; availabilityTimeOffset?: (...)
| (...)
; byteRange?: (...)
| (...)
; serviceLocation?: (...)
| (...)
; }[]; bitstreamSwitching: boolean; duration?: number; EventStream?: readonly { actuate: actuateType; Event?: (...)
| (...)
; href?: (...)
| (...)
; messageData?: (...)
| (...)
; schemeIdUri: string; timescale?: (...)
| (...)
; value?: (...)
| (...)
; }[]; href?: string; id?: string; parent: { readonly availabilityEndTime?: { readonly toString: () => string; readonly toLocaleString: { (): string; (locales?: string | string[] | undefined, options?: DateTimeFormatOptions | undefined): string; (locales?: LocalesArgument, options?: DateTimeFormatOptions | undefined): string; }; ... 26 more ...; readonly toJ...
; SegmentBase?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; Initialization?: { range?: ...
; sourceURL?: ...
}; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; timescale?: number; }; SegmentList?: { actuate: actuateType; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; BitstreamSwitching?: { range?: ...
; sourceURL?: ...
}; duration?: number; href?: string; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; Initialization?: { range?: ...
; sourceURL?: ...
}; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; SegmentTimeline?: { S?: ...
}; SegmentURL?: readonly (...)
[]; startNumber?: number; timescale?: number; }; SegmentTemplate?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; bitstreamSwitching?: string; BitstreamSwitching?: { range?: ...
; sourceURL?: ...
}; duration?: number; index?: string; indexRange?: readonly [(...)
, (...)
]; indexRangeExact: boolean; initialization?: string; Initialization?: { range?: ...
; sourceURL?: ...
}; media?: string; presentationTimeOffset?: number; RepresentationIndex?: { range?: ...
; sourceURL?: ...
}; SegmentTimeline?: { S?: ...
}; startNumber?: number; timescale?: number; }; start?: number; Subset?: readonly { contains: readonly (...)
[]; id?: (...)
| (...)
}[]; SupplementalProperty?: readonly { id?: (...)
| (...)
; schemeIdUri: string; value?: (...)
| (...)
; }[]; }[]; profiles: readonly string[]; ProgramInformation?: readonly { Copyright?: string; lang?: string; moreInformationURL?: string; Source?: string; Title?: string; }[]; publishTime?: {}; suggestedPresentationDelay?: number; SupplementalProperty?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; timeShiftBufferDepth?: number; type?: PresentationType; UTCTiming?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; }; SegmentBase?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; indexRange?: readonly [number, null | number]; indexRangeExact: boolean; Initialization?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; presentationTimeOffset?: number; RepresentationIndex?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; timescale?: number; }; SegmentList?: { actuate: actuateType; availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; BitstreamSwitching?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; duration?: number; href?: string; indexRange?: readonly [number, null | number]; indexRangeExact: boolean; Initialization?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; presentationTimeOffset?: number; RepresentationIndex?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; SegmentTimeline?: { S?: readonly { d: ...
; n?: ...
; r: ...
; t?: ...
}[]; }; SegmentURL?: readonly { index?: string; indexRange?: readonly [(...)
, (...)
]; media?: string; mediaRange?: readonly [(...)
, (...)
]; }[]; startNumber?: number; timescale?: number; }; SegmentTemplate?: { availabilityTimeComplete?: boolean; availabilityTimeOffset?: number; bitstreamSwitching?: string; BitstreamSwitching?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; duration?: number; index?: string; indexRange?: readonly [number, null | number]; indexRangeExact: boolean; initialization?: string; Initialization?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; media?: string; presentationTimeOffset?: number; RepresentationIndex?: { range?: readonly [number, (...)
| (...)
]; sourceURL?: string; }; SegmentTimeline?: { S?: readonly { d: ...
; n?: ...
; r: ...
; t?: ...
}[]; }; startNumber?: number; timescale?: number; }; start?: number; Subset?: readonly { contains: readonly number[]; id?: string }[]; SupplementalProperty?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; }[]; profiles: readonly string[]; ProgramInformation?: readonly { Copyright?: string; lang?: string; moreInformationURL?: string; Source?: string; Title?: string; }[]; publishTime?: {}; suggestedPresentationDelay?: number; SupplementalProperty?: readonly { id?: string; schemeIdUri: string; value?: string; }[]; timeShiftBufferDepth?: number; type?: PresentationType; UTCTiming?: readonly { id?: string; schemeIdUri: string; value?: string }[]; };}
Parses a Dash Manifest, according to the mpd:2011 schema.