@amazon/vinyl 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/index.cjs +8103 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.js +8415 -0
- package/dist/index.js.map +7 -0
- package/dist/test/benchmark.css +71 -0
- package/dist/test/benchmark.es5.js +626 -0
- package/dist/test/benchmark.html +67 -0
- package/dist/test/benchmark.js +5256 -0
- package/dist/test/benchmark.js.map +7 -0
- package/dist/test/favicon.png +0 -0
- package/dist/test/index.html +61 -0
- package/dist/test/integ.es5.js +1602 -0
- package/dist/test/integ.js +42493 -0
- package/dist/test/integ.js.map +7 -0
- package/dist/test/jasmine.css +304 -0
- package/dist/test/jasmineHtml.es5.js +670 -0
- package/dist/test/jasmineHtml.js +10851 -0
- package/dist/test/jasmineHtml.js.map +7 -0
- package/dist/test/styles.css +42 -0
- package/dist/types/current/client/Capabilities.d.ts +73 -0
- package/dist/types/current/client/Capabilities.d.ts.map +1 -0
- package/dist/types/current/client/Capabilities.js +19 -0
- package/dist/types/current/client/CapabilitiesImpl.d.ts +27 -0
- package/dist/types/current/client/CapabilitiesImpl.d.ts.map +1 -0
- package/dist/types/current/client/CapabilitiesImpl.js +60 -0
- package/dist/types/current/client/Client.d.ts +11 -0
- package/dist/types/current/client/Client.d.ts.map +1 -0
- package/dist/types/current/client/Client.js +5 -0
- package/dist/types/current/drm/CencEncryptionScheme.d.ts +37 -0
- package/dist/types/current/drm/CencEncryptionScheme.d.ts.map +1 -0
- package/dist/types/current/drm/CencEncryptionScheme.js +39 -0
- package/dist/types/current/drm/DrmController.d.ts +103 -0
- package/dist/types/current/drm/DrmController.d.ts.map +1 -0
- package/dist/types/current/drm/DrmController.js +5 -0
- package/dist/types/current/drm/DrmControllerImpl.d.ts +112 -0
- package/dist/types/current/drm/DrmControllerImpl.d.ts.map +1 -0
- package/dist/types/current/drm/DrmControllerImpl.js +469 -0
- package/dist/types/current/drm/DrmKeySystem.d.ts +61 -0
- package/dist/types/current/drm/DrmKeySystem.d.ts.map +1 -0
- package/dist/types/current/drm/DrmKeySystem.js +77 -0
- package/dist/types/current/drm/DrmKeySystemResolver.d.ts +12 -0
- package/dist/types/current/drm/DrmKeySystemResolver.d.ts.map +1 -0
- package/dist/types/current/drm/DrmKeySystemResolver.js +21 -0
- package/dist/types/current/drm/DrmOptions.d.ts +92 -0
- package/dist/types/current/drm/DrmOptions.d.ts.map +1 -0
- package/dist/types/current/drm/DrmOptions.js +38 -0
- package/dist/types/current/drm/commonEme/CommonEme.d.ts +150 -0
- package/dist/types/current/drm/commonEme/CommonEme.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/CommonEme.js +46 -0
- package/dist/types/current/drm/commonEme/CommonEmeFactory.d.ts +28 -0
- package/dist/types/current/drm/commonEme/CommonEmeFactory.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/CommonEmeFactory.js +49 -0
- package/dist/types/current/drm/commonEme/EncryptedInitData.d.ts +9 -0
- package/dist/types/current/drm/commonEme/EncryptedInitData.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/EncryptedInitData.js +5 -0
- package/dist/types/current/drm/commonEme/MsCommonEme.d.ts +68 -0
- package/dist/types/current/drm/commonEme/MsCommonEme.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/MsCommonEme.js +143 -0
- package/dist/types/current/drm/commonEme/StandardCommonEme.d.ts +54 -0
- package/dist/types/current/drm/commonEme/StandardCommonEme.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/StandardCommonEme.js +126 -0
- package/dist/types/current/drm/commonEme/WebKitCommonEme.d.ts +63 -0
- package/dist/types/current/drm/commonEme/WebKitCommonEme.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/WebKitCommonEme.js +137 -0
- package/dist/types/current/drm/commonEme/createDrmErrorHandler.d.ts +3 -0
- package/dist/types/current/drm/commonEme/createDrmErrorHandler.d.ts.map +1 -0
- package/dist/types/current/drm/commonEme/createDrmErrorHandler.js +11 -0
- package/dist/types/current/drm/dom/HTMLMediaElement.d.ts +8 -0
- package/dist/types/current/drm/dom/HTMLMediaElement.d.ts.map +1 -0
- package/dist/types/current/drm/dom/HTMLMediaElement.js +5 -0
- package/dist/types/current/drm/dom/MSMediaKeys.d.ts +46 -0
- package/dist/types/current/drm/dom/MSMediaKeys.d.ts.map +1 -0
- package/dist/types/current/drm/dom/MSMediaKeys.js +5 -0
- package/dist/types/current/drm/dom/WebKitMediaKeys.d.ts +50 -0
- package/dist/types/current/drm/dom/WebKitMediaKeys.d.ts.map +1 -0
- package/dist/types/current/drm/dom/WebKitMediaKeys.js +5 -0
- package/dist/types/current/drm/error/DrmError.d.ts +16 -0
- package/dist/types/current/drm/error/DrmError.d.ts.map +1 -0
- package/dist/types/current/drm/error/DrmError.js +30 -0
- package/dist/types/current/drm/licenseProvider/LicenseProvider.d.ts +38 -0
- package/dist/types/current/drm/licenseProvider/LicenseProvider.d.ts.map +1 -0
- package/dist/types/current/drm/licenseProvider/LicenseProvider.js +10 -0
- package/dist/types/current/drm/licenseProvider/defaultLicenseProvider.d.ts +15 -0
- package/dist/types/current/drm/licenseProvider/defaultLicenseProvider.d.ts.map +1 -0
- package/dist/types/current/drm/licenseProvider/defaultLicenseProvider.js +28 -0
- package/dist/types/current/drm/util/createFairPlaySessionInitData.d.ts +11 -0
- package/dist/types/current/drm/util/createFairPlaySessionInitData.d.ts.map +1 -0
- package/dist/types/current/drm/util/createFairPlaySessionInitData.js +38 -0
- package/dist/types/current/drm/util/extractContentId.d.ts +8 -0
- package/dist/types/current/drm/util/extractContentId.d.ts.map +1 -0
- package/dist/types/current/drm/util/extractContentId.js +21 -0
- package/dist/types/current/drm/util/unpackPlayReadyChallenge.d.ts +46 -0
- package/dist/types/current/drm/util/unpackPlayReadyChallenge.d.ts.map +1 -0
- package/dist/types/current/drm/util/unpackPlayReadyChallenge.js +77 -0
- package/dist/types/current/event/BasicErrorEvent.d.ts +12 -0
- package/dist/types/current/event/BasicErrorEvent.d.ts.map +1 -0
- package/dist/types/current/event/BasicErrorEvent.js +5 -0
- package/dist/types/current/event/ChangeEvent.d.ts +12 -0
- package/dist/types/current/event/ChangeEvent.d.ts.map +1 -0
- package/dist/types/current/event/ChangeEvent.js +21 -0
- package/dist/types/current/global/PlayerRegistry.d.ts +52 -0
- package/dist/types/current/global/PlayerRegistry.d.ts.map +1 -0
- package/dist/types/current/global/PlayerRegistry.js +51 -0
- package/dist/types/current/global/configureVinylGlobal.d.ts +43 -0
- package/dist/types/current/global/configureVinylGlobal.d.ts.map +1 -0
- package/dist/types/current/global/configureVinylGlobal.js +58 -0
- package/dist/types/current/global/environment.d.ts +6 -0
- package/dist/types/current/global/environment.d.ts.map +1 -0
- package/dist/types/current/global/environment.js +12 -0
- package/dist/types/current/global/globalRef.d.ts +32 -0
- package/dist/types/current/global/globalRef.d.ts.map +1 -0
- package/dist/types/current/global/globalRef.js +50 -0
- package/dist/types/current/global/initializeVinylGlobal.d.ts +2 -0
- package/dist/types/current/global/initializeVinylGlobal.d.ts.map +1 -0
- package/dist/types/current/global/initializeVinylGlobal.js +10 -0
- package/dist/types/current/index.d.ts +132 -0
- package/dist/types/current/index.d.ts.map +1 -0
- package/dist/types/current/index.js +131 -0
- package/dist/types/current/patch/media/HtmlMediaElementPatch.d.ts +3 -0
- package/dist/types/current/patch/media/HtmlMediaElementPatch.d.ts.map +1 -0
- package/dist/types/current/patch/media/HtmlMediaElementPatch.js +5 -0
- package/dist/types/current/patch/media/MediaElementPatchOptions.d.ts +19 -0
- package/dist/types/current/patch/media/MediaElementPatchOptions.d.ts.map +1 -0
- package/dist/types/current/patch/media/MediaElementPatchOptions.js +16 -0
- package/dist/types/current/patch/media/patchMediaElement.d.ts +9 -0
- package/dist/types/current/patch/media/patchMediaElement.d.ts.map +1 -0
- package/dist/types/current/patch/media/patchMediaElement.js +15 -0
- package/dist/types/current/patch/media/patches/createPreventStallsPatch.d.ts +17 -0
- package/dist/types/current/patch/media/patches/createPreventStallsPatch.d.ts.map +1 -0
- package/dist/types/current/patch/media/patches/createPreventStallsPatch.js +55 -0
- package/dist/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.d.ts +26 -0
- package/dist/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.d.ts.map +1 -0
- package/dist/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.js +218 -0
- package/dist/types/current/playback/PlaybackController.d.ts +56 -0
- package/dist/types/current/playback/PlaybackController.d.ts.map +1 -0
- package/dist/types/current/playback/PlaybackController.js +8 -0
- package/dist/types/current/playback/PlaybackControllerImpl.d.ts +181 -0
- package/dist/types/current/playback/PlaybackControllerImpl.d.ts.map +1 -0
- package/dist/types/current/playback/PlaybackControllerImpl.js +495 -0
- package/dist/types/current/playback/PlaybackSource.d.ts +34 -0
- package/dist/types/current/playback/PlaybackSource.d.ts.map +1 -0
- package/dist/types/current/playback/PlaybackSource.js +5 -0
- package/dist/types/current/playback/PlaybackSourceImpl.d.ts +19 -0
- package/dist/types/current/playback/PlaybackSourceImpl.d.ts.map +1 -0
- package/dist/types/current/playback/PlaybackSourceImpl.js +43 -0
- package/dist/types/current/playback/ReadonlyPlaybackController.d.ts +421 -0
- package/dist/types/current/playback/ReadonlyPlaybackController.d.ts.map +1 -0
- package/dist/types/current/playback/ReadonlyPlaybackController.js +140 -0
- package/dist/types/current/playback/error/InvalidSeekError.d.ts +16 -0
- package/dist/types/current/playback/error/InvalidSeekError.d.ts.map +1 -0
- package/dist/types/current/playback/error/InvalidSeekError.js +33 -0
- package/dist/types/current/playback/error/ReportableMediaError.d.ts +16 -0
- package/dist/types/current/playback/error/ReportableMediaError.d.ts.map +1 -0
- package/dist/types/current/playback/error/ReportableMediaError.js +38 -0
- package/dist/types/current/playback/logging/mediaErrorToJson.d.ts +7 -0
- package/dist/types/current/playback/logging/mediaErrorToJson.d.ts.map +1 -0
- package/dist/types/current/playback/logging/mediaErrorToJson.js +40 -0
- package/dist/types/current/playback/logging/playbackStateLoggingHandler.d.ts +15 -0
- package/dist/types/current/playback/logging/playbackStateLoggingHandler.d.ts.map +1 -0
- package/dist/types/current/playback/logging/playbackStateLoggingHandler.js +78 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationController.d.ts +25 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationController.d.ts.map +1 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationController.js +5 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImpl.d.ts +44 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImpl.d.ts.map +1 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImpl.js +95 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImplOptions.d.ts +28 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImplOptions.d.ts.map +1 -0
- package/dist/types/current/playback/loudness/LoudnessNormalizationControllerImplOptions.js +15 -0
- package/dist/types/current/playback/nextHasMetadata.d.ts +4 -0
- package/dist/types/current/playback/nextHasMetadata.d.ts.map +1 -0
- package/dist/types/current/playback/nextHasMetadata.js +10 -0
- package/dist/types/current/streaming/ContentStream.d.ts +116 -0
- package/dist/types/current/streaming/ContentStream.d.ts.map +1 -0
- package/dist/types/current/streaming/ContentStream.js +94 -0
- package/dist/types/current/streaming/ContentStreamingOptions.d.ts +13 -0
- package/dist/types/current/streaming/ContentStreamingOptions.d.ts.map +1 -0
- package/dist/types/current/streaming/ContentStreamingOptions.js +5 -0
- package/dist/types/current/streaming/ContentTypesValue.d.ts +8 -0
- package/dist/types/current/streaming/ContentTypesValue.d.ts.map +1 -0
- package/dist/types/current/streaming/ContentTypesValue.js +5 -0
- package/dist/types/current/streaming/DescriptorRecord.d.ts +31 -0
- package/dist/types/current/streaming/DescriptorRecord.d.ts.map +1 -0
- package/dist/types/current/streaming/DescriptorRecord.js +26 -0
- package/dist/types/current/streaming/DrmInitDataType.d.ts +6 -0
- package/dist/types/current/streaming/DrmInitDataType.d.ts.map +1 -0
- package/dist/types/current/streaming/DrmInitDataType.js +5 -0
- package/dist/types/current/streaming/ManifestController.d.ts +13 -0
- package/dist/types/current/streaming/ManifestController.d.ts.map +1 -0
- package/dist/types/current/streaming/ManifestController.js +5 -0
- package/dist/types/current/streaming/MediaQualityMetadata.d.ts +141 -0
- package/dist/types/current/streaming/MediaQualityMetadata.d.ts.map +1 -0
- package/dist/types/current/streaming/MediaQualityMetadata.js +73 -0
- package/dist/types/current/streaming/MediaTimeline.d.ts +45 -0
- package/dist/types/current/streaming/MediaTimeline.d.ts.map +1 -0
- package/dist/types/current/streaming/MediaTimeline.js +17 -0
- package/dist/types/current/streaming/SegmentController.d.ts +117 -0
- package/dist/types/current/streaming/SegmentController.d.ts.map +1 -0
- package/dist/types/current/streaming/SegmentController.js +20 -0
- package/dist/types/current/streaming/SegmentControllerImpl.d.ts +170 -0
- package/dist/types/current/streaming/SegmentControllerImpl.d.ts.map +1 -0
- package/dist/types/current/streaming/SegmentControllerImpl.js +494 -0
- package/dist/types/current/streaming/SegmentDataSlot.d.ts +58 -0
- package/dist/types/current/streaming/SegmentDataSlot.d.ts.map +1 -0
- package/dist/types/current/streaming/SegmentDataSlot.js +97 -0
- package/dist/types/current/streaming/SegmentPrefetch.d.ts +62 -0
- package/dist/types/current/streaming/SegmentPrefetch.d.ts.map +1 -0
- package/dist/types/current/streaming/SegmentPrefetch.js +62 -0
- package/dist/types/current/streaming/SegmentReference.d.ts +48 -0
- package/dist/types/current/streaming/SegmentReference.d.ts.map +1 -0
- package/dist/types/current/streaming/SegmentReference.js +5 -0
- package/dist/types/current/streaming/StreamingEventMap.d.ts +57 -0
- package/dist/types/current/streaming/StreamingEventMap.d.ts.map +1 -0
- package/dist/types/current/streaming/StreamingEventMap.js +20 -0
- package/dist/types/current/streaming/abr/QualitySelector.d.ts +33 -0
- package/dist/types/current/streaming/abr/QualitySelector.d.ts.map +1 -0
- package/dist/types/current/streaming/abr/QualitySelector.js +5 -0
- package/dist/types/current/streaming/abr/QualitySelectorImpl.d.ts +100 -0
- package/dist/types/current/streaming/abr/QualitySelectorImpl.d.ts.map +1 -0
- package/dist/types/current/streaming/abr/QualitySelectorImpl.js +147 -0
- package/dist/types/current/streaming/buffering/BufferingController.d.ts +253 -0
- package/dist/types/current/streaming/buffering/BufferingController.d.ts.map +1 -0
- package/dist/types/current/streaming/buffering/BufferingController.js +482 -0
- package/dist/types/current/streaming/buffering/MediaSourceController.d.ts +103 -0
- package/dist/types/current/streaming/buffering/MediaSourceController.d.ts.map +1 -0
- package/dist/types/current/streaming/buffering/MediaSourceController.js +116 -0
- package/dist/types/current/streaming/buffering/SourceBufferController.d.ts +91 -0
- package/dist/types/current/streaming/buffering/SourceBufferController.d.ts.map +1 -0
- package/dist/types/current/streaming/buffering/SourceBufferController.js +150 -0
- package/dist/types/current/streaming/buffering/error/SourceBufferError.d.ts +9 -0
- package/dist/types/current/streaming/buffering/error/SourceBufferError.d.ts.map +1 -0
- package/dist/types/current/streaming/buffering/error/SourceBufferError.js +18 -0
- package/dist/types/current/streaming/createDefaultMediaTimelineTransformer.d.ts +18 -0
- package/dist/types/current/streaming/createDefaultMediaTimelineTransformer.d.ts.map +1 -0
- package/dist/types/current/streaming/createDefaultMediaTimelineTransformer.js +30 -0
- package/dist/types/current/streaming/mediaTimelineFilter.d.ts +18 -0
- package/dist/types/current/streaming/mediaTimelineFilter.d.ts.map +1 -0
- package/dist/types/current/streaming/mediaTimelineFilter.js +48 -0
- package/dist/types/current/streaming/mediaTimelineLanguageFilter.d.ts +14 -0
- package/dist/types/current/streaming/mediaTimelineLanguageFilter.d.ts.map +1 -0
- package/dist/types/current/streaming/mediaTimelineLanguageFilter.js +36 -0
- package/dist/types/current/streaming/util/segment.d.ts +28 -0
- package/dist/types/current/streaming/util/segment.d.ts.map +1 -0
- package/dist/types/current/streaming/util/segment.js +39 -0
- package/dist/types/current/track/AutoResetController.d.ts +83 -0
- package/dist/types/current/track/AutoResetController.d.ts.map +1 -0
- package/dist/types/current/track/AutoResetController.js +91 -0
- package/dist/types/current/track/Track.d.ts +153 -0
- package/dist/types/current/track/Track.d.ts.map +1 -0
- package/dist/types/current/track/Track.js +5 -0
- package/dist/types/current/track/TrackBase.d.ts +109 -0
- package/dist/types/current/track/TrackBase.d.ts.map +1 -0
- package/dist/types/current/track/TrackBase.js +127 -0
- package/dist/types/current/track/TrackController.d.ts +244 -0
- package/dist/types/current/track/TrackController.d.ts.map +1 -0
- package/dist/types/current/track/TrackController.js +312 -0
- package/dist/types/current/track/TrackFactory.d.ts +50 -0
- package/dist/types/current/track/TrackFactory.d.ts.map +1 -0
- package/dist/types/current/track/TrackFactory.js +31 -0
- package/dist/types/current/track/createSegmentDataProvider.d.ts +18 -0
- package/dist/types/current/track/createSegmentDataProvider.d.ts.map +1 -0
- package/dist/types/current/track/createSegmentDataProvider.js +57 -0
- package/dist/types/current/track/createVinylTrackFactories.d.ts +19 -0
- package/dist/types/current/track/createVinylTrackFactories.d.ts.map +1 -0
- package/dist/types/current/track/createVinylTrackFactories.js +20 -0
- package/dist/types/current/track/dash/DashManifestController.d.ts +43 -0
- package/dist/types/current/track/dash/DashManifestController.d.ts.map +1 -0
- package/dist/types/current/track/dash/DashManifestController.js +83 -0
- package/dist/types/current/track/dash/DashManifestProvider.d.ts +19 -0
- package/dist/types/current/track/dash/DashManifestProvider.d.ts.map +1 -0
- package/dist/types/current/track/dash/DashManifestProvider.js +5 -0
- package/dist/types/current/track/dash/DashMediaQualityMetadataResolver.d.ts +43 -0
- package/dist/types/current/track/dash/DashMediaQualityMetadataResolver.d.ts.map +1 -0
- package/dist/types/current/track/dash/DashMediaQualityMetadataResolver.js +184 -0
- package/dist/types/current/track/dash/DashTrack.d.ts +46 -0
- package/dist/types/current/track/dash/DashTrack.d.ts.map +1 -0
- package/dist/types/current/track/dash/DashTrack.js +29 -0
- package/dist/types/current/track/dash/buildDashMediaTimeline.d.ts +9 -0
- package/dist/types/current/track/dash/buildDashMediaTimeline.d.ts.map +1 -0
- package/dist/types/current/track/dash/buildDashMediaTimeline.js +32 -0
- package/dist/types/current/track/dash/createDashContentStreamFactories.d.ts +33 -0
- package/dist/types/current/track/dash/createDashContentStreamFactories.d.ts.map +1 -0
- package/dist/types/current/track/dash/createDashContentStreamFactories.js +22 -0
- package/dist/types/current/track/dash/createDashContentTypesValue.d.ts +14 -0
- package/dist/types/current/track/dash/createDashContentTypesValue.d.ts.map +1 -0
- package/dist/types/current/track/dash/createDashContentTypesValue.js +33 -0
- package/dist/types/current/track/dash/createDashFactories.d.ts +84 -0
- package/dist/types/current/track/dash/createDashFactories.d.ts.map +1 -0
- package/dist/types/current/track/dash/createDashFactories.js +51 -0
- package/dist/types/current/track/dash/createDashManifestProvider.d.ts +12 -0
- package/dist/types/current/track/dash/createDashManifestProvider.d.ts.map +1 -0
- package/dist/types/current/track/dash/createDashManifestProvider.js +18 -0
- package/dist/types/current/track/dash/createDefaultDashManifestTransformer.d.ts +21 -0
- package/dist/types/current/track/dash/createDefaultDashManifestTransformer.d.ts.map +1 -0
- package/dist/types/current/track/dash/createDefaultDashManifestTransformer.js +30 -0
- package/dist/types/current/track/dash/createSegmentControllerFactory.d.ts +19 -0
- package/dist/types/current/track/dash/createSegmentControllerFactory.d.ts.map +1 -0
- package/dist/types/current/track/dash/createSegmentControllerFactory.js +13 -0
- package/dist/types/current/track/dash/manifestTransformUtils.d.ts +30 -0
- package/dist/types/current/track/dash/manifestTransformUtils.d.ts.map +1 -0
- package/dist/types/current/track/dash/manifestTransformUtils.js +85 -0
- package/dist/types/current/track/dash/timeline/DashRepresentationSegmentProvider.d.ts +27 -0
- package/dist/types/current/track/dash/timeline/DashRepresentationSegmentProvider.d.ts.map +1 -0
- package/dist/types/current/track/dash/timeline/DashRepresentationSegmentProvider.js +333 -0
- package/dist/types/current/track/dash/urlDashManifestProvider.d.ts +17 -0
- package/dist/types/current/track/dash/urlDashManifestProvider.d.ts.map +1 -0
- package/dist/types/current/track/dash/urlDashManifestProvider.js +38 -0
- package/dist/types/current/track/dash/util/mimeType.d.ts +12 -0
- package/dist/types/current/track/dash/util/mimeType.d.ts.map +1 -0
- package/dist/types/current/track/dash/util/mimeType.js +45 -0
- package/dist/types/current/track/dash/util/mpd.d.ts +72 -0
- package/dist/types/current/track/dash/util/mpd.d.ts.map +1 -0
- package/dist/types/current/track/dash/util/mpd.js +134 -0
- package/dist/types/current/track/dash/util/uriResolution.d.ts +88 -0
- package/dist/types/current/track/dash/util/uriResolution.d.ts.map +1 -0
- package/dist/types/current/track/dash/util/uriResolution.js +76 -0
- package/dist/types/current/track/filters/keySystemFilter.d.ts +10 -0
- package/dist/types/current/track/filters/keySystemFilter.d.ts.map +1 -0
- package/dist/types/current/track/filters/keySystemFilter.js +16 -0
- package/dist/types/current/track/filters/languageFilter.d.ts +29 -0
- package/dist/types/current/track/filters/languageFilter.d.ts.map +1 -0
- package/dist/types/current/track/filters/languageFilter.js +270 -0
- package/dist/types/current/track/filters/resourceTypeFilter.d.ts +10 -0
- package/dist/types/current/track/filters/resourceTypeFilter.d.ts.map +1 -0
- package/dist/types/current/track/filters/resourceTypeFilter.js +16 -0
- package/dist/types/current/track/filters/sampleRateFilter.d.ts +13 -0
- package/dist/types/current/track/filters/sampleRateFilter.d.ts.map +1 -0
- package/dist/types/current/track/filters/sampleRateFilter.js +40 -0
- package/dist/types/current/track/hls/HlsManifestController.d.ts +28 -0
- package/dist/types/current/track/hls/HlsManifestController.d.ts.map +1 -0
- package/dist/types/current/track/hls/HlsManifestController.js +72 -0
- package/dist/types/current/track/hls/HlsManifestProvider.d.ts +21 -0
- package/dist/types/current/track/hls/HlsManifestProvider.d.ts.map +1 -0
- package/dist/types/current/track/hls/HlsManifestProvider.js +5 -0
- package/dist/types/current/track/hls/HlsMediaQualityMetadataResolver.d.ts +5 -0
- package/dist/types/current/track/hls/HlsMediaQualityMetadataResolver.d.ts.map +1 -0
- package/dist/types/current/track/hls/HlsMediaQualityMetadataResolver.js +44 -0
- package/dist/types/current/track/hls/HlsTrack.d.ts +30 -0
- package/dist/types/current/track/hls/HlsTrack.d.ts.map +1 -0
- package/dist/types/current/track/hls/HlsTrack.js +29 -0
- package/dist/types/current/track/hls/buildHlsMediaTimeline.d.ts +13 -0
- package/dist/types/current/track/hls/buildHlsMediaTimeline.d.ts.map +1 -0
- package/dist/types/current/track/hls/buildHlsMediaTimeline.js +129 -0
- package/dist/types/current/track/hls/createDefaultHlsManifestTransformer.d.ts +11 -0
- package/dist/types/current/track/hls/createDefaultHlsManifestTransformer.d.ts.map +1 -0
- package/dist/types/current/track/hls/createDefaultHlsManifestTransformer.js +21 -0
- package/dist/types/current/track/hls/createHlsContentStreamFactories.d.ts +27 -0
- package/dist/types/current/track/hls/createHlsContentStreamFactories.d.ts.map +1 -0
- package/dist/types/current/track/hls/createHlsContentStreamFactories.js +19 -0
- package/dist/types/current/track/hls/createHlsContentTypesValue.d.ts +15 -0
- package/dist/types/current/track/hls/createHlsContentTypesValue.d.ts.map +1 -0
- package/dist/types/current/track/hls/createHlsContentTypesValue.js +40 -0
- package/dist/types/current/track/hls/createHlsFactories.d.ts +73 -0
- package/dist/types/current/track/hls/createHlsFactories.d.ts.map +1 -0
- package/dist/types/current/track/hls/createHlsFactories.js +45 -0
- package/dist/types/current/track/hls/createUrlHlsManifestProvider.d.ts +21 -0
- package/dist/types/current/track/hls/createUrlHlsManifestProvider.d.ts.map +1 -0
- package/dist/types/current/track/hls/createUrlHlsManifestProvider.js +40 -0
- package/dist/types/current/track/hls/index.d.ts +10 -0
- package/dist/types/current/track/hls/index.d.ts.map +1 -0
- package/dist/types/current/track/hls/index.js +12 -0
- package/dist/types/current/track/hls/util/hlsByteRangeToMediaRange.d.ts +5 -0
- package/dist/types/current/track/hls/util/hlsByteRangeToMediaRange.d.ts.map +1 -0
- package/dist/types/current/track/hls/util/hlsByteRangeToMediaRange.js +8 -0
- package/dist/types/current/track/hls/util/hlsSegmentTime.d.ts +10 -0
- package/dist/types/current/track/hls/util/hlsSegmentTime.d.ts.map +1 -0
- package/dist/types/current/track/hls/util/hlsSegmentTime.js +35 -0
- package/dist/types/current/track/mse/MseTrack.d.ts +85 -0
- package/dist/types/current/track/mse/MseTrack.d.ts.map +1 -0
- package/dist/types/current/track/mse/MseTrack.js +281 -0
- package/dist/types/current/track/mse/codec.d.ts +16 -0
- package/dist/types/current/track/mse/codec.d.ts.map +1 -0
- package/dist/types/current/track/mse/codec.js +65 -0
- package/dist/types/current/track/source/FixedPlaybackQuality.d.ts +38 -0
- package/dist/types/current/track/source/FixedPlaybackQuality.d.ts.map +1 -0
- package/dist/types/current/track/source/FixedPlaybackQuality.js +115 -0
- package/dist/types/current/track/source/SourceObjectTrack.d.ts +33 -0
- package/dist/types/current/track/source/SourceObjectTrack.d.ts.map +1 -0
- package/dist/types/current/track/source/SourceObjectTrack.js +41 -0
- package/dist/types/current/track/source/SourceTrack.d.ts +34 -0
- package/dist/types/current/track/source/SourceTrack.d.ts.map +1 -0
- package/dist/types/current/track/source/SourceTrack.js +44 -0
- package/dist/types/current/track/source/SourceTrackBase.d.ts +33 -0
- package/dist/types/current/track/source/SourceTrackBase.d.ts.map +1 -0
- package/dist/types/current/track/source/SourceTrackBase.js +83 -0
- package/dist/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/types/current/util/media/getAudioContext.d.ts +22 -0
- package/dist/types/current/util/media/getAudioContext.d.ts.map +1 -0
- package/dist/types/current/util/media/getAudioContext.js +31 -0
- package/dist/types/current/util/media/mediaSource.d.ts +40 -0
- package/dist/types/current/util/media/mediaSource.d.ts.map +1 -0
- package/dist/types/current/util/media/mediaSource.js +91 -0
- package/dist/types/current/util/media/sourceBuffer.d.ts +9 -0
- package/dist/types/current/util/media/sourceBuffer.d.ts.map +1 -0
- package/dist/types/current/util/media/sourceBuffer.js +41 -0
- package/dist/types/current/vinyl/ReadonlyPlaybackStreamingState.d.ts +34 -0
- package/dist/types/current/vinyl/ReadonlyPlaybackStreamingState.d.ts.map +1 -0
- package/dist/types/current/vinyl/ReadonlyPlaybackStreamingState.js +5 -0
- package/dist/types/current/vinyl/VinylDeps.d.ts +41 -0
- package/dist/types/current/vinyl/VinylDeps.d.ts.map +1 -0
- package/dist/types/current/vinyl/VinylDeps.js +5 -0
- package/dist/types/current/vinyl/VinylOptions.d.ts +19 -0
- package/dist/types/current/vinyl/VinylOptions.d.ts.map +1 -0
- package/dist/types/current/vinyl/VinylOptions.js +17 -0
- package/dist/types/current/vinyl/VinylPatchOptions.d.ts +10 -0
- package/dist/types/current/vinyl/VinylPatchOptions.d.ts.map +1 -0
- package/dist/types/current/vinyl/VinylPatchOptions.js +11 -0
- package/dist/types/current/vinyl/VinylPlayer.d.ts +197 -0
- package/dist/types/current/vinyl/VinylPlayer.d.ts.map +1 -0
- package/dist/types/current/vinyl/VinylPlayer.js +455 -0
- package/dist/types/current/vinyl/createVinylFactories.d.ts +177 -0
- package/dist/types/current/vinyl/createVinylFactories.d.ts.map +1 -0
- package/dist/types/current/vinyl/createVinylFactories.js +57 -0
- package/dist/types/current/vinyl/playerConfigFactory.d.ts +5 -0
- package/dist/types/current/vinyl/playerConfigFactory.d.ts.map +1 -0
- package/dist/types/current/vinyl/playerConfigFactory.js +15 -0
- package/dist/types/ts3.7/client/Capabilities.d.ts +73 -0
- package/dist/types/ts3.7/client/CapabilitiesImpl.d.ts +27 -0
- package/dist/types/ts3.7/client/Client.d.ts +11 -0
- package/dist/types/ts3.7/drm/CencEncryptionScheme.d.ts +37 -0
- package/dist/types/ts3.7/drm/DrmController.d.ts +103 -0
- package/dist/types/ts3.7/drm/DrmControllerImpl.d.ts +109 -0
- package/dist/types/ts3.7/drm/DrmKeySystem.d.ts +61 -0
- package/dist/types/ts3.7/drm/DrmKeySystemResolver.d.ts +12 -0
- package/dist/types/ts3.7/drm/DrmOptions.d.ts +92 -0
- package/dist/types/ts3.7/drm/commonEme/CommonEme.d.ts +150 -0
- package/dist/types/ts3.7/drm/commonEme/CommonEmeFactory.d.ts +28 -0
- package/dist/types/ts3.7/drm/commonEme/EncryptedInitData.d.ts +9 -0
- package/dist/types/ts3.7/drm/commonEme/MsCommonEme.d.ts +68 -0
- package/dist/types/ts3.7/drm/commonEme/StandardCommonEme.d.ts +54 -0
- package/dist/types/ts3.7/drm/commonEme/WebKitCommonEme.d.ts +63 -0
- package/dist/types/ts3.7/drm/commonEme/createDrmErrorHandler.d.ts +3 -0
- package/dist/types/ts3.7/drm/dom/HTMLMediaElement.d.ts +8 -0
- package/dist/types/ts3.7/drm/dom/MSMediaKeys.d.ts +46 -0
- package/dist/types/ts3.7/drm/dom/WebKitMediaKeys.d.ts +50 -0
- package/dist/types/ts3.7/drm/error/DrmError.d.ts +16 -0
- package/dist/types/ts3.7/drm/licenseProvider/LicenseProvider.d.ts +38 -0
- package/dist/types/ts3.7/drm/licenseProvider/defaultLicenseProvider.d.ts +15 -0
- package/dist/types/ts3.7/drm/util/createFairPlaySessionInitData.d.ts +11 -0
- package/dist/types/ts3.7/drm/util/extractContentId.d.ts +8 -0
- package/dist/types/ts3.7/drm/util/unpackPlayReadyChallenge.d.ts +46 -0
- package/dist/types/ts3.7/event/BasicErrorEvent.d.ts +12 -0
- package/dist/types/ts3.7/event/ChangeEvent.d.ts +12 -0
- package/dist/types/ts3.7/global/PlayerRegistry.d.ts +52 -0
- package/dist/types/ts3.7/global/configureVinylGlobal.d.ts +43 -0
- package/dist/types/ts3.7/global/environment.d.ts +6 -0
- package/dist/types/ts3.7/global/globalRef.d.ts +26 -0
- package/dist/types/ts3.7/global/initializeVinylGlobal.d.ts +2 -0
- package/dist/types/ts3.7/index.d.ts +132 -0
- package/dist/types/ts3.7/patch/media/HtmlMediaElementPatch.d.ts +3 -0
- package/dist/types/ts3.7/patch/media/MediaElementPatchOptions.d.ts +19 -0
- package/dist/types/ts3.7/patch/media/patchMediaElement.d.ts +9 -0
- package/dist/types/ts3.7/patch/media/patches/createPreventStallsPatch.d.ts +17 -0
- package/dist/types/ts3.7/patch/media/patches/createUnreliablePlaybackEventsPatch.d.ts +26 -0
- package/dist/types/ts3.7/playback/PlaybackController.d.ts +56 -0
- package/dist/types/ts3.7/playback/PlaybackControllerImpl.d.ts +178 -0
- package/dist/types/ts3.7/playback/PlaybackSource.d.ts +34 -0
- package/dist/types/ts3.7/playback/PlaybackSourceImpl.d.ts +19 -0
- package/dist/types/ts3.7/playback/ReadonlyPlaybackController.d.ts +462 -0
- package/dist/types/ts3.7/playback/error/InvalidSeekError.d.ts +16 -0
- package/dist/types/ts3.7/playback/error/ReportableMediaError.d.ts +16 -0
- package/dist/types/ts3.7/playback/logging/mediaErrorToJson.d.ts +7 -0
- package/dist/types/ts3.7/playback/logging/playbackStateLoggingHandler.d.ts +15 -0
- package/dist/types/ts3.7/playback/loudness/LoudnessNormalizationController.d.ts +25 -0
- package/dist/types/ts3.7/playback/loudness/LoudnessNormalizationControllerImpl.d.ts +41 -0
- package/dist/types/ts3.7/playback/loudness/LoudnessNormalizationControllerImplOptions.d.ts +28 -0
- package/dist/types/ts3.7/playback/nextHasMetadata.d.ts +4 -0
- package/dist/types/ts3.7/streaming/ContentStream.d.ts +116 -0
- package/dist/types/ts3.7/streaming/ContentStreamingOptions.d.ts +13 -0
- package/dist/types/ts3.7/streaming/ContentTypesValue.d.ts +8 -0
- package/dist/types/ts3.7/streaming/DescriptorRecord.d.ts +31 -0
- package/dist/types/ts3.7/streaming/DrmInitDataType.d.ts +6 -0
- package/dist/types/ts3.7/streaming/ManifestController.d.ts +13 -0
- package/dist/types/ts3.7/streaming/MediaQualityMetadata.d.ts +145 -0
- package/dist/types/ts3.7/streaming/MediaTimeline.d.ts +45 -0
- package/dist/types/ts3.7/streaming/SegmentController.d.ts +117 -0
- package/dist/types/ts3.7/streaming/SegmentControllerImpl.d.ts +167 -0
- package/dist/types/ts3.7/streaming/SegmentDataSlot.d.ts +55 -0
- package/dist/types/ts3.7/streaming/SegmentPrefetch.d.ts +62 -0
- package/dist/types/ts3.7/streaming/SegmentReference.d.ts +48 -0
- package/dist/types/ts3.7/streaming/StreamingEventMap.d.ts +68 -0
- package/dist/types/ts3.7/streaming/abr/QualitySelector.d.ts +33 -0
- package/dist/types/ts3.7/streaming/abr/QualitySelectorImpl.d.ts +100 -0
- package/dist/types/ts3.7/streaming/buffering/BufferingController.d.ts +239 -0
- package/dist/types/ts3.7/streaming/buffering/MediaSourceController.d.ts +103 -0
- package/dist/types/ts3.7/streaming/buffering/SourceBufferController.d.ts +91 -0
- package/dist/types/ts3.7/streaming/buffering/error/SourceBufferError.d.ts +9 -0
- package/dist/types/ts3.7/streaming/createDefaultMediaTimelineTransformer.d.ts +18 -0
- package/dist/types/ts3.7/streaming/mediaTimelineFilter.d.ts +18 -0
- package/dist/types/ts3.7/streaming/mediaTimelineLanguageFilter.d.ts +14 -0
- package/dist/types/ts3.7/streaming/util/segment.d.ts +28 -0
- package/dist/types/ts3.7/track/AutoResetController.d.ts +83 -0
- package/dist/types/ts3.7/track/Track.d.ts +153 -0
- package/dist/types/ts3.7/track/TrackBase.d.ts +109 -0
- package/dist/types/ts3.7/track/TrackController.d.ts +242 -0
- package/dist/types/ts3.7/track/TrackFactory.d.ts +50 -0
- package/dist/types/ts3.7/track/createSegmentDataProvider.d.ts +18 -0
- package/dist/types/ts3.7/track/createVinylTrackFactories.d.ts +19 -0
- package/dist/types/ts3.7/track/dash/DashManifestController.d.ts +39 -0
- package/dist/types/ts3.7/track/dash/DashManifestProvider.d.ts +19 -0
- package/dist/types/ts3.7/track/dash/DashMediaQualityMetadataResolver.d.ts +43 -0
- package/dist/types/ts3.7/track/dash/DashTrack.d.ts +46 -0
- package/dist/types/ts3.7/track/dash/buildDashMediaTimeline.d.ts +9 -0
- package/dist/types/ts3.7/track/dash/createDashContentStreamFactories.d.ts +33 -0
- package/dist/types/ts3.7/track/dash/createDashContentTypesValue.d.ts +14 -0
- package/dist/types/ts3.7/track/dash/createDashFactories.d.ts +84 -0
- package/dist/types/ts3.7/track/dash/createDashManifestProvider.d.ts +12 -0
- package/dist/types/ts3.7/track/dash/createDefaultDashManifestTransformer.d.ts +21 -0
- package/dist/types/ts3.7/track/dash/createSegmentControllerFactory.d.ts +19 -0
- package/dist/types/ts3.7/track/dash/manifestTransformUtils.d.ts +30 -0
- package/dist/types/ts3.7/track/dash/timeline/DashRepresentationSegmentProvider.d.ts +27 -0
- package/dist/types/ts3.7/track/dash/urlDashManifestProvider.d.ts +17 -0
- package/dist/types/ts3.7/track/dash/util/mimeType.d.ts +12 -0
- package/dist/types/ts3.7/track/dash/util/mpd.d.ts +80 -0
- package/dist/types/ts3.7/track/dash/util/uriResolution.d.ts +88 -0
- package/dist/types/ts3.7/track/filters/keySystemFilter.d.ts +10 -0
- package/dist/types/ts3.7/track/filters/languageFilter.d.ts +29 -0
- package/dist/types/ts3.7/track/filters/resourceTypeFilter.d.ts +10 -0
- package/dist/types/ts3.7/track/filters/sampleRateFilter.d.ts +13 -0
- package/dist/types/ts3.7/track/hls/HlsManifestController.d.ts +25 -0
- package/dist/types/ts3.7/track/hls/HlsManifestProvider.d.ts +21 -0
- package/dist/types/ts3.7/track/hls/HlsMediaQualityMetadataResolver.d.ts +5 -0
- package/dist/types/ts3.7/track/hls/HlsTrack.d.ts +30 -0
- package/dist/types/ts3.7/track/hls/buildHlsMediaTimeline.d.ts +13 -0
- package/dist/types/ts3.7/track/hls/createDefaultHlsManifestTransformer.d.ts +11 -0
- package/dist/types/ts3.7/track/hls/createHlsContentStreamFactories.d.ts +27 -0
- package/dist/types/ts3.7/track/hls/createHlsContentTypesValue.d.ts +15 -0
- package/dist/types/ts3.7/track/hls/createHlsFactories.d.ts +73 -0
- package/dist/types/ts3.7/track/hls/createUrlHlsManifestProvider.d.ts +21 -0
- package/dist/types/ts3.7/track/hls/index.d.ts +10 -0
- package/dist/types/ts3.7/track/hls/util/hlsByteRangeToMediaRange.d.ts +5 -0
- package/dist/types/ts3.7/track/hls/util/hlsSegmentTime.d.ts +10 -0
- package/dist/types/ts3.7/track/mse/MseTrack.d.ts +85 -0
- package/dist/types/ts3.7/track/mse/codec.d.ts +16 -0
- package/dist/types/ts3.7/track/source/FixedPlaybackQuality.d.ts +38 -0
- package/dist/types/ts3.7/track/source/SourceObjectTrack.d.ts +33 -0
- package/dist/types/ts3.7/track/source/SourceTrack.d.ts +34 -0
- package/dist/types/ts3.7/track/source/SourceTrackBase.d.ts +33 -0
- package/dist/types/ts3.7/util/media/getAudioContext.d.ts +22 -0
- package/dist/types/ts3.7/util/media/mediaSource.d.ts +40 -0
- package/dist/types/ts3.7/util/media/sourceBuffer.d.ts +9 -0
- package/dist/types/ts3.7/vinyl/ReadonlyPlaybackStreamingState.d.ts +34 -0
- package/dist/types/ts3.7/vinyl/VinylDeps.d.ts +41 -0
- package/dist/types/ts3.7/vinyl/VinylOptions.d.ts +19 -0
- package/dist/types/ts3.7/vinyl/VinylPatchOptions.d.ts +10 -0
- package/dist/types/ts3.7/vinyl/VinylPlayer.d.ts +149 -0
- package/dist/types/ts3.7/vinyl/createVinylFactories.d.ts +177 -0
- package/dist/types/ts3.7/vinyl/playerConfigFactory.d.ts +5 -0
- package/dist/types/ts4.1/client/Capabilities.d.ts +73 -0
- package/dist/types/ts4.1/client/CapabilitiesImpl.d.ts +27 -0
- package/dist/types/ts4.1/client/Client.d.ts +11 -0
- package/dist/types/ts4.1/drm/CencEncryptionScheme.d.ts +37 -0
- package/dist/types/ts4.1/drm/DrmController.d.ts +103 -0
- package/dist/types/ts4.1/drm/DrmControllerImpl.d.ts +110 -0
- package/dist/types/ts4.1/drm/DrmKeySystem.d.ts +61 -0
- package/dist/types/ts4.1/drm/DrmKeySystemResolver.d.ts +12 -0
- package/dist/types/ts4.1/drm/DrmOptions.d.ts +92 -0
- package/dist/types/ts4.1/drm/commonEme/CommonEme.d.ts +150 -0
- package/dist/types/ts4.1/drm/commonEme/CommonEmeFactory.d.ts +28 -0
- package/dist/types/ts4.1/drm/commonEme/EncryptedInitData.d.ts +9 -0
- package/dist/types/ts4.1/drm/commonEme/MsCommonEme.d.ts +70 -0
- package/dist/types/ts4.1/drm/commonEme/StandardCommonEme.d.ts +55 -0
- package/dist/types/ts4.1/drm/commonEme/WebKitCommonEme.d.ts +64 -0
- package/dist/types/ts4.1/drm/commonEme/createDrmErrorHandler.d.ts +3 -0
- package/dist/types/ts4.1/drm/dom/HTMLMediaElement.d.ts +8 -0
- package/dist/types/ts4.1/drm/dom/MSMediaKeys.d.ts +46 -0
- package/dist/types/ts4.1/drm/dom/WebKitMediaKeys.d.ts +50 -0
- package/dist/types/ts4.1/drm/error/DrmError.d.ts +16 -0
- package/dist/types/ts4.1/drm/licenseProvider/LicenseProvider.d.ts +38 -0
- package/dist/types/ts4.1/drm/licenseProvider/defaultLicenseProvider.d.ts +15 -0
- package/dist/types/ts4.1/drm/util/createFairPlaySessionInitData.d.ts +11 -0
- package/dist/types/ts4.1/drm/util/extractContentId.d.ts +8 -0
- package/dist/types/ts4.1/drm/util/unpackPlayReadyChallenge.d.ts +46 -0
- package/dist/types/ts4.1/event/BasicErrorEvent.d.ts +12 -0
- package/dist/types/ts4.1/event/ChangeEvent.d.ts +12 -0
- package/dist/types/ts4.1/global/PlayerRegistry.d.ts +52 -0
- package/dist/types/ts4.1/global/configureVinylGlobal.d.ts +44 -0
- package/dist/types/ts4.1/global/environment.d.ts +6 -0
- package/dist/types/ts4.1/global/globalRef.d.ts +26 -0
- package/dist/types/ts4.1/global/initializeVinylGlobal.d.ts +2 -0
- package/dist/types/ts4.1/index.d.ts +132 -0
- package/dist/types/ts4.1/patch/media/HtmlMediaElementPatch.d.ts +3 -0
- package/dist/types/ts4.1/patch/media/MediaElementPatchOptions.d.ts +19 -0
- package/dist/types/ts4.1/patch/media/patchMediaElement.d.ts +9 -0
- package/dist/types/ts4.1/patch/media/patches/createPreventStallsPatch.d.ts +17 -0
- package/dist/types/ts4.1/patch/media/patches/createUnreliablePlaybackEventsPatch.d.ts +26 -0
- package/dist/types/ts4.1/playback/PlaybackController.d.ts +56 -0
- package/dist/types/ts4.1/playback/PlaybackControllerImpl.d.ts +180 -0
- package/dist/types/ts4.1/playback/PlaybackSource.d.ts +34 -0
- package/dist/types/ts4.1/playback/PlaybackSourceImpl.d.ts +19 -0
- package/dist/types/ts4.1/playback/ReadonlyPlaybackController.d.ts +462 -0
- package/dist/types/ts4.1/playback/error/InvalidSeekError.d.ts +17 -0
- package/dist/types/ts4.1/playback/error/ReportableMediaError.d.ts +17 -0
- package/dist/types/ts4.1/playback/logging/mediaErrorToJson.d.ts +7 -0
- package/dist/types/ts4.1/playback/logging/playbackStateLoggingHandler.d.ts +15 -0
- package/dist/types/ts4.1/playback/loudness/LoudnessNormalizationController.d.ts +25 -0
- package/dist/types/ts4.1/playback/loudness/LoudnessNormalizationControllerImpl.d.ts +41 -0
- package/dist/types/ts4.1/playback/loudness/LoudnessNormalizationControllerImplOptions.d.ts +28 -0
- package/dist/types/ts4.1/playback/nextHasMetadata.d.ts +4 -0
- package/dist/types/ts4.1/streaming/ContentStream.d.ts +117 -0
- package/dist/types/ts4.1/streaming/ContentStreamingOptions.d.ts +13 -0
- package/dist/types/ts4.1/streaming/ContentTypesValue.d.ts +8 -0
- package/dist/types/ts4.1/streaming/DescriptorRecord.d.ts +31 -0
- package/dist/types/ts4.1/streaming/DrmInitDataType.d.ts +6 -0
- package/dist/types/ts4.1/streaming/ManifestController.d.ts +13 -0
- package/dist/types/ts4.1/streaming/MediaQualityMetadata.d.ts +145 -0
- package/dist/types/ts4.1/streaming/MediaTimeline.d.ts +45 -0
- package/dist/types/ts4.1/streaming/SegmentController.d.ts +117 -0
- package/dist/types/ts4.1/streaming/SegmentControllerImpl.d.ts +168 -0
- package/dist/types/ts4.1/streaming/SegmentDataSlot.d.ts +55 -0
- package/dist/types/ts4.1/streaming/SegmentPrefetch.d.ts +62 -0
- package/dist/types/ts4.1/streaming/SegmentReference.d.ts +48 -0
- package/dist/types/ts4.1/streaming/StreamingEventMap.d.ts +68 -0
- package/dist/types/ts4.1/streaming/abr/QualitySelector.d.ts +33 -0
- package/dist/types/ts4.1/streaming/abr/QualitySelectorImpl.d.ts +100 -0
- package/dist/types/ts4.1/streaming/buffering/BufferingController.d.ts +240 -0
- package/dist/types/ts4.1/streaming/buffering/MediaSourceController.d.ts +104 -0
- package/dist/types/ts4.1/streaming/buffering/SourceBufferController.d.ts +91 -0
- package/dist/types/ts4.1/streaming/buffering/error/SourceBufferError.d.ts +9 -0
- package/dist/types/ts4.1/streaming/createDefaultMediaTimelineTransformer.d.ts +18 -0
- package/dist/types/ts4.1/streaming/mediaTimelineFilter.d.ts +18 -0
- package/dist/types/ts4.1/streaming/mediaTimelineLanguageFilter.d.ts +14 -0
- package/dist/types/ts4.1/streaming/util/segment.d.ts +28 -0
- package/dist/types/ts4.1/track/AutoResetController.d.ts +84 -0
- package/dist/types/ts4.1/track/Track.d.ts +153 -0
- package/dist/types/ts4.1/track/TrackBase.d.ts +110 -0
- package/dist/types/ts4.1/track/TrackController.d.ts +243 -0
- package/dist/types/ts4.1/track/TrackFactory.d.ts +50 -0
- package/dist/types/ts4.1/track/createSegmentDataProvider.d.ts +18 -0
- package/dist/types/ts4.1/track/createVinylTrackFactories.d.ts +19 -0
- package/dist/types/ts4.1/track/dash/DashManifestController.d.ts +39 -0
- package/dist/types/ts4.1/track/dash/DashManifestProvider.d.ts +19 -0
- package/dist/types/ts4.1/track/dash/DashMediaQualityMetadataResolver.d.ts +43 -0
- package/dist/types/ts4.1/track/dash/DashTrack.d.ts +46 -0
- package/dist/types/ts4.1/track/dash/buildDashMediaTimeline.d.ts +9 -0
- package/dist/types/ts4.1/track/dash/createDashContentStreamFactories.d.ts +36 -0
- package/dist/types/ts4.1/track/dash/createDashContentTypesValue.d.ts +14 -0
- package/dist/types/ts4.1/track/dash/createDashFactories.d.ts +86 -0
- package/dist/types/ts4.1/track/dash/createDashManifestProvider.d.ts +12 -0
- package/dist/types/ts4.1/track/dash/createDefaultDashManifestTransformer.d.ts +21 -0
- package/dist/types/ts4.1/track/dash/createSegmentControllerFactory.d.ts +20 -0
- package/dist/types/ts4.1/track/dash/manifestTransformUtils.d.ts +30 -0
- package/dist/types/ts4.1/track/dash/timeline/DashRepresentationSegmentProvider.d.ts +27 -0
- package/dist/types/ts4.1/track/dash/urlDashManifestProvider.d.ts +17 -0
- package/dist/types/ts4.1/track/dash/util/mimeType.d.ts +12 -0
- package/dist/types/ts4.1/track/dash/util/mpd.d.ts +80 -0
- package/dist/types/ts4.1/track/dash/util/uriResolution.d.ts +88 -0
- package/dist/types/ts4.1/track/filters/keySystemFilter.d.ts +10 -0
- package/dist/types/ts4.1/track/filters/languageFilter.d.ts +29 -0
- package/dist/types/ts4.1/track/filters/resourceTypeFilter.d.ts +10 -0
- package/dist/types/ts4.1/track/filters/sampleRateFilter.d.ts +13 -0
- package/dist/types/ts4.1/track/hls/HlsManifestController.d.ts +25 -0
- package/dist/types/ts4.1/track/hls/HlsManifestProvider.d.ts +21 -0
- package/dist/types/ts4.1/track/hls/HlsMediaQualityMetadataResolver.d.ts +5 -0
- package/dist/types/ts4.1/track/hls/HlsTrack.d.ts +30 -0
- package/dist/types/ts4.1/track/hls/buildHlsMediaTimeline.d.ts +13 -0
- package/dist/types/ts4.1/track/hls/createDefaultHlsManifestTransformer.d.ts +11 -0
- package/dist/types/ts4.1/track/hls/createHlsContentStreamFactories.d.ts +30 -0
- package/dist/types/ts4.1/track/hls/createHlsContentTypesValue.d.ts +15 -0
- package/dist/types/ts4.1/track/hls/createHlsFactories.d.ts +74 -0
- package/dist/types/ts4.1/track/hls/createUrlHlsManifestProvider.d.ts +21 -0
- package/dist/types/ts4.1/track/hls/index.d.ts +10 -0
- package/dist/types/ts4.1/track/hls/util/hlsByteRangeToMediaRange.d.ts +5 -0
- package/dist/types/ts4.1/track/hls/util/hlsSegmentTime.d.ts +10 -0
- package/dist/types/ts4.1/track/mse/MseTrack.d.ts +86 -0
- package/dist/types/ts4.1/track/mse/codec.d.ts +16 -0
- package/dist/types/ts4.1/track/source/FixedPlaybackQuality.d.ts +39 -0
- package/dist/types/ts4.1/track/source/SourceObjectTrack.d.ts +34 -0
- package/dist/types/ts4.1/track/source/SourceTrack.d.ts +35 -0
- package/dist/types/ts4.1/track/source/SourceTrackBase.d.ts +34 -0
- package/dist/types/ts4.1/util/media/getAudioContext.d.ts +22 -0
- package/dist/types/ts4.1/util/media/mediaSource.d.ts +40 -0
- package/dist/types/ts4.1/util/media/sourceBuffer.d.ts +9 -0
- package/dist/types/ts4.1/vinyl/ReadonlyPlaybackStreamingState.d.ts +34 -0
- package/dist/types/ts4.1/vinyl/VinylDeps.d.ts +41 -0
- package/dist/types/ts4.1/vinyl/VinylOptions.d.ts +19 -0
- package/dist/types/ts4.1/vinyl/VinylPatchOptions.d.ts +10 -0
- package/dist/types/ts4.1/vinyl/VinylPlayer.d.ts +150 -0
- package/dist/types/ts4.1/vinyl/createVinylFactories.d.ts +179 -0
- package/dist/types/ts4.1/vinyl/playerConfigFactory.d.ts +5 -0
- package/dist/types/ts4.7/client/Capabilities.d.ts +73 -0
- package/dist/types/ts4.7/client/CapabilitiesImpl.d.ts +27 -0
- package/dist/types/ts4.7/client/Client.d.ts +11 -0
- package/dist/types/ts4.7/drm/CencEncryptionScheme.d.ts +37 -0
- package/dist/types/ts4.7/drm/DrmController.d.ts +103 -0
- package/dist/types/ts4.7/drm/DrmControllerImpl.d.ts +112 -0
- package/dist/types/ts4.7/drm/DrmKeySystem.d.ts +61 -0
- package/dist/types/ts4.7/drm/DrmKeySystemResolver.d.ts +12 -0
- package/dist/types/ts4.7/drm/DrmOptions.d.ts +92 -0
- package/dist/types/ts4.7/drm/commonEme/CommonEme.d.ts +150 -0
- package/dist/types/ts4.7/drm/commonEme/CommonEmeFactory.d.ts +28 -0
- package/dist/types/ts4.7/drm/commonEme/EncryptedInitData.d.ts +9 -0
- package/dist/types/ts4.7/drm/commonEme/MsCommonEme.d.ts +68 -0
- package/dist/types/ts4.7/drm/commonEme/StandardCommonEme.d.ts +54 -0
- package/dist/types/ts4.7/drm/commonEme/WebKitCommonEme.d.ts +63 -0
- package/dist/types/ts4.7/drm/commonEme/createDrmErrorHandler.d.ts +3 -0
- package/dist/types/ts4.7/drm/dom/HTMLMediaElement.d.ts +8 -0
- package/dist/types/ts4.7/drm/dom/MSMediaKeys.d.ts +46 -0
- package/dist/types/ts4.7/drm/dom/WebKitMediaKeys.d.ts +50 -0
- package/dist/types/ts4.7/drm/error/DrmError.d.ts +16 -0
- package/dist/types/ts4.7/drm/licenseProvider/LicenseProvider.d.ts +38 -0
- package/dist/types/ts4.7/drm/licenseProvider/defaultLicenseProvider.d.ts +15 -0
- package/dist/types/ts4.7/drm/util/createFairPlaySessionInitData.d.ts +11 -0
- package/dist/types/ts4.7/drm/util/extractContentId.d.ts +8 -0
- package/dist/types/ts4.7/drm/util/unpackPlayReadyChallenge.d.ts +46 -0
- package/dist/types/ts4.7/event/BasicErrorEvent.d.ts +12 -0
- package/dist/types/ts4.7/event/ChangeEvent.d.ts +12 -0
- package/dist/types/ts4.7/global/PlayerRegistry.d.ts +52 -0
- package/dist/types/ts4.7/global/configureVinylGlobal.d.ts +43 -0
- package/dist/types/ts4.7/global/environment.d.ts +6 -0
- package/dist/types/ts4.7/global/globalRef.d.ts +32 -0
- package/dist/types/ts4.7/global/initializeVinylGlobal.d.ts +2 -0
- package/dist/types/ts4.7/index.d.ts +132 -0
- package/dist/types/ts4.7/patch/media/HtmlMediaElementPatch.d.ts +3 -0
- package/dist/types/ts4.7/patch/media/MediaElementPatchOptions.d.ts +19 -0
- package/dist/types/ts4.7/patch/media/patchMediaElement.d.ts +9 -0
- package/dist/types/ts4.7/patch/media/patches/createPreventStallsPatch.d.ts +17 -0
- package/dist/types/ts4.7/patch/media/patches/createUnreliablePlaybackEventsPatch.d.ts +26 -0
- package/dist/types/ts4.7/playback/PlaybackController.d.ts +56 -0
- package/dist/types/ts4.7/playback/PlaybackControllerImpl.d.ts +181 -0
- package/dist/types/ts4.7/playback/PlaybackSource.d.ts +34 -0
- package/dist/types/ts4.7/playback/PlaybackSourceImpl.d.ts +19 -0
- package/dist/types/ts4.7/playback/ReadonlyPlaybackController.d.ts +462 -0
- package/dist/types/ts4.7/playback/error/InvalidSeekError.d.ts +16 -0
- package/dist/types/ts4.7/playback/error/ReportableMediaError.d.ts +16 -0
- package/dist/types/ts4.7/playback/logging/mediaErrorToJson.d.ts +7 -0
- package/dist/types/ts4.7/playback/logging/playbackStateLoggingHandler.d.ts +15 -0
- package/dist/types/ts4.7/playback/loudness/LoudnessNormalizationController.d.ts +25 -0
- package/dist/types/ts4.7/playback/loudness/LoudnessNormalizationControllerImpl.d.ts +44 -0
- package/dist/types/ts4.7/playback/loudness/LoudnessNormalizationControllerImplOptions.d.ts +28 -0
- package/dist/types/ts4.7/playback/nextHasMetadata.d.ts +4 -0
- package/dist/types/ts4.7/streaming/ContentStream.d.ts +116 -0
- package/dist/types/ts4.7/streaming/ContentStreamingOptions.d.ts +13 -0
- package/dist/types/ts4.7/streaming/ContentTypesValue.d.ts +8 -0
- package/dist/types/ts4.7/streaming/DescriptorRecord.d.ts +31 -0
- package/dist/types/ts4.7/streaming/DrmInitDataType.d.ts +6 -0
- package/dist/types/ts4.7/streaming/ManifestController.d.ts +13 -0
- package/dist/types/ts4.7/streaming/MediaQualityMetadata.d.ts +145 -0
- package/dist/types/ts4.7/streaming/MediaTimeline.d.ts +45 -0
- package/dist/types/ts4.7/streaming/SegmentController.d.ts +117 -0
- package/dist/types/ts4.7/streaming/SegmentControllerImpl.d.ts +170 -0
- package/dist/types/ts4.7/streaming/SegmentDataSlot.d.ts +58 -0
- package/dist/types/ts4.7/streaming/SegmentPrefetch.d.ts +62 -0
- package/dist/types/ts4.7/streaming/SegmentReference.d.ts +48 -0
- package/dist/types/ts4.7/streaming/StreamingEventMap.d.ts +68 -0
- package/dist/types/ts4.7/streaming/abr/QualitySelector.d.ts +33 -0
- package/dist/types/ts4.7/streaming/abr/QualitySelectorImpl.d.ts +100 -0
- package/dist/types/ts4.7/streaming/buffering/BufferingController.d.ts +253 -0
- package/dist/types/ts4.7/streaming/buffering/MediaSourceController.d.ts +103 -0
- package/dist/types/ts4.7/streaming/buffering/SourceBufferController.d.ts +91 -0
- package/dist/types/ts4.7/streaming/buffering/error/SourceBufferError.d.ts +9 -0
- package/dist/types/ts4.7/streaming/createDefaultMediaTimelineTransformer.d.ts +18 -0
- package/dist/types/ts4.7/streaming/mediaTimelineFilter.d.ts +18 -0
- package/dist/types/ts4.7/streaming/mediaTimelineLanguageFilter.d.ts +14 -0
- package/dist/types/ts4.7/streaming/util/segment.d.ts +28 -0
- package/dist/types/ts4.7/track/AutoResetController.d.ts +83 -0
- package/dist/types/ts4.7/track/Track.d.ts +153 -0
- package/dist/types/ts4.7/track/TrackBase.d.ts +109 -0
- package/dist/types/ts4.7/track/TrackController.d.ts +249 -0
- package/dist/types/ts4.7/track/TrackFactory.d.ts +50 -0
- package/dist/types/ts4.7/track/createSegmentDataProvider.d.ts +18 -0
- package/dist/types/ts4.7/track/createVinylTrackFactories.d.ts +19 -0
- package/dist/types/ts4.7/track/dash/DashManifestController.d.ts +43 -0
- package/dist/types/ts4.7/track/dash/DashManifestProvider.d.ts +19 -0
- package/dist/types/ts4.7/track/dash/DashMediaQualityMetadataResolver.d.ts +43 -0
- package/dist/types/ts4.7/track/dash/DashTrack.d.ts +46 -0
- package/dist/types/ts4.7/track/dash/buildDashMediaTimeline.d.ts +9 -0
- package/dist/types/ts4.7/track/dash/createDashContentStreamFactories.d.ts +33 -0
- package/dist/types/ts4.7/track/dash/createDashContentTypesValue.d.ts +14 -0
- package/dist/types/ts4.7/track/dash/createDashFactories.d.ts +84 -0
- package/dist/types/ts4.7/track/dash/createDashManifestProvider.d.ts +12 -0
- package/dist/types/ts4.7/track/dash/createDefaultDashManifestTransformer.d.ts +21 -0
- package/dist/types/ts4.7/track/dash/createSegmentControllerFactory.d.ts +19 -0
- package/dist/types/ts4.7/track/dash/manifestTransformUtils.d.ts +30 -0
- package/dist/types/ts4.7/track/dash/timeline/DashRepresentationSegmentProvider.d.ts +27 -0
- package/dist/types/ts4.7/track/dash/urlDashManifestProvider.d.ts +17 -0
- package/dist/types/ts4.7/track/dash/util/mimeType.d.ts +12 -0
- package/dist/types/ts4.7/track/dash/util/mpd.d.ts +80 -0
- package/dist/types/ts4.7/track/dash/util/uriResolution.d.ts +88 -0
- package/dist/types/ts4.7/track/filters/keySystemFilter.d.ts +10 -0
- package/dist/types/ts4.7/track/filters/languageFilter.d.ts +29 -0
- package/dist/types/ts4.7/track/filters/resourceTypeFilter.d.ts +10 -0
- package/dist/types/ts4.7/track/filters/sampleRateFilter.d.ts +13 -0
- package/dist/types/ts4.7/track/hls/HlsManifestController.d.ts +28 -0
- package/dist/types/ts4.7/track/hls/HlsManifestProvider.d.ts +21 -0
- package/dist/types/ts4.7/track/hls/HlsMediaQualityMetadataResolver.d.ts +5 -0
- package/dist/types/ts4.7/track/hls/HlsTrack.d.ts +30 -0
- package/dist/types/ts4.7/track/hls/buildHlsMediaTimeline.d.ts +13 -0
- package/dist/types/ts4.7/track/hls/createDefaultHlsManifestTransformer.d.ts +11 -0
- package/dist/types/ts4.7/track/hls/createHlsContentStreamFactories.d.ts +27 -0
- package/dist/types/ts4.7/track/hls/createHlsContentTypesValue.d.ts +15 -0
- package/dist/types/ts4.7/track/hls/createHlsFactories.d.ts +73 -0
- package/dist/types/ts4.7/track/hls/createUrlHlsManifestProvider.d.ts +21 -0
- package/dist/types/ts4.7/track/hls/index.d.ts +10 -0
- package/dist/types/ts4.7/track/hls/util/hlsByteRangeToMediaRange.d.ts +5 -0
- package/dist/types/ts4.7/track/hls/util/hlsSegmentTime.d.ts +10 -0
- package/dist/types/ts4.7/track/mse/MseTrack.d.ts +85 -0
- package/dist/types/ts4.7/track/mse/codec.d.ts +16 -0
- package/dist/types/ts4.7/track/source/FixedPlaybackQuality.d.ts +38 -0
- package/dist/types/ts4.7/track/source/SourceObjectTrack.d.ts +33 -0
- package/dist/types/ts4.7/track/source/SourceTrack.d.ts +34 -0
- package/dist/types/ts4.7/track/source/SourceTrackBase.d.ts +33 -0
- package/dist/types/ts4.7/util/media/getAudioContext.d.ts +22 -0
- package/dist/types/ts4.7/util/media/mediaSource.d.ts +40 -0
- package/dist/types/ts4.7/util/media/sourceBuffer.d.ts +9 -0
- package/dist/types/ts4.7/vinyl/ReadonlyPlaybackStreamingState.d.ts +34 -0
- package/dist/types/ts4.7/vinyl/VinylDeps.d.ts +41 -0
- package/dist/types/ts4.7/vinyl/VinylOptions.d.ts +19 -0
- package/dist/types/ts4.7/vinyl/VinylPatchOptions.d.ts +10 -0
- package/dist/types/ts4.7/vinyl/VinylPlayer.d.ts +197 -0
- package/dist/types/ts4.7/vinyl/createVinylFactories.d.ts +177 -0
- package/dist/types/ts4.7/vinyl/playerConfigFactory.d.ts +5 -0
- package/dist/unit/types/current/client/CapabilitiesImpl.test.d.ts +2 -0
- package/dist/unit/types/current/client/CapabilitiesImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/client/CapabilitiesImpl.test.js +137 -0
- package/dist/unit/types/current/client/userAgent/userAgentExpectations.d.ts +102 -0
- package/dist/unit/types/current/client/userAgent/userAgentExpectations.d.ts.map +1 -0
- package/dist/unit/types/current/client/userAgent/userAgentExpectations.js +732 -0
- package/dist/unit/types/current/drm/CencEncryptionScheme.test.d.ts +2 -0
- package/dist/unit/types/current/drm/CencEncryptionScheme.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/CencEncryptionScheme.test.js +30 -0
- package/dist/unit/types/current/drm/CommonEmeFactory.test.d.ts +2 -0
- package/dist/unit/types/current/drm/CommonEmeFactory.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/CommonEmeFactory.test.js +65 -0
- package/dist/unit/types/current/drm/DrmControllerImpl.test.d.ts +2 -0
- package/dist/unit/types/current/drm/DrmControllerImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/DrmControllerImpl.test.js +1318 -0
- package/dist/unit/types/current/drm/DrmKeySystem.test.d.ts +2 -0
- package/dist/unit/types/current/drm/DrmKeySystem.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/DrmKeySystem.test.js +23 -0
- package/dist/unit/types/current/drm/DrmKeySystemResolver.test.d.ts +2 -0
- package/dist/unit/types/current/drm/DrmKeySystemResolver.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/DrmKeySystemResolver.test.js +13 -0
- package/dist/unit/types/current/drm/commonEme/CommonEme.test.d.ts +2 -0
- package/dist/unit/types/current/drm/commonEme/CommonEme.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/commonEme/CommonEme.test.js +26 -0
- package/dist/unit/types/current/drm/commonEme/MsCommonEme.test.d.ts +2 -0
- package/dist/unit/types/current/drm/commonEme/MsCommonEme.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/commonEme/MsCommonEme.test.js +249 -0
- package/dist/unit/types/current/drm/commonEme/StandardCommonEme.test.d.ts +2 -0
- package/dist/unit/types/current/drm/commonEme/StandardCommonEme.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/commonEme/StandardCommonEme.test.js +227 -0
- package/dist/unit/types/current/drm/commonEme/WebKitCommonEme.test.d.ts +2 -0
- package/dist/unit/types/current/drm/commonEme/WebKitCommonEme.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/commonEme/WebKitCommonEme.test.js +297 -0
- package/dist/unit/types/current/drm/commonEme/createDrmErrorHandler.test.d.ts +2 -0
- package/dist/unit/types/current/drm/commonEme/createDrmErrorHandler.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/commonEme/createDrmErrorHandler.test.js +23 -0
- package/dist/unit/types/current/drm/error/DrmError.test.d.ts +2 -0
- package/dist/unit/types/current/drm/error/DrmError.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/error/DrmError.test.js +34 -0
- package/dist/unit/types/current/drm/licenseProvider/defaultLicenseProvider.test.d.ts +2 -0
- package/dist/unit/types/current/drm/licenseProvider/defaultLicenseProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/licenseProvider/defaultLicenseProvider.test.js +42 -0
- package/dist/unit/types/current/drm/util/createFairPlaySessionInitData.test.d.ts +2 -0
- package/dist/unit/types/current/drm/util/createFairPlaySessionInitData.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/util/createFairPlaySessionInitData.test.js +16 -0
- package/dist/unit/types/current/drm/util/extractContentId.test.d.ts +2 -0
- package/dist/unit/types/current/drm/util/extractContentId.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/util/extractContentId.test.js +27 -0
- package/dist/unit/types/current/drm/util/unpackPlayReadyChallenge.test.d.ts +2 -0
- package/dist/unit/types/current/drm/util/unpackPlayReadyChallenge.test.d.ts.map +1 -0
- package/dist/unit/types/current/drm/util/unpackPlayReadyChallenge.test.js +104 -0
- package/dist/unit/types/current/event/ChangeEvent.test.d.ts +2 -0
- package/dist/unit/types/current/event/ChangeEvent.test.d.ts.map +1 -0
- package/dist/unit/types/current/event/ChangeEvent.test.js +21 -0
- package/dist/unit/types/current/global/PlayerRegistry.test.d.ts +2 -0
- package/dist/unit/types/current/global/PlayerRegistry.test.d.ts.map +1 -0
- package/dist/unit/types/current/global/PlayerRegistry.test.js +61 -0
- package/dist/unit/types/current/global/configureVinylGlobal.test.d.ts +2 -0
- package/dist/unit/types/current/global/configureVinylGlobal.test.d.ts.map +1 -0
- package/dist/unit/types/current/global/configureVinylGlobal.test.js +155 -0
- package/dist/unit/types/current/global/environment.test.d.ts +2 -0
- package/dist/unit/types/current/global/environment.test.d.ts.map +1 -0
- package/dist/unit/types/current/global/environment.test.js +20 -0
- package/dist/unit/types/current/global/globalRef.test.d.ts +2 -0
- package/dist/unit/types/current/global/globalRef.test.d.ts.map +1 -0
- package/dist/unit/types/current/global/globalRef.test.js +43 -0
- package/dist/unit/types/current/index.d.ts +105 -0
- package/dist/unit/types/current/index.d.ts.map +1 -0
- package/dist/unit/types/current/index.js +104 -0
- package/dist/unit/types/current/patch/media/MediaElementPatchOptions.test.d.ts +2 -0
- package/dist/unit/types/current/patch/media/MediaElementPatchOptions.test.d.ts.map +1 -0
- package/dist/unit/types/current/patch/media/MediaElementPatchOptions.test.js +17 -0
- package/dist/unit/types/current/patch/media/patchMediaElement.test.d.ts +2 -0
- package/dist/unit/types/current/patch/media/patchMediaElement.test.d.ts.map +1 -0
- package/dist/unit/types/current/patch/media/patchMediaElement.test.js +36 -0
- package/dist/unit/types/current/patch/media/patches/createPreventStallsPatch.test.d.ts +2 -0
- package/dist/unit/types/current/patch/media/patches/createPreventStallsPatch.test.d.ts.map +1 -0
- package/dist/unit/types/current/patch/media/patches/createPreventStallsPatch.test.js +93 -0
- package/dist/unit/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.test.d.ts +2 -0
- package/dist/unit/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.test.d.ts.map +1 -0
- package/dist/unit/types/current/patch/media/patches/createUnreliablePlaybackEventsPatch.test.js +423 -0
- package/dist/unit/types/current/playback/PlaybackControllerImpl.test.d.ts +2 -0
- package/dist/unit/types/current/playback/PlaybackControllerImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/PlaybackControllerImpl.test.js +908 -0
- package/dist/unit/types/current/playback/PlaybackSourceImpl.test.d.ts +2 -0
- package/dist/unit/types/current/playback/PlaybackSourceImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/PlaybackSourceImpl.test.js +43 -0
- package/dist/unit/types/current/playback/ReadonlyPlaybackController.test.d.ts +2 -0
- package/dist/unit/types/current/playback/ReadonlyPlaybackController.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/ReadonlyPlaybackController.test.js +10 -0
- package/dist/unit/types/current/playback/error/InvalidSeekError.test.d.ts +2 -0
- package/dist/unit/types/current/playback/error/InvalidSeekError.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/error/InvalidSeekError.test.js +38 -0
- package/dist/unit/types/current/playback/error/ReportableMediaError.test.d.ts +2 -0
- package/dist/unit/types/current/playback/error/ReportableMediaError.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/error/ReportableMediaError.test.js +64 -0
- package/dist/unit/types/current/playback/logging/mediaErrorToJson.test.d.ts +2 -0
- package/dist/unit/types/current/playback/logging/mediaErrorToJson.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/logging/mediaErrorToJson.test.js +46 -0
- package/dist/unit/types/current/playback/logging/playbackStateLoggingHandler.test.d.ts +2 -0
- package/dist/unit/types/current/playback/logging/playbackStateLoggingHandler.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/logging/playbackStateLoggingHandler.test.js +83 -0
- package/dist/unit/types/current/playback/nextEventHasMetadata.test.d.ts +2 -0
- package/dist/unit/types/current/playback/nextEventHasMetadata.test.d.ts.map +1 -0
- package/dist/unit/types/current/playback/nextEventHasMetadata.test.js +32 -0
- package/dist/unit/types/current/setup.d.ts +2 -0
- package/dist/unit/types/current/setup.d.ts.map +1 -0
- package/dist/unit/types/current/setup.js +27 -0
- package/dist/unit/types/current/streaming/ContentStream.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/ContentStream.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/ContentStream.test.js +213 -0
- package/dist/unit/types/current/streaming/DescriptorRecord.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/DescriptorRecord.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/DescriptorRecord.test.js +37 -0
- package/dist/unit/types/current/streaming/MediaQualityMetadata.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/MediaQualityMetadata.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/MediaQualityMetadata.test.js +39 -0
- package/dist/unit/types/current/streaming/MediaTimeline.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/MediaTimeline.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/MediaTimeline.test.js +48 -0
- package/dist/unit/types/current/streaming/MseTrack.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/MseTrack.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/MseTrack.test.js +606 -0
- package/dist/unit/types/current/streaming/SegmentControllerImpl.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/SegmentControllerImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/SegmentControllerImpl.test.js +718 -0
- package/dist/unit/types/current/streaming/SegmentDataSlot.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/SegmentDataSlot.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/SegmentDataSlot.test.js +75 -0
- package/dist/unit/types/current/streaming/SegmentPrefetch.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/SegmentPrefetch.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/SegmentPrefetch.test.js +145 -0
- package/dist/unit/types/current/streaming/StreamingEventMap.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/StreamingEventMap.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/StreamingEventMap.test.js +10 -0
- package/dist/unit/types/current/streaming/abr/QualitySelectorImpl.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/abr/QualitySelectorImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/abr/QualitySelectorImpl.test.js +588 -0
- package/dist/unit/types/current/streaming/buffering/BufferingController.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/buffering/BufferingController.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/buffering/BufferingController.test.js +786 -0
- package/dist/unit/types/current/streaming/buffering/MediaSourceController.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/buffering/MediaSourceController.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/buffering/MediaSourceController.test.js +161 -0
- package/dist/unit/types/current/streaming/buffering/SourceBufferController.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/buffering/SourceBufferController.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/buffering/SourceBufferController.test.js +369 -0
- package/dist/unit/types/current/streaming/buffering/error/SourceBufferError.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/buffering/error/SourceBufferError.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/buffering/error/SourceBufferError.test.js +17 -0
- package/dist/unit/types/current/streaming/createDefaultMediaTimelineTransformer.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/createDefaultMediaTimelineTransformer.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/createDefaultMediaTimelineTransformer.test.js +204 -0
- package/dist/unit/types/current/streaming/loudness/LoudnessNormalizationControllerImpl.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/loudness/LoudnessNormalizationControllerImpl.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/loudness/LoudnessNormalizationControllerImpl.test.js +108 -0
- package/dist/unit/types/current/streaming/mediaTimelineFilter.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/mediaTimelineFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/mediaTimelineFilter.test.js +82 -0
- package/dist/unit/types/current/streaming/mediaTimelineLanguageFilter.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/mediaTimelineLanguageFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/mediaTimelineLanguageFilter.test.js +171 -0
- package/dist/unit/types/current/streaming/util/segment.test.d.ts +2 -0
- package/dist/unit/types/current/streaming/util/segment.test.d.ts.map +1 -0
- package/dist/unit/types/current/streaming/util/segment.test.js +92 -0
- package/dist/unit/types/current/track/AutoResetController.test.d.ts +2 -0
- package/dist/unit/types/current/track/AutoResetController.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/AutoResetController.test.js +266 -0
- package/dist/unit/types/current/track/TrackBase.test.d.ts +2 -0
- package/dist/unit/types/current/track/TrackBase.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/TrackBase.test.js +205 -0
- package/dist/unit/types/current/track/TrackController.test.d.ts +2 -0
- package/dist/unit/types/current/track/TrackController.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/TrackController.test.js +821 -0
- package/dist/unit/types/current/track/TrackFactory.test.d.ts +2 -0
- package/dist/unit/types/current/track/TrackFactory.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/TrackFactory.test.js +85 -0
- package/dist/unit/types/current/track/createSegmentDataProvider.test.d.ts +2 -0
- package/dist/unit/types/current/track/createSegmentDataProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/createSegmentDataProvider.test.js +273 -0
- package/dist/unit/types/current/track/createVinylTrackFactories.test.d.ts +2 -0
- package/dist/unit/types/current/track/createVinylTrackFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/createVinylTrackFactories.test.js +17 -0
- package/dist/unit/types/current/track/dash/DashManifestController.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/DashManifestController.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/DashManifestController.test.js +186 -0
- package/dist/unit/types/current/track/dash/DashMediaQualityMetadataResolver.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/DashMediaQualityMetadataResolver.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/DashMediaQualityMetadataResolver.test.js +596 -0
- package/dist/unit/types/current/track/dash/DashTrack.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/DashTrack.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/DashTrack.test.js +51 -0
- package/dist/unit/types/current/track/dash/buildDashMediaTimeline.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/buildDashMediaTimeline.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/buildDashMediaTimeline.test.js +81 -0
- package/dist/unit/types/current/track/dash/createDashContentStreamFactories.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createDashContentStreamFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createDashContentStreamFactories.test.js +68 -0
- package/dist/unit/types/current/track/dash/createDashContentTypesValue.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createDashContentTypesValue.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createDashContentTypesValue.test.js +119 -0
- package/dist/unit/types/current/track/dash/createDashFactories.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createDashFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createDashFactories.test.js +78 -0
- package/dist/unit/types/current/track/dash/createDashManifestProvider.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createDashManifestProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createDashManifestProvider.test.js +31 -0
- package/dist/unit/types/current/track/dash/createDefaultDashManifestTransformer.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createDefaultDashManifestTransformer.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createDefaultDashManifestTransformer.test.js +76 -0
- package/dist/unit/types/current/track/dash/createSegmentControllerFactory.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/createSegmentControllerFactory.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/createSegmentControllerFactory.test.js +21 -0
- package/dist/unit/types/current/track/dash/manifestTransformUtils.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/manifestTransformUtils.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/manifestTransformUtils.test.js +111 -0
- package/dist/unit/types/current/track/dash/timeline/DashRepresentationSegmentProvider.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/timeline/DashRepresentationSegmentProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/timeline/DashRepresentationSegmentProvider.test.js +789 -0
- package/dist/unit/types/current/track/dash/urlDashManifestProvider.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/urlDashManifestProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/urlDashManifestProvider.test.js +102 -0
- package/dist/unit/types/current/track/dash/util/mimeType.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/util/mimeType.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/util/mimeType.test.js +174 -0
- package/dist/unit/types/current/track/dash/util/mpd.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/util/mpd.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/util/mpd.test.js +312 -0
- package/dist/unit/types/current/track/dash/util/uriResolution.test.d.ts +2 -0
- package/dist/unit/types/current/track/dash/util/uriResolution.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/dash/util/uriResolution.test.js +140 -0
- package/dist/unit/types/current/track/filters/keySystemFilter.test.d.ts +2 -0
- package/dist/unit/types/current/track/filters/keySystemFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/filters/keySystemFilter.test.js +48 -0
- package/dist/unit/types/current/track/filters/languageFilter.test.d.ts +2 -0
- package/dist/unit/types/current/track/filters/languageFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/filters/languageFilter.test.js +104 -0
- package/dist/unit/types/current/track/filters/resourceTypeFilter.test.d.ts +2 -0
- package/dist/unit/types/current/track/filters/resourceTypeFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/filters/resourceTypeFilter.test.js +42 -0
- package/dist/unit/types/current/track/filters/sampleRateFilter.test.d.ts +2 -0
- package/dist/unit/types/current/track/filters/sampleRateFilter.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/filters/sampleRateFilter.test.js +102 -0
- package/dist/unit/types/current/track/hls/HlsManifestController.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/HlsManifestController.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/HlsManifestController.test.js +165 -0
- package/dist/unit/types/current/track/hls/HlsMediaQualityMetadataResolver.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/HlsMediaQualityMetadataResolver.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/HlsMediaQualityMetadataResolver.test.js +139 -0
- package/dist/unit/types/current/track/hls/HlsTrack.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/HlsTrack.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/HlsTrack.test.js +51 -0
- package/dist/unit/types/current/track/hls/buildHlsMediaTimeline.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/buildHlsMediaTimeline.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/buildHlsMediaTimeline.test.js +297 -0
- package/dist/unit/types/current/track/hls/createDefaultHlsManifestTransformer.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/createDefaultHlsManifestTransformer.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/createDefaultHlsManifestTransformer.test.js +69 -0
- package/dist/unit/types/current/track/hls/createHlsContentStreamFactories.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/createHlsContentStreamFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/createHlsContentStreamFactories.test.js +57 -0
- package/dist/unit/types/current/track/hls/createHlsContentTypesValue.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/createHlsContentTypesValue.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/createHlsContentTypesValue.test.js +176 -0
- package/dist/unit/types/current/track/hls/createHlsFactories.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/createHlsFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/createHlsFactories.test.js +76 -0
- package/dist/unit/types/current/track/hls/createUrlHlsManifestProvider.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/createUrlHlsManifestProvider.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/createUrlHlsManifestProvider.test.js +116 -0
- package/dist/unit/types/current/track/hls/util/hlsByteRangeToMediaRange.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/util/hlsByteRangeToMediaRange.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/util/hlsByteRangeToMediaRange.test.js +22 -0
- package/dist/unit/types/current/track/hls/util/hlsSegmentTime.test.d.ts +2 -0
- package/dist/unit/types/current/track/hls/util/hlsSegmentTime.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/hls/util/hlsSegmentTime.test.js +56 -0
- package/dist/unit/types/current/track/mse/codec.test.d.ts +2 -0
- package/dist/unit/types/current/track/mse/codec.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/mse/codec.test.js +100 -0
- package/dist/unit/types/current/track/source/FixedPlaybackQuality.test.d.ts +2 -0
- package/dist/unit/types/current/track/source/FixedPlaybackQuality.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/source/FixedPlaybackQuality.test.js +365 -0
- package/dist/unit/types/current/track/source/SourceObjectTrack.test.d.ts +2 -0
- package/dist/unit/types/current/track/source/SourceObjectTrack.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/source/SourceObjectTrack.test.js +103 -0
- package/dist/unit/types/current/track/source/SourceTrack.test.d.ts +2 -0
- package/dist/unit/types/current/track/source/SourceTrack.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/source/SourceTrack.test.js +116 -0
- package/dist/unit/types/current/track/source/SourceTrackBase.test.d.ts +2 -0
- package/dist/unit/types/current/track/source/SourceTrackBase.test.d.ts.map +1 -0
- package/dist/unit/types/current/track/source/SourceTrackBase.test.js +243 -0
- package/dist/unit/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/unit/types/current/util/media/getAudioContext.test.d.ts +2 -0
- package/dist/unit/types/current/util/media/getAudioContext.test.d.ts.map +1 -0
- package/dist/unit/types/current/util/media/getAudioContext.test.js +48 -0
- package/dist/unit/types/current/util/media/mediaSource.test.d.ts +2 -0
- package/dist/unit/types/current/util/media/mediaSource.test.d.ts.map +1 -0
- package/dist/unit/types/current/util/media/mediaSource.test.js +199 -0
- package/dist/unit/types/current/util/media/sourceBuffer.test.d.ts +2 -0
- package/dist/unit/types/current/util/media/sourceBuffer.test.d.ts.map +1 -0
- package/dist/unit/types/current/util/media/sourceBuffer.test.js +42 -0
- package/dist/unit/types/current/vinyl/VinylPlayer.test.d.ts +2 -0
- package/dist/unit/types/current/vinyl/VinylPlayer.test.d.ts.map +1 -0
- package/dist/unit/types/current/vinyl/VinylPlayer.test.js +764 -0
- package/dist/unit/types/current/vinyl/createVinylFactories.test.d.ts +2 -0
- package/dist/unit/types/current/vinyl/createVinylFactories.test.d.ts.map +1 -0
- package/dist/unit/types/current/vinyl/createVinylFactories.test.js +109 -0
- package/dist/unit/types/current/vinyl/playerConfigFactory.test.d.ts +2 -0
- package/dist/unit/types/current/vinyl/playerConfigFactory.test.d.ts.map +1 -0
- package/dist/unit/types/current/vinyl/playerConfigFactory.test.js +74 -0
- package/dist/unit/types/current/vinylTestUtil/util/playback/createEventSpy.test.d.ts +2 -0
- package/dist/unit/types/current/vinylTestUtil/util/playback/createEventSpy.test.d.ts.map +1 -0
- package/dist/unit/types/current/vinylTestUtil/util/playback/createEventSpy.test.js +69 -0
- package/dist/vinylTestUtil/index.js +2984 -0
- package/dist/vinylTestUtil/index.js.map +7 -0
- package/dist/vinylTestUtil/types/current/assets/dash_personalizedResponse.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/assets/dash_personalizedResponse.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/assets/dash_personalizedResponse.js +831 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentBase.d.ts +5 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentBase.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentBase.js +144 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentList.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentList.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentList.js +107 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentListMediaRange.d.ts +8 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentListMediaRange.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/assets/dash_segmentListMediaRange.js +472 -0
- package/dist/vinylTestUtil/types/current/assets/vinylTestAssets.d.ts +64 -0
- package/dist/vinylTestUtil/types/current/assets/vinylTestAssets.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/assets/vinylTestAssets.js +58 -0
- package/dist/vinylTestUtil/types/current/index.d.ts +55 -0
- package/dist/vinylTestUtil/types/current/index.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/index.js +54 -0
- package/dist/vinylTestUtil/types/current/media/FrequencyAnalyzer.d.ts +56 -0
- package/dist/vinylTestUtil/types/current/media/FrequencyAnalyzer.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/media/FrequencyAnalyzer.js +157 -0
- package/dist/vinylTestUtil/types/current/media/unlockMediaElement.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/media/unlockMediaElement.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/media/unlockMediaElement.js +20 -0
- package/dist/vinylTestUtil/types/current/mediaSource/ControlledMediaSource.d.ts +28 -0
- package/dist/vinylTestUtil/types/current/mediaSource/ControlledMediaSource.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mediaSource/ControlledMediaSource.js +96 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockCapabilities.d.ts +12 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockCapabilities.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockCapabilities.js +16 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockClient.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockClient.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/client/MockClient.js +8 -0
- package/dist/vinylTestUtil/types/current/mock/dash/MockDashManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/current/mock/dash/MockDashManifestController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dash/MockDashManifestController.js +42 -0
- package/dist/vinylTestUtil/types/current/mock/dash/mockDashManifest.d.ts +3129 -0
- package/dist/vinylTestUtil/types/current/mock/dash/mockDashManifest.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dash/mockDashManifest.js +16 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyError.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyError.js +19 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyMessageEvent.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeyMessageEvent.js +12 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeySession.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeySession.js +19 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeys.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/ms/MockMSMediaKeys.js +14 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyError.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyError.js +19 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.js +12 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeySession.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeySession.js +19 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeys.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/MockWebKitMediaKeys.js +14 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/useWebKitMediaKeys.d.ts +5 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/useWebKitMediaKeys.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/dom/webkit/useWebKitMediaKeys.js +18 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonEme.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonEme.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonEme.js +10 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySession.d.ts +11 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySession.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySession.js +14 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySystemAccess.d.ts +8 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySystemAccess.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeySystemAccess.js +13 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeys.d.ts +9 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeys.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockCommonMediaKeys.js +14 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockDrmController.d.ts +13 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockDrmController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/drm/MockDrmController.js +17 -0
- package/dist/vinylTestUtil/types/current/mock/hls/MockHlsManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/current/mock/hls/MockHlsManifestController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/hls/MockHlsManifestController.js +39 -0
- package/dist/vinylTestUtil/types/current/mock/hls/mockHlsManifest.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/mock/hls/mockHlsManifest.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/hls/mockHlsManifest.js +66 -0
- package/dist/vinylTestUtil/types/current/mock/logging/MockHistoryLogHandler.d.ts +9 -0
- package/dist/vinylTestUtil/types/current/mock/logging/MockHistoryLogHandler.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/logging/MockHistoryLogHandler.js +13 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockLoudnessNormalizationController.d.ts +8 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockLoudnessNormalizationController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockLoudnessNormalizationController.js +12 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackController.d.ts +34 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackController.js +38 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackSource.d.ts +10 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackSource.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/playback/MockPlaybackSource.js +14 -0
- package/dist/vinylTestUtil/types/current/mock/player/MockVinylPlayerDependencies.d.ts +38 -0
- package/dist/vinylTestUtil/types/current/mock/player/MockVinylPlayerDependencies.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/player/MockVinylPlayerDependencies.js +34 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockContentStream.d.ts +18 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockContentStream.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockContentStream.js +22 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockSegmentController.d.ts +15 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockSegmentController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/MockSegmentController.js +20 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/abr/MockQualitySelector.d.ts +5 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/abr/MockQualitySelector.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/abr/MockQualitySelector.js +9 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockBufferingController.d.ts +14 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockBufferingController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockBufferingController.js +18 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockMediaSourceController.d.ts +11 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockMediaSourceController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockMediaSourceController.js +15 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockSourceBufferController.d.ts +15 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockSourceBufferController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/streaming/buffering/MockSourceBufferController.js +19 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockAutoResetController.d.ts +7 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockAutoResetController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockAutoResetController.js +11 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrack.d.ts +29 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrack.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrack.js +42 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackController.d.ts +20 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackController.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackController.js +24 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackFactory.d.ts +7 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackFactory.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/MockTrackFactory.js +10 -0
- package/dist/vinylTestUtil/types/current/mock/track/dash/createMockDashDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/current/mock/track/dash/createMockDashDependencies.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/dash/createMockDashDependencies.js +38 -0
- package/dist/vinylTestUtil/types/current/mock/track/hls/createMockHlsDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/current/mock/track/hls/createMockHlsDependencies.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/mock/track/hls/createMockHlsDependencies.js +38 -0
- package/dist/vinylTestUtil/types/current/player/createVinylSuite.d.ts +41 -0
- package/dist/vinylTestUtil/types/current/player/createVinylSuite.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/player/createVinylSuite.js +75 -0
- package/dist/vinylTestUtil/types/current/player/mediaRef.d.ts +6 -0
- package/dist/vinylTestUtil/types/current/player/mediaRef.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/player/mediaRef.js +24 -0
- package/dist/vinylTestUtil/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/vinylTestUtil/types/current/ui/requireUserInteraction.d.ts +5 -0
- package/dist/vinylTestUtil/types/current/ui/requireUserInteraction.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/ui/requireUserInteraction.js +25 -0
- package/dist/vinylTestUtil/types/current/util/playback/eventPromises.d.ts +39 -0
- package/dist/vinylTestUtil/types/current/util/playback/eventPromises.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/util/playback/eventPromises.js +81 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackCanSeek.d.ts +3 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackCanSeek.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackCanSeek.js +68 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlays.d.ts +13 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlays.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlays.js +81 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlaysUntil.d.ts +12 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlaysUntil.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/util/playback/expectTrackPlaysUntil.js +42 -0
- package/dist/vinylTestUtil/types/current/util/playback/playbackStateExpectations.d.ts +23 -0
- package/dist/vinylTestUtil/types/current/util/playback/playbackStateExpectations.d.ts.map +1 -0
- package/dist/vinylTestUtil/types/current/util/playback/playbackStateExpectations.js +64 -0
- package/dist/vinylTestUtil/types/ts3.7/assets/dash_personalizedResponse.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/assets/dash_segmentBase.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts3.7/assets/dash_segmentList.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/assets/dash_segmentListMediaRange.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts3.7/assets/vinylTestAssets.d.ts +64 -0
- package/dist/vinylTestUtil/types/ts3.7/index.d.ts +55 -0
- package/dist/vinylTestUtil/types/ts3.7/media/FrequencyAnalyzer.d.ts +50 -0
- package/dist/vinylTestUtil/types/ts3.7/media/unlockMediaElement.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/mediaSource/ControlledMediaSource.d.ts +28 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/client/MockCapabilities.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/client/MockClient.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dash/MockDashManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dash/mockDashManifest.d.ts +3717 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/ms/MockMSMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/ms/MockMSMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/ms/MockMSMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/ms/MockMSMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/webkit/MockWebKitMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/webkit/MockWebKitMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/webkit/MockWebKitMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/dom/webkit/useWebKitMediaKeys.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/drm/MockCommonEme.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/drm/MockCommonMediaKeySession.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/drm/MockCommonMediaKeySystemAccess.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/drm/MockCommonMediaKeys.d.ts +9 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/drm/MockDrmController.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/hls/MockHlsManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/hls/mockHlsManifest.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/logging/MockHistoryLogHandler.d.ts +9 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/playback/MockLoudnessNormalizationController.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/playback/MockPlaybackController.d.ts +34 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/playback/MockPlaybackSource.d.ts +10 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/player/MockVinylPlayerDependencies.d.ts +38 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/MockContentStream.d.ts +18 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/MockSegmentController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/abr/MockQualitySelector.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/buffering/MockBufferingController.d.ts +14 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/buffering/MockMediaSourceController.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/streaming/buffering/MockSourceBufferController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/MockAutoResetController.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/MockTrack.d.ts +29 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/MockTrackController.d.ts +20 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/MockTrackFactory.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/dash/createMockDashDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts3.7/mock/track/hls/createMockHlsDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts3.7/player/createVinylSuite.d.ts +41 -0
- package/dist/vinylTestUtil/types/ts3.7/player/mediaRef.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts3.7/ui/requireUserInteraction.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts3.7/util/playback/eventPromises.d.ts +39 -0
- package/dist/vinylTestUtil/types/ts3.7/util/playback/expectTrackCanSeek.d.ts +3 -0
- package/dist/vinylTestUtil/types/ts3.7/util/playback/expectTrackPlays.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts3.7/util/playback/expectTrackPlaysUntil.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts3.7/util/playback/playbackStateExpectations.d.ts +23 -0
- package/dist/vinylTestUtil/types/ts4.1/assets/dash_personalizedResponse.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/assets/dash_segmentBase.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.1/assets/dash_segmentList.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/assets/dash_segmentListMediaRange.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.1/assets/vinylTestAssets.d.ts +64 -0
- package/dist/vinylTestUtil/types/ts4.1/index.d.ts +55 -0
- package/dist/vinylTestUtil/types/ts4.1/media/FrequencyAnalyzer.d.ts +50 -0
- package/dist/vinylTestUtil/types/ts4.1/media/unlockMediaElement.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/mediaSource/ControlledMediaSource.d.ts +28 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/client/MockCapabilities.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/client/MockClient.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dash/MockDashManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dash/mockDashManifest.d.ts +3717 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/ms/MockMSMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/ms/MockMSMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/ms/MockMSMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/ms/MockMSMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/webkit/MockWebKitMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/webkit/MockWebKitMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/webkit/MockWebKitMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/dom/webkit/useWebKitMediaKeys.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/drm/MockCommonEme.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/drm/MockCommonMediaKeySession.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/drm/MockCommonMediaKeySystemAccess.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/drm/MockCommonMediaKeys.d.ts +10 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/drm/MockDrmController.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/hls/MockHlsManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/hls/mockHlsManifest.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/logging/MockHistoryLogHandler.d.ts +9 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/playback/MockLoudnessNormalizationController.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/playback/MockPlaybackController.d.ts +34 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/playback/MockPlaybackSource.d.ts +10 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/player/MockVinylPlayerDependencies.d.ts +38 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/MockContentStream.d.ts +18 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/MockSegmentController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/abr/MockQualitySelector.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/buffering/MockBufferingController.d.ts +14 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/buffering/MockMediaSourceController.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/streaming/buffering/MockSourceBufferController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/MockAutoResetController.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/MockTrack.d.ts +29 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/MockTrackController.d.ts +20 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/MockTrackFactory.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/dash/createMockDashDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.1/mock/track/hls/createMockHlsDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.1/player/createVinylSuite.d.ts +41 -0
- package/dist/vinylTestUtil/types/ts4.1/player/mediaRef.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.1/ui/requireUserInteraction.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.1/util/playback/eventPromises.d.ts +39 -0
- package/dist/vinylTestUtil/types/ts4.1/util/playback/expectTrackCanSeek.d.ts +3 -0
- package/dist/vinylTestUtil/types/ts4.1/util/playback/expectTrackPlays.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.1/util/playback/expectTrackPlaysUntil.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts4.1/util/playback/playbackStateExpectations.d.ts +23 -0
- package/dist/vinylTestUtil/types/ts4.7/assets/dash_personalizedResponse.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/assets/dash_segmentBase.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.7/assets/dash_segmentList.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/assets/dash_segmentListMediaRange.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.7/assets/vinylTestAssets.d.ts +64 -0
- package/dist/vinylTestUtil/types/ts4.7/index.d.ts +55 -0
- package/dist/vinylTestUtil/types/ts4.7/media/FrequencyAnalyzer.d.ts +56 -0
- package/dist/vinylTestUtil/types/ts4.7/media/unlockMediaElement.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/mediaSource/ControlledMediaSource.d.ts +28 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/client/MockCapabilities.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/client/MockClient.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dash/MockDashManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dash/mockDashManifest.d.ts +3717 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/ms/MockMSMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/ms/MockMSMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/ms/MockMSMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/ms/MockMSMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/webkit/MockWebKitMediaKeyError.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/webkit/MockWebKitMediaKeySession.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/webkit/MockWebKitMediaKeys.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/dom/webkit/useWebKitMediaKeys.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/drm/MockCommonEme.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/drm/MockCommonMediaKeySession.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/drm/MockCommonMediaKeySystemAccess.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/drm/MockCommonMediaKeys.d.ts +9 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/drm/MockDrmController.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/hls/MockHlsManifestController.d.ts +19 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/hls/mockHlsManifest.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/logging/MockHistoryLogHandler.d.ts +9 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/playback/MockLoudnessNormalizationController.d.ts +8 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/playback/MockPlaybackController.d.ts +34 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/playback/MockPlaybackSource.d.ts +10 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/player/MockVinylPlayerDependencies.d.ts +38 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/MockContentStream.d.ts +18 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/MockSegmentController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/abr/MockQualitySelector.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/buffering/MockBufferingController.d.ts +14 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/buffering/MockMediaSourceController.d.ts +11 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/streaming/buffering/MockSourceBufferController.d.ts +15 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/MockAutoResetController.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/MockTrack.d.ts +29 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/MockTrackController.d.ts +20 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/MockTrackFactory.d.ts +7 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/dash/createMockDashDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.7/mock/track/hls/createMockHlsDependencies.d.ts +21 -0
- package/dist/vinylTestUtil/types/ts4.7/player/createVinylSuite.d.ts +41 -0
- package/dist/vinylTestUtil/types/ts4.7/player/mediaRef.d.ts +6 -0
- package/dist/vinylTestUtil/types/ts4.7/ui/requireUserInteraction.d.ts +5 -0
- package/dist/vinylTestUtil/types/ts4.7/util/playback/eventPromises.d.ts +39 -0
- package/dist/vinylTestUtil/types/ts4.7/util/playback/expectTrackCanSeek.d.ts +3 -0
- package/dist/vinylTestUtil/types/ts4.7/util/playback/expectTrackPlays.d.ts +13 -0
- package/dist/vinylTestUtil/types/ts4.7/util/playback/expectTrackPlaysUntil.d.ts +12 -0
- package/dist/vinylTestUtil/types/ts4.7/util/playback/playbackStateExpectations.d.ts +23 -0
- package/docs/ARCHITECTURE.md +175 -0
- package/docs/AUTO_RESET.md +77 -0
- package/docs/DASH_MANIFEST_TRANSFORM_GUIDE.md +236 -0
- package/docs/DRM_CONFIGURATION.md +217 -0
- package/docs/DRM_CONTROLLER.md +149 -0
- package/docs/USAGE.md +399 -0
- package/package.json +109 -0
|
@@ -0,0 +1,2984 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
21
|
+
|
|
22
|
+
// test/vinylTestUtil/util/playback/playbackStateExpectations.ts
|
|
23
|
+
import { sleep } from "@amazon/vinyl-util";
|
|
24
|
+
import { nextEventAsPromise } from "@amazon/vinyl-util";
|
|
25
|
+
import { closeTo } from "@amazon/vinyl-util";
|
|
26
|
+
import { expectNothing } from "@amazon/vinyl-util/browserTestUtil";
|
|
27
|
+
async function expectTimeDoesNotElapse(player) {
|
|
28
|
+
const startTime = player.currentTime;
|
|
29
|
+
await sleep(0.5);
|
|
30
|
+
if (closeTo(player.currentTime, startTime, 0.1)) {
|
|
31
|
+
expectNothing();
|
|
32
|
+
} else {
|
|
33
|
+
await sleep(2);
|
|
34
|
+
expect(player.currentTime).withContext("expectTimeDoesNotElapse").toBeCloseToWithin(startTime, 0.3);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
async function expectTimeElapses(player) {
|
|
38
|
+
const minTimeDelta = 0.5;
|
|
39
|
+
const startTime = player.currentTime;
|
|
40
|
+
await nextEventAsPromise(player, "timeUpdate", {
|
|
41
|
+
filter: () => player.currentTime > startTime + minTimeDelta,
|
|
42
|
+
timeout: 4,
|
|
43
|
+
timeoutMessage: `currentTime did not progress at least ${minTimeDelta}s after {time} seconds.`
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function expectPausedState(player) {
|
|
47
|
+
expect(player.paused).withContext("paused").toBeTrue();
|
|
48
|
+
expect(player.playing).withContext("not playing").toBeFalse();
|
|
49
|
+
}
|
|
50
|
+
function expectPlayingState(player) {
|
|
51
|
+
expect(player.playIsPending).withContext("not pending play").toBeFalse();
|
|
52
|
+
expect(player.paused).withContext("not paused").toBeFalse();
|
|
53
|
+
expect(player.playing).withContext("playing").toBeTrue();
|
|
54
|
+
}
|
|
55
|
+
function expectPendingPlaying(player) {
|
|
56
|
+
expect(player.playIsPending).withContext("pending play").toBeTrue();
|
|
57
|
+
expect(player.playing).withContext("pending, not playing").toBeFalse();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// test/vinylTestUtil/util/playback/eventPromises.ts
|
|
61
|
+
import {
|
|
62
|
+
nextHasMetadata
|
|
63
|
+
} from "@amazon/vinyl";
|
|
64
|
+
import { nextEventAsPromise as nextEventAsPromise2 } from "@amazon/vinyl-util";
|
|
65
|
+
async function onPlaying(playbackController, timeout = 10) {
|
|
66
|
+
if (playbackController.playing) return Promise.resolve();
|
|
67
|
+
return nextEventAsPromise2(playbackController, "playing", {
|
|
68
|
+
timeout,
|
|
69
|
+
timeoutMessage: "playing timed out after {time}s"
|
|
70
|
+
}).then(() => void 0);
|
|
71
|
+
}
|
|
72
|
+
async function onCanPlayThrough(playbackController, timeout = 20) {
|
|
73
|
+
if (playbackController.canPlayThrough) return Promise.resolve();
|
|
74
|
+
return nextEventAsPromise2(playbackController, "canPlayThrough", {
|
|
75
|
+
timeout,
|
|
76
|
+
timeoutMessage: "canPlayThrough timed out after {time}s"
|
|
77
|
+
}).then(() => void 0);
|
|
78
|
+
}
|
|
79
|
+
async function onEnded(playbackController, timeout = 10, metadataTimeout = 10) {
|
|
80
|
+
if (playbackController.ended) return Promise.resolve();
|
|
81
|
+
await nextHasMetadata(playbackController, { timeout: metadataTimeout });
|
|
82
|
+
return nextEventAsPromise2(playbackController, "ended", {
|
|
83
|
+
// Set the timeout to be the remaining track duration plus a large margin of error for stalls and seek
|
|
84
|
+
// inaccuracy.
|
|
85
|
+
timeout: playbackController.duration - playbackController.currentTime + timeout,
|
|
86
|
+
timeoutMessage: "ended timed out after {time}s"
|
|
87
|
+
}).then(() => void 0);
|
|
88
|
+
}
|
|
89
|
+
function onTimeUpdate(playbackController, timeout = 5) {
|
|
90
|
+
return nextEventAsPromise2(playbackController, "timeUpdate", {
|
|
91
|
+
timeout,
|
|
92
|
+
timeoutMessage: "timeUpdate timed out after {time}s"
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function onDuration(playbackController, timeout = 10) {
|
|
96
|
+
if (playbackController.duration > 0) return Promise.resolve();
|
|
97
|
+
return nextEventAsPromise2(playbackController, "durationChange", {
|
|
98
|
+
timeout,
|
|
99
|
+
timeoutMessage: "durationChange timed out after {time}s"
|
|
100
|
+
}).then(() => void 0);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// test/vinylTestUtil/media/FrequencyAnalyzer.ts
|
|
104
|
+
import { getAudioContext } from "@amazon/vinyl";
|
|
105
|
+
import { TimeoutError } from "@amazon/vinyl-util";
|
|
106
|
+
import { sleep as sleep2 } from "@amazon/vinyl-util";
|
|
107
|
+
import { parseBoolean } from "@amazon/vinyl-util";
|
|
108
|
+
import { logDebug } from "@amazon/vinyl-util";
|
|
109
|
+
import { getSearchParams } from "@amazon/vinyl-util";
|
|
110
|
+
import { createLogPrefix } from "@amazon/vinyl-util";
|
|
111
|
+
|
|
112
|
+
// test/vinylTestUtil/player/mediaRef.ts
|
|
113
|
+
import { lazy } from "@amazon/vinyl-util";
|
|
114
|
+
var mediaRef = lazy(() => {
|
|
115
|
+
const media = document.createElement("video");
|
|
116
|
+
media.muted = true;
|
|
117
|
+
media.playsInline = true;
|
|
118
|
+
media.disableRemotePlayback = true;
|
|
119
|
+
return media;
|
|
120
|
+
});
|
|
121
|
+
afterEach(() => {
|
|
122
|
+
if (mediaRef.constructed) {
|
|
123
|
+
const media = mediaRef.value;
|
|
124
|
+
media.removeAttribute("src");
|
|
125
|
+
media.load();
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
// test/vinylTestUtil/ui/requireUserInteraction.ts
|
|
130
|
+
async function requireUserInteraction() {
|
|
131
|
+
const audioPrompt = document.getElementById("unlockAudioPrompt");
|
|
132
|
+
audioPrompt.style.removeProperty("display");
|
|
133
|
+
const body = document.body;
|
|
134
|
+
body.focus();
|
|
135
|
+
await new Promise((resolve) => {
|
|
136
|
+
const done = () => {
|
|
137
|
+
body.removeEventListener("click", done);
|
|
138
|
+
body.removeEventListener("keypress", done);
|
|
139
|
+
body.removeEventListener("touchend", done);
|
|
140
|
+
return resolve(void 0);
|
|
141
|
+
};
|
|
142
|
+
body.addEventListener("click", done);
|
|
143
|
+
body.addEventListener("keypress", done);
|
|
144
|
+
body.addEventListener("touchend", done);
|
|
145
|
+
});
|
|
146
|
+
audioPrompt.style.display = "none";
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// test/vinylTestUtil/assets/vinylTestAssets.ts
|
|
150
|
+
var VINYL_ASSETS_HOST = "https://assets.dev.vinyl.music.amazon.dev";
|
|
151
|
+
var vinylTestAssets = {
|
|
152
|
+
prog: {
|
|
153
|
+
libmp3lame_60s_2ch_16bit_44100Hz_48kbps: `${VINYL_ASSETS_HOST}/prog/libmp3lame_60s_2ch_16bit_44100Hz_48kbps.mp3`,
|
|
154
|
+
libmp3lame_1800s_2ch_16bit_44100Hz_48kbps: `${VINYL_ASSETS_HOST}/prog/libmp3lame_1800s_2ch_16bit_44100Hz_48kbps.mp3`
|
|
155
|
+
},
|
|
156
|
+
dash: {
|
|
157
|
+
live_static_aac_opus_flac_60s_segmentTemplate: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentTemplate/manifest.mpd`,
|
|
158
|
+
live_static_aac_opus_flac_60s_segmentBase: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentBase/manifest.mpd`,
|
|
159
|
+
live_static_video_audio_60s_2s_segmentTemplate: `${VINYL_ASSETS_HOST}/dash/live_static_video_audio_60s_2s_segmentTemplate/manifest.mpd`,
|
|
160
|
+
live_static_video_audio_60s_4s_segmentTemplate: `${VINYL_ASSETS_HOST}/dash/live_static_video_audio_60s_4s_segmentTemplate/manifest.mpd`,
|
|
161
|
+
live_static_video_audio_60s_2s_segmentTemplate_widevine_cl10: `${VINYL_ASSETS_HOST}/dash/live_static_video_audio_60s_2s_segmentTemplate_widevine_cl10/manifest.mpd`,
|
|
162
|
+
live_static_video_audio_60s_4s_segmentTemplate_widevine_cl10: `${VINYL_ASSETS_HOST}/dash/live_static_video_audio_60s_4s_segmentTemplate_widevine_cl10/manifest.mpd`,
|
|
163
|
+
live_static_video_60s_2s_segmentTemplate: `${VINYL_ASSETS_HOST}/dash/live_static_video_60s_2s_segmentTemplate/manifest.mpd`,
|
|
164
|
+
live_static_video_60s_4s_segmentTemplate: `${VINYL_ASSETS_HOST}/dash/live_static_video_60s_4s_segmentTemplate/manifest.mpd`,
|
|
165
|
+
live_static_aac_opus_flac_60s_segmentBase_widevine_cl10: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentBase_widevine_cl10/manifest.mpd`,
|
|
166
|
+
live_static_aac_opus_flac_60s_segmentBase_widevine: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentBase_widevine/manifest.mpd`,
|
|
167
|
+
live_static_aac_1800s_segmentBase_widevine_cl30: `${VINYL_ASSETS_HOST}/dash/live_static_aac_1800s_segmentBase_widevine_cl30/manifest.mpd`
|
|
168
|
+
},
|
|
169
|
+
hls: {
|
|
170
|
+
live_static_video_audio_60s_2s: `${VINYL_ASSETS_HOST}/hls/live_static_video_audio_60s_2s/main.m3u8`,
|
|
171
|
+
live_static_video_audio_60s_4s: `${VINYL_ASSETS_HOST}/hls/live_static_video_audio_60s_4s/main.m3u8`,
|
|
172
|
+
live_static_aac_opus_flac_60s: `${VINYL_ASSETS_HOST}/hls/live_static_aac_opus_flac_60s/main.m3u8`,
|
|
173
|
+
live_static_aac_60s_mpegts: `${VINYL_ASSETS_HOST}/hls/live_static_aac_60s_mpegts/main.m3u8`,
|
|
174
|
+
live_static_video_60s_2s: `${VINYL_ASSETS_HOST}/hls/live_static_video_60s_2s/main.m3u8`,
|
|
175
|
+
live_static_video_60s_4s: `${VINYL_ASSETS_HOST}/hls/live_static_video_60s_4s/main.m3u8`,
|
|
176
|
+
live_static_video_60s_2s_mpegts: `${VINYL_ASSETS_HOST}/hls/live_static_video_60s_2s_mpegts/main.m3u8`,
|
|
177
|
+
live_static_video_60s_4s_mpegts: `${VINYL_ASSETS_HOST}/hls/live_static_video_60s_4s_mpegts/main.m3u8`,
|
|
178
|
+
live_static_video_audio_60s_2s_mpegts: `${VINYL_ASSETS_HOST}/hls/live_static_video_audio_60s_2s_mpegts/main.m3u8`,
|
|
179
|
+
live_static_video_audio_60s_4s_mpegts: `${VINYL_ASSETS_HOST}/hls/live_static_video_audio_60s_4s_mpegts/main.m3u8`
|
|
180
|
+
},
|
|
181
|
+
// Segmented streaming is added by hand, ControlledMediaSource provides a way to test
|
|
182
|
+
// Media source extensions without reading a dash manifest.
|
|
183
|
+
segmentedStreaming: {
|
|
184
|
+
aac_60s_2ch_16bit_44100Hz_48kbps: {
|
|
185
|
+
init: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentTemplate/segments/aac_60s_2ch_16bit_44100Hz_48kbps/sample.mp4`,
|
|
186
|
+
part: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_60s_segmentTemplate/segments/aac_60s_2ch_16bit_44100Hz_48kbps/part_{index}.m4s`,
|
|
187
|
+
numSegments: 6,
|
|
188
|
+
duration: 60
|
|
189
|
+
},
|
|
190
|
+
// For testing Widevine, use a ControlledMediaSource with this asset.
|
|
191
|
+
// EME requires using a media source, but DRM testing does not need to test buffering.
|
|
192
|
+
aac_60s_2ch_16bit_44100Hz_48kbps_widevine_cl10: {
|
|
193
|
+
init: `${VINYL_ASSETS_HOST}/dash/live_static_aac_opus_flac_segmentBase_widevine_60s_cl10/representations/aac_60s_2ch_16bit_44100Hz_48kbps.mp4`,
|
|
194
|
+
part: ``,
|
|
195
|
+
numSegments: 0,
|
|
196
|
+
duration: 60
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
// test/vinylTestUtil/media/unlockMediaElement.ts
|
|
202
|
+
import { noop } from "@amazon/vinyl-util";
|
|
203
|
+
async function unlockMediaElement() {
|
|
204
|
+
const media = mediaRef.value;
|
|
205
|
+
media.src = vinylTestAssets.prog.libmp3lame_60s_2ch_16bit_44100Hz_48kbps;
|
|
206
|
+
await media.play().catch(noop);
|
|
207
|
+
media.pause();
|
|
208
|
+
media.removeAttribute("src");
|
|
209
|
+
media.load();
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// test/vinylTestUtil/media/FrequencyAnalyzer.ts
|
|
213
|
+
import { setNextTestTimeout } from "@amazon/vinyl-util/browserTestUtil";
|
|
214
|
+
var TIME_ESTIMATE_TOLERANCE = 0.02;
|
|
215
|
+
var defaultFrequencyAnalyzerOptions = {
|
|
216
|
+
startFrequency: 100,
|
|
217
|
+
endFrequency: 6e3,
|
|
218
|
+
fftSize: 4096
|
|
219
|
+
};
|
|
220
|
+
var FrequencyAnalyzer = class {
|
|
221
|
+
constructor(audioContext, source, options) {
|
|
222
|
+
this.audioContext = audioContext;
|
|
223
|
+
this.source = source;
|
|
224
|
+
__publicField(this, "data");
|
|
225
|
+
__publicField(this, "analyser");
|
|
226
|
+
__publicField(this, "options");
|
|
227
|
+
__publicField(this, "logPrefix", createLogPrefix("FrequencyAnalyzer"));
|
|
228
|
+
this.options = __spreadValues(__spreadValues({}, defaultFrequencyAnalyzerOptions), options);
|
|
229
|
+
this.analyser = this.audioContext.createAnalyser();
|
|
230
|
+
this.analyser.fftSize = this.options.fftSize;
|
|
231
|
+
this.analyser.connect(this.audioContext.destination);
|
|
232
|
+
this.data = new Float32Array(this.analyser.frequencyBinCount);
|
|
233
|
+
this.source.connect(this.analyser);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Estimates the frequency of the current frame window.
|
|
237
|
+
*
|
|
238
|
+
* The frequency estimate is the frequency of the highest decibel bin within the frame window. The number of
|
|
239
|
+
* bins is 1/2 the fftSize.
|
|
240
|
+
*/
|
|
241
|
+
get frequency() {
|
|
242
|
+
const audioCtx = this.audioContext;
|
|
243
|
+
const analyser = this.analyser;
|
|
244
|
+
const data6 = this.data;
|
|
245
|
+
analyser.getFloatFrequencyData(data6);
|
|
246
|
+
const maxIndex = data6.reduce(
|
|
247
|
+
(iMax, x, i, arr) => x > arr[iMax] ? i : iMax,
|
|
248
|
+
0
|
|
249
|
+
);
|
|
250
|
+
return maxIndex * audioCtx.sampleRate / analyser.fftSize;
|
|
251
|
+
}
|
|
252
|
+
get estimatedTime() {
|
|
253
|
+
const frequency = this.frequency;
|
|
254
|
+
const start = this.options.startFrequency;
|
|
255
|
+
const end = this.options.endFrequency;
|
|
256
|
+
return (frequency - start) / (end - start) * this.source.mediaElement.duration;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Asserts that the next samples of audio plays at its expected frequency.
|
|
260
|
+
*/
|
|
261
|
+
async assertFrequency(timeout = 10) {
|
|
262
|
+
this.analyser.disconnect();
|
|
263
|
+
this.analyser.connect(this.audioContext.destination);
|
|
264
|
+
const media = this.source.mediaElement;
|
|
265
|
+
if (isNaN(media.duration)) fail("media is not loaded");
|
|
266
|
+
if (media.paused) fail("media is paused");
|
|
267
|
+
const startTime = Date.now();
|
|
268
|
+
const mediaStartTime = media.currentTime;
|
|
269
|
+
const playbackTime = 0.25;
|
|
270
|
+
const maxDifference = media.duration * TIME_ESTIMATE_TOLERANCE;
|
|
271
|
+
if (media.currentTime + playbackTime >= media.duration) {
|
|
272
|
+
logDebug(
|
|
273
|
+
this,
|
|
274
|
+
"Ignoring assertFrequency, currentTime is at duration"
|
|
275
|
+
);
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
let estimatedTime;
|
|
279
|
+
let diff;
|
|
280
|
+
let elapsed;
|
|
281
|
+
do {
|
|
282
|
+
if (Date.now() - startTime > timeout * 1e3) {
|
|
283
|
+
throw new TimeoutError(
|
|
284
|
+
"Frequency data could not be filled, media is not playing."
|
|
285
|
+
);
|
|
286
|
+
}
|
|
287
|
+
elapsed = media.currentTime - mediaStartTime;
|
|
288
|
+
estimatedTime = this.estimatedTime;
|
|
289
|
+
diff = Math.abs(estimatedTime - media.currentTime);
|
|
290
|
+
await sleep2(playbackTime);
|
|
291
|
+
} while (elapsed < playbackTime && diff > maxDifference);
|
|
292
|
+
logDebug(
|
|
293
|
+
this,
|
|
294
|
+
"time from frequency:",
|
|
295
|
+
estimatedTime.toFixed(2),
|
|
296
|
+
"actual time:",
|
|
297
|
+
media.currentTime.toFixed(2)
|
|
298
|
+
);
|
|
299
|
+
if (diff > maxDifference) {
|
|
300
|
+
const percentFormatter = new Intl.NumberFormat("en-US", {
|
|
301
|
+
style: "percent"
|
|
302
|
+
});
|
|
303
|
+
fail(
|
|
304
|
+
`The measured frequency at time ${media.currentTime.toFixed(2)} was measured to be ${this.frequency.toFixed(2)}Hz. The expected time is ${estimatedTime.toFixed(2)}, the actual time is ${media.currentTime.toFixed(2)}, for a difference of ${percentFormatter.format(
|
|
305
|
+
diff / media.duration
|
|
306
|
+
)} track duration. (Tolerance is ${percentFormatter.format(TIME_ESTIMATE_TOLERANCE)})`
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
var _a;
|
|
312
|
+
var shouldCheckAudio = parseBoolean(
|
|
313
|
+
((_a = getSearchParams().get("checkAudio")) != null ? _a : "0").toLowerCase()
|
|
314
|
+
);
|
|
315
|
+
var frequencyAnalyzer = null;
|
|
316
|
+
function assertFrequency() {
|
|
317
|
+
var _a2;
|
|
318
|
+
return (_a2 = frequencyAnalyzer == null ? void 0 : frequencyAnalyzer.assertFrequency()) != null ? _a2 : Promise.resolve();
|
|
319
|
+
}
|
|
320
|
+
function initializeFrequencyAnalyzer() {
|
|
321
|
+
if (shouldCheckAudio) {
|
|
322
|
+
setNextTestTimeout(300);
|
|
323
|
+
beforeAll(async () => {
|
|
324
|
+
const media = mediaRef.value;
|
|
325
|
+
media.crossOrigin = "anonymous";
|
|
326
|
+
media.muted = false;
|
|
327
|
+
media.volume = 0.01;
|
|
328
|
+
await requireUserInteraction();
|
|
329
|
+
const audioContext = getAudioContext();
|
|
330
|
+
await unlockMediaElement();
|
|
331
|
+
if (audioContext) {
|
|
332
|
+
const source = audioContext.createMediaElementSource(
|
|
333
|
+
mediaRef.value
|
|
334
|
+
);
|
|
335
|
+
frequencyAnalyzer = new FrequencyAnalyzer(audioContext, source);
|
|
336
|
+
} else {
|
|
337
|
+
console.warn("AudioContext not supported");
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// test/vinylTestUtil/util/playback/expectTrackPlaysUntil.ts
|
|
344
|
+
import { sleep as sleep3 } from "@amazon/vinyl-util";
|
|
345
|
+
var sleepInterval = 1;
|
|
346
|
+
var affordanceBefore = 1;
|
|
347
|
+
var affordanceAfter = 3;
|
|
348
|
+
async function expectTrackPlaysUntil(player, endTime, timeout = 10) {
|
|
349
|
+
await onPlaying(player);
|
|
350
|
+
await onCanPlayThrough(player);
|
|
351
|
+
await onTimeUpdate(player);
|
|
352
|
+
expect(player.currentTime).withContext("currentTime must be less than endTime").toBeLessThan(endTime);
|
|
353
|
+
await assertFrequency();
|
|
354
|
+
let elapsed = 0;
|
|
355
|
+
const maxTime = endTime - player.currentTime + timeout;
|
|
356
|
+
while (!player.ended && player.currentTime < endTime && elapsed < maxTime) {
|
|
357
|
+
await sleep3(sleepInterval);
|
|
358
|
+
elapsed += sleepInterval;
|
|
359
|
+
}
|
|
360
|
+
expect(player.currentTime).withContext("currentTime").toBeGreaterThanOrEqual(endTime - affordanceBefore);
|
|
361
|
+
expect(player.currentTime).withContext("currentTime").toBeLessThan(endTime + affordanceAfter);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
// test/vinylTestUtil/util/playback/expectTrackPlays.ts
|
|
365
|
+
import { createDisposer } from "@amazon/vinyl-util";
|
|
366
|
+
import { createEventSpy } from "@amazon/vinyl-util/testUtil";
|
|
367
|
+
var PLAYBACK_DURATION = 6;
|
|
368
|
+
async function expectTrackPlays(player) {
|
|
369
|
+
const { dispose, add } = createDisposer();
|
|
370
|
+
const ended = add(createEventSpy(player, "ended"));
|
|
371
|
+
const timeUpdate = add(createEventSpy(player, "timeUpdate"));
|
|
372
|
+
expect(player.currentTime).withContext("currentTime starts near the beginning").toBeLessThan(1);
|
|
373
|
+
await onDuration(player);
|
|
374
|
+
const duration = player.duration;
|
|
375
|
+
expect(duration).withContext("duration should be non-zero").toBeGreaterThan(0);
|
|
376
|
+
if (player.duration > PLAYBACK_DURATION) {
|
|
377
|
+
await expectTrackPlaysUntil(
|
|
378
|
+
player,
|
|
379
|
+
player.currentTime + PLAYBACK_DURATION / 2
|
|
380
|
+
);
|
|
381
|
+
const time = player.duration - PLAYBACK_DURATION / 2;
|
|
382
|
+
await player.seekTo(time);
|
|
383
|
+
}
|
|
384
|
+
await ended.next(PLAYBACK_DURATION + 10);
|
|
385
|
+
expect(player.currentTime).toBeCloseToWithin(duration, 3);
|
|
386
|
+
expect(player.ended).withContext("ended").toBeTrue();
|
|
387
|
+
expect(timeUpdate.calls.count()).toBeGreaterThanOrEqual(
|
|
388
|
+
Math.floor(PLAYBACK_DURATION)
|
|
389
|
+
);
|
|
390
|
+
dispose();
|
|
391
|
+
}
|
|
392
|
+
async function expectPlaylistPlays(player, playlist) {
|
|
393
|
+
var _a2;
|
|
394
|
+
const { dispose, add } = createDisposer();
|
|
395
|
+
const trackTimeout = PLAYBACK_DURATION + 30;
|
|
396
|
+
const queueEnded = add(createEventSpy(player, "queueEnded"));
|
|
397
|
+
const queueChange = add(createEventSpy(player, "queueChange"));
|
|
398
|
+
const trackChange = add(createEventSpy(player, "currentTrackChange"));
|
|
399
|
+
function assertQueueChangeCount(count) {
|
|
400
|
+
expect(queueChange).toHaveBeenCalledTimes(count);
|
|
401
|
+
queueChange.calls.reset();
|
|
402
|
+
}
|
|
403
|
+
player.load(...playlist);
|
|
404
|
+
assertQueueChangeCount(1);
|
|
405
|
+
await player.play();
|
|
406
|
+
for (let i = 0; i < playlist.length; i++) {
|
|
407
|
+
const isLastTrack = i === playlist.length - 1;
|
|
408
|
+
expect((_a2 = player.currentTrack) == null ? void 0 : _a2.uri).withContext("currentTrack uri").toBe(playlist[i].uri);
|
|
409
|
+
const nextTrack = isLastTrack ? queueEnded.next(trackTimeout) : trackChange.next(trackTimeout);
|
|
410
|
+
await expectTrackPlays(player);
|
|
411
|
+
await nextTrack;
|
|
412
|
+
assertQueueChangeCount(isLastTrack ? 0 : 1);
|
|
413
|
+
}
|
|
414
|
+
dispose();
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// test/vinylTestUtil/util/playback/expectTrackCanSeek.ts
|
|
418
|
+
import { getMinSeekableBufferDefault } from "@amazon/vinyl";
|
|
419
|
+
import { noop as noop2 } from "@amazon/vinyl-util";
|
|
420
|
+
import { createDisposer as createDisposer2 } from "@amazon/vinyl-util";
|
|
421
|
+
import { closeTo as closeTo2 } from "@amazon/vinyl-util";
|
|
422
|
+
import { clamp } from "@amazon/vinyl-util";
|
|
423
|
+
import { createEventSpy as createEventSpy2 } from "@amazon/vinyl-util/testUtil";
|
|
424
|
+
async function expectTrackCanSeekTo(player, time) {
|
|
425
|
+
const tolerance = 0.5;
|
|
426
|
+
const { dispose, add } = createDisposer2();
|
|
427
|
+
const playedSpy = add(createEventSpy2(player, "played"));
|
|
428
|
+
const seekingSpy = add(createEventSpy2(player, "seeking"));
|
|
429
|
+
const seekedSpy = add(createEventSpy2(player, "seeked"));
|
|
430
|
+
const wasPaused = player.paused;
|
|
431
|
+
if (player.playing) {
|
|
432
|
+
seekingSpy.next().then(() => {
|
|
433
|
+
expect(playedSpy).toHaveBeenCalledBefore(seekingSpy);
|
|
434
|
+
}).catch(noop2);
|
|
435
|
+
}
|
|
436
|
+
const expectNoop = closeTo2(player.currentTime, time, tolerance);
|
|
437
|
+
await player.seekTo(time, tolerance);
|
|
438
|
+
const expectedTime = clamp(
|
|
439
|
+
time,
|
|
440
|
+
0,
|
|
441
|
+
player.duration - getMinSeekableBufferDefault()
|
|
442
|
+
);
|
|
443
|
+
expect(player.currentTime).toBeCloseToWithin(expectedTime, 1);
|
|
444
|
+
if (expectNoop) {
|
|
445
|
+
expect(seekingSpy).not.toHaveBeenCalled();
|
|
446
|
+
expect(seekedSpy).not.toHaveBeenCalled();
|
|
447
|
+
} else {
|
|
448
|
+
expect(seekingSpy).toHaveBeenCalledBefore(seekedSpy);
|
|
449
|
+
expect(player.paused).withContext("paused").toBe(wasPaused);
|
|
450
|
+
if (wasPaused) {
|
|
451
|
+
expectPausedState(player);
|
|
452
|
+
await expectTimeDoesNotElapse(player);
|
|
453
|
+
} else {
|
|
454
|
+
await onPlaying(player);
|
|
455
|
+
expectPlayingState(player);
|
|
456
|
+
await assertFrequency();
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
dispose();
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
// test/vinylTestUtil/player/createVinylSuite.ts
|
|
463
|
+
import {
|
|
464
|
+
createVinylPlayer
|
|
465
|
+
} from "@amazon/vinyl";
|
|
466
|
+
import {
|
|
467
|
+
createLogPrefix as createLogPrefix2,
|
|
468
|
+
getGlobalRegistry,
|
|
469
|
+
IllegalStateError,
|
|
470
|
+
logDebug as logDebug2
|
|
471
|
+
} from "@amazon/vinyl-util";
|
|
472
|
+
import { setTestTimeout } from "@amazon/vinyl-util/browserTestUtil";
|
|
473
|
+
var VinylSuite = class {
|
|
474
|
+
constructor(playerFactory, options) {
|
|
475
|
+
this.playerFactory = playerFactory;
|
|
476
|
+
this.options = options;
|
|
477
|
+
__publicField(this, "logPrefix", createLogPrefix2(this));
|
|
478
|
+
__publicField(this, "_player", null);
|
|
479
|
+
__publicField(this, "visibilityChangeHandler", () => {
|
|
480
|
+
if (document.visibilityState === "hidden") {
|
|
481
|
+
fail("The window must remain visible during the tests.");
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
get [Symbol.toStringTag]() {
|
|
486
|
+
return "VinylSuite";
|
|
487
|
+
}
|
|
488
|
+
get player() {
|
|
489
|
+
if (!this._player)
|
|
490
|
+
throw new IllegalStateError(
|
|
491
|
+
"player cannot be accessed outside of a test"
|
|
492
|
+
);
|
|
493
|
+
return this._player;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Initializes jasmine test setup.
|
|
497
|
+
*/
|
|
498
|
+
init() {
|
|
499
|
+
var _a2, _b;
|
|
500
|
+
let playerErrorSub = null;
|
|
501
|
+
setTestTimeout((_b = (_a2 = this.options) == null ? void 0 : _a2.timeout) != null ? _b : 60);
|
|
502
|
+
beforeEach(() => {
|
|
503
|
+
var _a3;
|
|
504
|
+
document.addEventListener(
|
|
505
|
+
"visibilitychange",
|
|
506
|
+
this.visibilityChangeHandler
|
|
507
|
+
);
|
|
508
|
+
this._player = this.playerFactory();
|
|
509
|
+
if (((_a3 = this.options) == null ? void 0 : _a3.failOnError) !== false) {
|
|
510
|
+
playerErrorSub = this._player.on("error", (e) => {
|
|
511
|
+
fail(e);
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
afterEach(() => {
|
|
516
|
+
var _a3;
|
|
517
|
+
logDebug2(this, "disposing");
|
|
518
|
+
if (playerErrorSub) playerErrorSub();
|
|
519
|
+
(_a3 = this._player) == null ? void 0 : _a3.dispose();
|
|
520
|
+
this._player = null;
|
|
521
|
+
document.removeEventListener(
|
|
522
|
+
"visibilitychange",
|
|
523
|
+
this.visibilityChangeHandler
|
|
524
|
+
);
|
|
525
|
+
getGlobalRegistry().reset();
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
function createVinylSuite(playerDependencyOptions, options) {
|
|
530
|
+
const suite = new VinylSuite(() => {
|
|
531
|
+
return createVinylPlayer(__spreadProps(__spreadValues({}, playerDependencyOptions), {
|
|
532
|
+
media: mediaRef.value
|
|
533
|
+
}));
|
|
534
|
+
}, options);
|
|
535
|
+
suite.init();
|
|
536
|
+
return suite;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// test/vinylTestUtil/mock/track/MockTrackFactory.ts
|
|
540
|
+
import { createSpyFactory } from "@amazon/vinyl-util/browserTestUtil";
|
|
541
|
+
var MockTrackFactory = class {
|
|
542
|
+
constructor() {
|
|
543
|
+
__publicField(this, "spyFactory", createSpyFactory());
|
|
544
|
+
__publicField(this, "validate", this.spyFactory("validate"));
|
|
545
|
+
__publicField(this, "createTrack", this.spyFactory("createTrack"));
|
|
546
|
+
}
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
// test/vinylTestUtil/mock/track/MockTrackController.ts
|
|
550
|
+
import { createSpyFactory as createSpyFactory2 } from "@amazon/vinyl-util/browserTestUtil";
|
|
551
|
+
import { MockEventHost } from "@amazon/vinyl-util/testUtil";
|
|
552
|
+
var spyFactory = createSpyFactory2();
|
|
553
|
+
var MockTrackController = class extends MockEventHost {
|
|
554
|
+
constructor() {
|
|
555
|
+
super(...arguments);
|
|
556
|
+
__publicField(this, "currentTrack", null);
|
|
557
|
+
__publicField(this, "queue", []);
|
|
558
|
+
__publicField(this, "clearPrefetch", spyFactory("clearPrefetch"));
|
|
559
|
+
__publicField(this, "clearQueue", spyFactory("clearQueue"));
|
|
560
|
+
__publicField(this, "clearTrackCache", spyFactory("clearTrackCache"));
|
|
561
|
+
__publicField(this, "enqueue", spyFactory("enqueue"));
|
|
562
|
+
__publicField(this, "getCachedTrack", spyFactory("getCachedTrack"));
|
|
563
|
+
__publicField(this, "getCachedTracks", spyFactory("getCachedTracks"));
|
|
564
|
+
__publicField(this, "hasNext", spyFactory("hasNext"));
|
|
565
|
+
__publicField(this, "isTrackCached", spyFactory("isTrackCached"));
|
|
566
|
+
__publicField(this, "load", spyFactory("load"));
|
|
567
|
+
__publicField(this, "next", spyFactory("next"));
|
|
568
|
+
__publicField(this, "preload", spyFactory("preload"));
|
|
569
|
+
__publicField(this, "unload", spyFactory("unload"));
|
|
570
|
+
__publicField(this, "reset", spyFactory("reset"));
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
// test/vinylTestUtil/mock/track/MockTrack.ts
|
|
575
|
+
import { RangesImpl } from "@amazon/vinyl-util";
|
|
576
|
+
import { createSpyFactory as createSpyFactory3 } from "@amazon/vinyl-util/browserTestUtil";
|
|
577
|
+
import { MockEventHost as MockEventHost2 } from "@amazon/vinyl-util/testUtil";
|
|
578
|
+
var spyFactory2 = createSpyFactory3();
|
|
579
|
+
var MockTrack = class extends MockEventHost2 {
|
|
580
|
+
constructor() {
|
|
581
|
+
super(...arguments);
|
|
582
|
+
__publicField(this, "uri", "");
|
|
583
|
+
__publicField(this, "type", "");
|
|
584
|
+
__publicField(this, "active", false);
|
|
585
|
+
__publicField(this, "fetchedRanges", new RangesImpl());
|
|
586
|
+
__publicField(this, "preload", spyFactory2("preload"));
|
|
587
|
+
__publicField(this, "contentTypes", /* @__PURE__ */ new Set());
|
|
588
|
+
__publicField(this, "qualities", null);
|
|
589
|
+
__publicField(this, "qualitiesUnfiltered", null);
|
|
590
|
+
__publicField(this, "getStreamingQuality", spyFactory2("getStreamingQuality"));
|
|
591
|
+
__publicField(this, "getBufferingQuality", spyFactory2("getBufferingQuality"));
|
|
592
|
+
__publicField(this, "getPlaybackQuality", spyFactory2("getPlaybackQuality"));
|
|
593
|
+
__publicField(this, "extra");
|
|
594
|
+
__publicField(this, "error", null);
|
|
595
|
+
__publicField(this, "activate", spyFactory2("activate"));
|
|
596
|
+
__publicField(this, "deactivate", spyFactory2("deactivate"));
|
|
597
|
+
__publicField(this, "clearPrefetch", spyFactory2("clearPrefetch"));
|
|
598
|
+
__publicField(this, "reset", spyFactory2("reset"));
|
|
599
|
+
__publicField(this, "disposed", false);
|
|
600
|
+
}
|
|
601
|
+
get [Symbol.toStringTag]() {
|
|
602
|
+
return `MockTrack(${this.uri})`;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Installs fakes for activate and deactivate to set active status.
|
|
606
|
+
*/
|
|
607
|
+
implementActivateFakes() {
|
|
608
|
+
this.activate.and.callFake(() => {
|
|
609
|
+
this.active = true;
|
|
610
|
+
});
|
|
611
|
+
this.deactivate.and.callFake(() => {
|
|
612
|
+
this.active = false;
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
// test/vinylTestUtil/mock/track/MockAutoResetController.ts
|
|
618
|
+
import { createSpyFactory as createSpyFactory4 } from "@amazon/vinyl-util/browserTestUtil";
|
|
619
|
+
import { MockEventHost as MockEventHost3 } from "@amazon/vinyl-util/testUtil";
|
|
620
|
+
var spyFactory3 = createSpyFactory4();
|
|
621
|
+
var MockAutoResetController = class extends MockEventHost3 {
|
|
622
|
+
constructor() {
|
|
623
|
+
super(...arguments);
|
|
624
|
+
__publicField(this, "setError", spyFactory3("setError"));
|
|
625
|
+
__publicField(this, "clear", spyFactory3("clear"));
|
|
626
|
+
}
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
// test/vinylTestUtil/mock/track/hls/createMockHlsDependencies.ts
|
|
630
|
+
import {
|
|
631
|
+
createEmptyMediaQualityMetadata
|
|
632
|
+
} from "@amazon/vinyl";
|
|
633
|
+
|
|
634
|
+
// test/vinylTestUtil/mock/hls/MockHlsManifestController.ts
|
|
635
|
+
import { createSpyFactory as createSpyFactory5 } from "@amazon/vinyl-util/browserTestUtil";
|
|
636
|
+
import { data } from "@amazon/vinyl-observable";
|
|
637
|
+
|
|
638
|
+
// test/vinylTestUtil/mock/hls/mockHlsManifest.ts
|
|
639
|
+
var mockMediaPlaylist = {
|
|
640
|
+
version: 7,
|
|
641
|
+
targetDuration: 6,
|
|
642
|
+
mediaSequence: 1,
|
|
643
|
+
playlistType: "VOD",
|
|
644
|
+
ended: true,
|
|
645
|
+
segments: [
|
|
646
|
+
{
|
|
647
|
+
uri: "segment0.mp4",
|
|
648
|
+
duration: 6,
|
|
649
|
+
sequenceNumber: 1,
|
|
650
|
+
discontinuity: false,
|
|
651
|
+
map: { uri: "init.mp4" }
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
uri: "segment1.mp4",
|
|
655
|
+
duration: 6,
|
|
656
|
+
sequenceNumber: 2,
|
|
657
|
+
discontinuity: false,
|
|
658
|
+
map: { uri: "init.mp4" }
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
};
|
|
662
|
+
var mockMainPlaylist = {
|
|
663
|
+
variants: [
|
|
664
|
+
{
|
|
665
|
+
bandwidth: 5e5,
|
|
666
|
+
uri: "low/prog_index.m3u8",
|
|
667
|
+
codecs: "avc1.640015,mp4a.40.2",
|
|
668
|
+
width: 480,
|
|
669
|
+
height: 270,
|
|
670
|
+
frameRate: 30,
|
|
671
|
+
audioGroup: "aud1"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
bandwidth: 1e6,
|
|
675
|
+
uri: "high/prog_index.m3u8",
|
|
676
|
+
codecs: "avc1.64001e,mp4a.40.2",
|
|
677
|
+
width: 640,
|
|
678
|
+
height: 360,
|
|
679
|
+
frameRate: 30,
|
|
680
|
+
audioGroup: "aud1"
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
alternativeRenditions: [
|
|
684
|
+
{
|
|
685
|
+
type: "AUDIO",
|
|
686
|
+
groupId: "aud1",
|
|
687
|
+
name: "English",
|
|
688
|
+
uri: "audio/prog_index.m3u8",
|
|
689
|
+
language: "en",
|
|
690
|
+
default: true,
|
|
691
|
+
autoSelect: true
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
sessionData: []
|
|
695
|
+
};
|
|
696
|
+
var mockHlsManifestData = {
|
|
697
|
+
mainPlaylist: mockMainPlaylist,
|
|
698
|
+
baseUrl: "https://example.com/main.m3u8",
|
|
699
|
+
getMediaPlaylist: () => Promise.resolve(mockMediaPlaylist)
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
// test/vinylTestUtil/mock/hls/MockHlsManifestController.ts
|
|
703
|
+
var spyFactory4 = createSpyFactory5();
|
|
704
|
+
var MockHlsManifestController = class {
|
|
705
|
+
constructor() {
|
|
706
|
+
__publicField(this, "_data", data(
|
|
707
|
+
Promise.resolve(mockHlsManifestData)
|
|
708
|
+
));
|
|
709
|
+
__publicField(this, "refresh", spyFactory4("refresh"));
|
|
710
|
+
__publicField(this, "reset", spyFactory4("reset"));
|
|
711
|
+
}
|
|
712
|
+
get value() {
|
|
713
|
+
return this._data.value;
|
|
714
|
+
}
|
|
715
|
+
get changeId() {
|
|
716
|
+
return this._data.changeId;
|
|
717
|
+
}
|
|
718
|
+
getValue() {
|
|
719
|
+
return this._data.getValue();
|
|
720
|
+
}
|
|
721
|
+
onData(callback) {
|
|
722
|
+
return this._data.onData(callback);
|
|
723
|
+
}
|
|
724
|
+
map(transform) {
|
|
725
|
+
return this._data.map(transform);
|
|
726
|
+
}
|
|
727
|
+
pick(prop) {
|
|
728
|
+
return this._data.pick(prop);
|
|
729
|
+
}
|
|
730
|
+
setManifest(manifest) {
|
|
731
|
+
this._data.value = manifest;
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
// test/vinylTestUtil/mock/streaming/buffering/MockMediaSourceController.ts
|
|
736
|
+
import { createSpyFactory as createSpyFactory6 } from "@amazon/vinyl-util/browserTestUtil";
|
|
737
|
+
import { MockEventHost as MockEventHost4 } from "@amazon/vinyl-util/testUtil";
|
|
738
|
+
var spyFactory5 = createSpyFactory6();
|
|
739
|
+
var MockMediaSourceController = class extends MockEventHost4 {
|
|
740
|
+
constructor() {
|
|
741
|
+
super(...arguments);
|
|
742
|
+
__publicField(this, "duration", 0);
|
|
743
|
+
__publicField(this, "readyState", "closed");
|
|
744
|
+
__publicField(this, "createSourceBuffer", spyFactory5("createSourceBuffer"));
|
|
745
|
+
__publicField(this, "endOfStream", spyFactory5("endOfStream"));
|
|
746
|
+
__publicField(this, "createUrl", spyFactory5("createUrl"));
|
|
747
|
+
__publicField(this, "readyToAppend", false);
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
// test/vinylTestUtil/mock/playback/MockPlaybackSource.ts
|
|
752
|
+
import { createSpyFactory as createSpyFactory7 } from "@amazon/vinyl-util/browserTestUtil";
|
|
753
|
+
var spyFactory6 = createSpyFactory7();
|
|
754
|
+
var MockPlaybackSource = class {
|
|
755
|
+
constructor() {
|
|
756
|
+
__publicField(this, "crossOrigin", null);
|
|
757
|
+
__publicField(this, "currentSrc", "");
|
|
758
|
+
__publicField(this, "src", null);
|
|
759
|
+
__publicField(this, "srcObject", null);
|
|
760
|
+
__publicField(this, "disableRemotePlayback", false);
|
|
761
|
+
__publicField(this, "load", spyFactory6("load"));
|
|
762
|
+
}
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
// test/vinylTestUtil/mock/streaming/MockContentStream.ts
|
|
766
|
+
import { createSpyFactory as createSpyFactory8 } from "@amazon/vinyl-util/browserTestUtil";
|
|
767
|
+
import { MockEventHost as MockEventHost5 } from "@amazon/vinyl-util/testUtil";
|
|
768
|
+
import { RangesImpl as RangesImpl2 } from "@amazon/vinyl-util";
|
|
769
|
+
var spyFactory7 = createSpyFactory8();
|
|
770
|
+
var MockContentStream = class extends MockEventHost5 {
|
|
771
|
+
constructor() {
|
|
772
|
+
super(...arguments);
|
|
773
|
+
__publicField(this, "contentType", "audio");
|
|
774
|
+
__publicField(this, "bufferingQuality", null);
|
|
775
|
+
__publicField(this, "error", null);
|
|
776
|
+
__publicField(this, "fetchedRanges", new RangesImpl2());
|
|
777
|
+
__publicField(this, "playbackQuality", null);
|
|
778
|
+
__publicField(this, "streamingQuality", null);
|
|
779
|
+
__publicField(this, "bufferingEnded", false);
|
|
780
|
+
__publicField(this, "clearPrefetch", spyFactory7("clearPrefetch"));
|
|
781
|
+
__publicField(this, "activate", spyFactory7("activate"));
|
|
782
|
+
__publicField(this, "deactivate", spyFactory7("deactivate"));
|
|
783
|
+
__publicField(this, "preload", spyFactory7("preload"));
|
|
784
|
+
__publicField(this, "reset", spyFactory7("reset"));
|
|
785
|
+
}
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
// test/vinylTestUtil/mock/playback/MockPlaybackController.ts
|
|
789
|
+
import { PlaybackNetworkState, PlaybackReadyState } from "@amazon/vinyl";
|
|
790
|
+
import { RangesImpl as RangesImpl3 } from "@amazon/vinyl-util";
|
|
791
|
+
import { createSpyFactory as createSpyFactory9 } from "@amazon/vinyl-util/browserTestUtil";
|
|
792
|
+
import { MockEventHost as MockEventHost6 } from "@amazon/vinyl-util/testUtil";
|
|
793
|
+
var spyFactory8 = createSpyFactory9();
|
|
794
|
+
var MockPlaybackController = class extends MockEventHost6 {
|
|
795
|
+
constructor() {
|
|
796
|
+
super(...arguments);
|
|
797
|
+
__publicField(this, "buffered", new RangesImpl3());
|
|
798
|
+
__publicField(this, "canPlay", false);
|
|
799
|
+
__publicField(this, "canPlayThrough", false);
|
|
800
|
+
__publicField(this, "currentTime", 0);
|
|
801
|
+
__publicField(this, "currentTimePercent", 0);
|
|
802
|
+
__publicField(this, "defaultPlaybackRate", 0);
|
|
803
|
+
__publicField(this, "duration", 0);
|
|
804
|
+
__publicField(this, "ended", false);
|
|
805
|
+
__publicField(this, "error", null);
|
|
806
|
+
__publicField(this, "hasMetadata", false);
|
|
807
|
+
__publicField(this, "loop", false);
|
|
808
|
+
__publicField(this, "muted", false);
|
|
809
|
+
__publicField(this, "networkState", PlaybackNetworkState.NETWORK_IDLE);
|
|
810
|
+
__publicField(this, "pause", spyFactory8("pause"));
|
|
811
|
+
__publicField(this, "paused", false);
|
|
812
|
+
__publicField(this, "play", spyFactory8("play"));
|
|
813
|
+
__publicField(this, "playIsPending", false);
|
|
814
|
+
__publicField(this, "playbackRate", 0);
|
|
815
|
+
__publicField(this, "playing", false);
|
|
816
|
+
__publicField(this, "preservesPitch", true);
|
|
817
|
+
__publicField(this, "readyState", PlaybackReadyState.HAVE_NOTHING);
|
|
818
|
+
__publicField(this, "reset", spyFactory8("reset"));
|
|
819
|
+
__publicField(this, "seekTo", spyFactory8("seekTo"));
|
|
820
|
+
__publicField(this, "seekable", new RangesImpl3());
|
|
821
|
+
__publicField(this, "seeking", false);
|
|
822
|
+
__publicField(this, "volume", 0);
|
|
823
|
+
__publicField(this, "waiting", false);
|
|
824
|
+
}
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
// test/vinylTestUtil/mock/drm/MockDrmController.ts
|
|
828
|
+
import { createSpyFactory as createSpyFactory10 } from "@amazon/vinyl-util/browserTestUtil";
|
|
829
|
+
import { MockEventHost as MockEventHost7 } from "@amazon/vinyl-util/testUtil";
|
|
830
|
+
var spyFactory9 = createSpyFactory10();
|
|
831
|
+
var MockDrmController = class extends MockEventHost7 {
|
|
832
|
+
constructor() {
|
|
833
|
+
super(...arguments);
|
|
834
|
+
__publicField(this, "error", null);
|
|
835
|
+
__publicField(this, "configure", spyFactory9("configure"));
|
|
836
|
+
__publicField(this, "isEmeSupported", spyFactory9("isEmeSupported"));
|
|
837
|
+
__publicField(this, "isSupported", spyFactory9("isSupported"));
|
|
838
|
+
__publicField(this, "initializeForPlayback", spyFactory9("initializeForPlayback"));
|
|
839
|
+
__publicField(this, "setBufferingDrmInfo", spyFactory9("setBufferingDrmInfo"));
|
|
840
|
+
__publicField(this, "closeSessions", spyFactory9("closeSessions"));
|
|
841
|
+
__publicField(this, "reset", spyFactory9("reset"));
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
// test/vinylTestUtil/mock/track/hls/createMockHlsDependencies.ts
|
|
846
|
+
import { createSpyFactory as createSpyFactory11 } from "@amazon/vinyl-util/browserTestUtil";
|
|
847
|
+
import { data as data2 } from "@amazon/vinyl-observable";
|
|
848
|
+
var createSpy = jasmine.createSpy;
|
|
849
|
+
var emptyTimeline = { periods: [], minBufferTime: 0 };
|
|
850
|
+
var spyFactory10 = createSpyFactory11();
|
|
851
|
+
function createMockHlsDependencies() {
|
|
852
|
+
const playbackController = new MockPlaybackController();
|
|
853
|
+
playbackController.seekTo.and.resolveTo(void 0);
|
|
854
|
+
const manifestController = new MockHlsManifestController();
|
|
855
|
+
return {
|
|
856
|
+
contentTypesValue: data2(Promise.resolve(/* @__PURE__ */ new Set())),
|
|
857
|
+
contentStreamFactory: spyFactory10("contentStreamFactory").and.callFake(
|
|
858
|
+
(contentType) => {
|
|
859
|
+
const stream = new MockContentStream();
|
|
860
|
+
stream.contentType = contentType;
|
|
861
|
+
return stream;
|
|
862
|
+
}
|
|
863
|
+
),
|
|
864
|
+
manifestController,
|
|
865
|
+
manifestTransformed: manifestController.map((v) => v),
|
|
866
|
+
mediaTimeline: data2(Promise.resolve(emptyTimeline)),
|
|
867
|
+
mediaTimelineTransformed: data2(Promise.resolve(emptyTimeline)),
|
|
868
|
+
mediaSourceController: new MockMediaSourceController(),
|
|
869
|
+
playbackSource: new MockPlaybackSource(),
|
|
870
|
+
playbackController,
|
|
871
|
+
drmController: new MockDrmController(),
|
|
872
|
+
mediaQualityMetadataResolver: createSpy().and.callFake(
|
|
873
|
+
() => createEmptyMediaQualityMetadata()
|
|
874
|
+
)
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
// test/vinylTestUtil/mock/track/dash/createMockDashDependencies.ts
|
|
879
|
+
import {
|
|
880
|
+
createEmptyMediaQualityMetadata as createEmptyMediaQualityMetadata2
|
|
881
|
+
} from "@amazon/vinyl";
|
|
882
|
+
|
|
883
|
+
// test/vinylTestUtil/mock/dash/MockDashManifestController.ts
|
|
884
|
+
import { createSpyFactory as createSpyFactory12 } from "@amazon/vinyl-util/browserTestUtil";
|
|
885
|
+
import { data as data3 } from "@amazon/vinyl-observable";
|
|
886
|
+
|
|
887
|
+
// test/vinylTestUtil/mock/dash/mockDashManifest.ts
|
|
888
|
+
import { parseDashManifest } from "@amazon/vinyl-mpd-parser";
|
|
889
|
+
var mockDashManifest = parseDashManifest(
|
|
890
|
+
// language=XML
|
|
891
|
+
`<?xml version="1.0" ?>
|
|
892
|
+
<MPD profiles="" minBufferTime="PT0.0S" type="static" xmlns="urn:mpeg:dash:schema:mpd:2011">
|
|
893
|
+
<Period>
|
|
894
|
+
<AdaptationSet>
|
|
895
|
+
<Representation id="0" bandwidth="0"/>
|
|
896
|
+
</AdaptationSet>
|
|
897
|
+
</Period>
|
|
898
|
+
</MPD>`
|
|
899
|
+
);
|
|
900
|
+
|
|
901
|
+
// test/vinylTestUtil/mock/dash/MockDashManifestController.ts
|
|
902
|
+
var spyFactory11 = createSpyFactory12();
|
|
903
|
+
var MockDashManifestController = class {
|
|
904
|
+
constructor() {
|
|
905
|
+
__publicField(this, "_data", data3(
|
|
906
|
+
Promise.resolve({
|
|
907
|
+
manifest: mockDashManifest,
|
|
908
|
+
baseUrl: "https://example.com"
|
|
909
|
+
})
|
|
910
|
+
));
|
|
911
|
+
__publicField(this, "refresh", spyFactory11("refresh"));
|
|
912
|
+
__publicField(this, "reset", spyFactory11("reset"));
|
|
913
|
+
}
|
|
914
|
+
get value() {
|
|
915
|
+
return this._data.value;
|
|
916
|
+
}
|
|
917
|
+
get changeId() {
|
|
918
|
+
return this._data.changeId;
|
|
919
|
+
}
|
|
920
|
+
getValue() {
|
|
921
|
+
return this._data.getValue();
|
|
922
|
+
}
|
|
923
|
+
onData(callback) {
|
|
924
|
+
return this._data.onData(callback);
|
|
925
|
+
}
|
|
926
|
+
map(transform) {
|
|
927
|
+
return this._data.map(transform);
|
|
928
|
+
}
|
|
929
|
+
pick(prop) {
|
|
930
|
+
return this._data.pick(prop);
|
|
931
|
+
}
|
|
932
|
+
setManifest(manifest) {
|
|
933
|
+
this._data.value = manifest;
|
|
934
|
+
}
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
// test/vinylTestUtil/mock/track/dash/createMockDashDependencies.ts
|
|
938
|
+
import { createSpyFactory as createSpyFactory13 } from "@amazon/vinyl-util/browserTestUtil";
|
|
939
|
+
import { data as data4 } from "@amazon/vinyl-observable";
|
|
940
|
+
var createSpy2 = jasmine.createSpy;
|
|
941
|
+
var emptyTimeline2 = { periods: [], minBufferTime: 0 };
|
|
942
|
+
var spyFactory12 = createSpyFactory13();
|
|
943
|
+
function createMockDashDependencies() {
|
|
944
|
+
const playbackController = new MockPlaybackController();
|
|
945
|
+
playbackController.seekTo.and.resolveTo(void 0);
|
|
946
|
+
const manifestController = new MockDashManifestController();
|
|
947
|
+
return {
|
|
948
|
+
contentTypesValue: data4(Promise.resolve(/* @__PURE__ */ new Set())),
|
|
949
|
+
contentStreamFactory: spyFactory12("contentStreamFactory").and.callFake(
|
|
950
|
+
(contentType) => {
|
|
951
|
+
const stream = new MockContentStream();
|
|
952
|
+
stream.contentType = contentType;
|
|
953
|
+
return stream;
|
|
954
|
+
}
|
|
955
|
+
),
|
|
956
|
+
manifestController,
|
|
957
|
+
manifestTransformed: manifestController,
|
|
958
|
+
mediaTimeline: data4(Promise.resolve(emptyTimeline2)),
|
|
959
|
+
mediaTimelineTransformed: data4(Promise.resolve(emptyTimeline2)),
|
|
960
|
+
mediaSourceController: new MockMediaSourceController(),
|
|
961
|
+
playbackSource: new MockPlaybackSource(),
|
|
962
|
+
playbackController,
|
|
963
|
+
drmController: new MockDrmController(),
|
|
964
|
+
mediaQualityMetadataResolver: createSpy2().and.callFake(
|
|
965
|
+
() => createEmptyMediaQualityMetadata2()
|
|
966
|
+
)
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
// test/vinylTestUtil/mock/streaming/MockSegmentController.ts
|
|
971
|
+
import { createSpyFactory as createSpyFactory14 } from "@amazon/vinyl-util/browserTestUtil";
|
|
972
|
+
import { emptyRanges } from "@amazon/vinyl-util";
|
|
973
|
+
import { MockEventHost as MockEventHost8 } from "@amazon/vinyl-util/testUtil";
|
|
974
|
+
var spyFactory13 = createSpyFactory14();
|
|
975
|
+
var MockSegmentController = class extends MockEventHost8 {
|
|
976
|
+
constructor() {
|
|
977
|
+
super(...arguments);
|
|
978
|
+
__publicField(this, "error", null);
|
|
979
|
+
__publicField(this, "getDuration", spyFactory13("getDuration"));
|
|
980
|
+
__publicField(this, "configure", spyFactory13("configure"));
|
|
981
|
+
__publicField(this, "fetchedRanges", emptyRanges);
|
|
982
|
+
__publicField(this, "activate", spyFactory13("activate"));
|
|
983
|
+
__publicField(this, "clear", spyFactory13("clear"));
|
|
984
|
+
__publicField(this, "deactivate", spyFactory13("deactivate"));
|
|
985
|
+
__publicField(this, "getSegment", spyFactory13("getSegment"));
|
|
986
|
+
__publicField(this, "streamingQuality", null);
|
|
987
|
+
__publicField(this, "reset", spyFactory13("reset"));
|
|
988
|
+
}
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
// test/vinylTestUtil/mock/streaming/buffering/MockSourceBufferController.ts
|
|
992
|
+
import { createSpyFactory as createSpyFactory15 } from "@amazon/vinyl-util/browserTestUtil";
|
|
993
|
+
import { RangesImpl as RangesImpl4 } from "@amazon/vinyl-util";
|
|
994
|
+
var spyFactory14 = createSpyFactory15();
|
|
995
|
+
var MockSourceBufferController = class {
|
|
996
|
+
constructor() {
|
|
997
|
+
__publicField(this, "buffered", new RangesImpl4());
|
|
998
|
+
__publicField(this, "append", spyFactory14("append"));
|
|
999
|
+
__publicField(this, "appendInit", spyFactory14("appendInit"));
|
|
1000
|
+
__publicField(this, "clear", spyFactory14("clear"));
|
|
1001
|
+
__publicField(this, "enqueue", spyFactory14("enqueue"));
|
|
1002
|
+
__publicField(this, "isBusy", spyFactory14("isBusy"));
|
|
1003
|
+
__publicField(this, "remove", spyFactory14("remove"));
|
|
1004
|
+
__publicField(this, "setAppendWindow", spyFactory14("setAppendWindow"));
|
|
1005
|
+
__publicField(this, "setTimestampOffset", spyFactory14("setTimestampOffset"));
|
|
1006
|
+
__publicField(this, "dispose", spyFactory14("dispose"));
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
// test/vinylTestUtil/mock/streaming/buffering/MockBufferingController.ts
|
|
1011
|
+
import { createSpyFactory as createSpyFactory16 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1012
|
+
import { MockEventHost as MockEventHost9 } from "@amazon/vinyl-util/testUtil";
|
|
1013
|
+
var spyFactory15 = createSpyFactory16();
|
|
1014
|
+
var MockBufferingController = class extends MockEventHost9 {
|
|
1015
|
+
constructor() {
|
|
1016
|
+
super(...arguments);
|
|
1017
|
+
__publicField(this, "error", null);
|
|
1018
|
+
__publicField(this, "active", false);
|
|
1019
|
+
__publicField(this, "bufferingEnded", false);
|
|
1020
|
+
__publicField(this, "playbackQuality", null);
|
|
1021
|
+
__publicField(this, "bufferingQuality", null);
|
|
1022
|
+
__publicField(this, "activate", spyFactory15("activate"));
|
|
1023
|
+
__publicField(this, "deactivate", spyFactory15("deactivate"));
|
|
1024
|
+
__publicField(this, "clear", spyFactory15("clear"));
|
|
1025
|
+
__publicField(this, "reset", spyFactory15("reset"));
|
|
1026
|
+
}
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
// test/vinylTestUtil/mock/streaming/abr/MockQualitySelector.ts
|
|
1030
|
+
import { createSpyFactory as createSpyFactory17 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1031
|
+
var spyFactory16 = createSpyFactory17();
|
|
1032
|
+
var MockQualitySelector = class {
|
|
1033
|
+
constructor() {
|
|
1034
|
+
__publicField(this, "selectQuality", spyFactory16("selectQuality"));
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
// test/vinylTestUtil/mock/player/MockVinylPlayerDependencies.ts
|
|
1039
|
+
import {
|
|
1040
|
+
defaultVinylOptions
|
|
1041
|
+
} from "@amazon/vinyl";
|
|
1042
|
+
|
|
1043
|
+
// test/vinylTestUtil/mock/client/MockCapabilities.ts
|
|
1044
|
+
import { createSpyFactory as createSpyFactory18 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1045
|
+
var spyFactory17 = createSpyFactory18();
|
|
1046
|
+
var MockCapabilities = class {
|
|
1047
|
+
constructor() {
|
|
1048
|
+
__publicField(this, "sampleRate", null);
|
|
1049
|
+
__publicField(this, "dash", false);
|
|
1050
|
+
__publicField(this, "hls", false);
|
|
1051
|
+
__publicField(this, "mse", false);
|
|
1052
|
+
__publicField(this, "eme", false);
|
|
1053
|
+
__publicField(this, "canPlayType", spyFactory17("canPlayType"));
|
|
1054
|
+
__publicField(this, "canPlayTypeMse", spyFactory17("canPlayTypeMse"));
|
|
1055
|
+
__publicField(this, "supportsKeySystem", spyFactory17("supportsKeySystem"));
|
|
1056
|
+
}
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
// test/vinylTestUtil/mock/player/MockVinylPlayerDependencies.ts
|
|
1060
|
+
import { externalDependencies } from "@amazon/vinyl-di";
|
|
1061
|
+
import { noop as noop3 } from "@amazon/vinyl-util";
|
|
1062
|
+
import { data as data5 } from "@amazon/vinyl-observable";
|
|
1063
|
+
var createSpy3 = jasmine.createSpy;
|
|
1064
|
+
function createMockVinylDependencies() {
|
|
1065
|
+
return {
|
|
1066
|
+
options: data5(defaultVinylOptions),
|
|
1067
|
+
trackController: new MockTrackController(),
|
|
1068
|
+
playbackSource: new MockPlaybackSource(),
|
|
1069
|
+
playbackController: new MockPlaybackController(),
|
|
1070
|
+
capabilities: new MockCapabilities(),
|
|
1071
|
+
drmController: new MockDrmController(),
|
|
1072
|
+
createDashFactories: (_loadOptions) => externalDependencies(createMockDashDependencies()),
|
|
1073
|
+
createHlsFactories: (_loadOptions) => externalDependencies(createMockDashDependencies()),
|
|
1074
|
+
autoResetController: new MockAutoResetController(),
|
|
1075
|
+
requestInterceptor: noop3,
|
|
1076
|
+
drmKeySystemResolver: createSpy3(
|
|
1077
|
+
"drmKeySystemResolver"
|
|
1078
|
+
).and.returnValue([])
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
// test/vinylTestUtil/mock/playback/MockLoudnessNormalizationController.ts
|
|
1083
|
+
import { createSpyFactory as createSpyFactory19 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1084
|
+
import { MockEventHost as MockEventHost10 } from "@amazon/vinyl-util/testUtil";
|
|
1085
|
+
var spyFactory18 = createSpyFactory19();
|
|
1086
|
+
var MockLoudnessNormalizationController = class extends MockEventHost10 {
|
|
1087
|
+
constructor() {
|
|
1088
|
+
super(...arguments);
|
|
1089
|
+
__publicField(this, "gain", 1);
|
|
1090
|
+
__publicField(this, "setTrackLoudness", spyFactory18("setTrackLoudness"));
|
|
1091
|
+
__publicField(this, "clear", spyFactory18("clear"));
|
|
1092
|
+
}
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
// test/vinylTestUtil/mock/logging/MockHistoryLogHandler.ts
|
|
1096
|
+
import { LogLevel } from "@amazon/vinyl-util";
|
|
1097
|
+
import { createSpyFactory as createSpyFactory20 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1098
|
+
var spyFactory19 = createSpyFactory20();
|
|
1099
|
+
var MockHistoryLogHandler = class {
|
|
1100
|
+
constructor() {
|
|
1101
|
+
__publicField(this, "logLevel", LogLevel.DEBUG);
|
|
1102
|
+
__publicField(this, "maxHistorySize", 0);
|
|
1103
|
+
__publicField(this, "history", []);
|
|
1104
|
+
__publicField(this, "clear", spyFactory19("clear"));
|
|
1105
|
+
}
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
// test/vinylTestUtil/mock/drm/MockCommonMediaKeys.ts
|
|
1109
|
+
import { DrmKeySystem } from "@amazon/vinyl";
|
|
1110
|
+
import { createSpyFactory as createSpyFactory21 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1111
|
+
var spyFactory20 = createSpyFactory21();
|
|
1112
|
+
var MockCommonMediaKeys = class {
|
|
1113
|
+
constructor() {
|
|
1114
|
+
__publicField(this, "keySystem", DrmKeySystem.CLEAR_KEY);
|
|
1115
|
+
__publicField(this, "clearFromElement", spyFactory20("clearFromElement"));
|
|
1116
|
+
__publicField(this, "createSession", spyFactory20("createSession"));
|
|
1117
|
+
__publicField(this, "setOnElement", spyFactory20("setOnElement"));
|
|
1118
|
+
__publicField(this, "setServerCertificate", spyFactory20("setServerCertificate"));
|
|
1119
|
+
}
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
// test/vinylTestUtil/mock/drm/MockCommonMediaKeySystemAccess.ts
|
|
1123
|
+
import { createSpyFactory as createSpyFactory22 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1124
|
+
var spyFactory21 = createSpyFactory22();
|
|
1125
|
+
var MockCommonMediaKeySystemAccess = class {
|
|
1126
|
+
constructor(keySystem) {
|
|
1127
|
+
this.keySystem = keySystem;
|
|
1128
|
+
__publicField(this, "createMediaKeys", spyFactory21("createMediaKeys"));
|
|
1129
|
+
}
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
// test/vinylTestUtil/mock/drm/MockCommonMediaKeySession.ts
|
|
1133
|
+
import { createSpyFactory as createSpyFactory23 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1134
|
+
import { MockEventHost as MockEventHost11 } from "@amazon/vinyl-util/testUtil";
|
|
1135
|
+
var spyFactory22 = createSpyFactory23();
|
|
1136
|
+
var MockCommonMediaKeySession = class extends MockEventHost11 {
|
|
1137
|
+
constructor() {
|
|
1138
|
+
super(...arguments);
|
|
1139
|
+
__publicField(this, "initData", new ArrayBuffer(0));
|
|
1140
|
+
__publicField(this, "initDataType", "cenc");
|
|
1141
|
+
__publicField(this, "mimeType", "");
|
|
1142
|
+
__publicField(this, "disposed", false);
|
|
1143
|
+
__publicField(this, "update", spyFactory22("update"));
|
|
1144
|
+
}
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
// test/vinylTestUtil/mock/drm/MockCommonEme.ts
|
|
1148
|
+
import { createSpyFactory as createSpyFactory24 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1149
|
+
var spyFactory23 = createSpyFactory24();
|
|
1150
|
+
var MockCommonEme = class {
|
|
1151
|
+
constructor() {
|
|
1152
|
+
__publicField(this, "requestMediaKeySystemAccess", spyFactory23("requestMediaKeySystemAccess"));
|
|
1153
|
+
__publicField(this, "addEncryptedListener", spyFactory23("addEncryptedListener"));
|
|
1154
|
+
}
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
// test/vinylTestUtil/mock/dom/webkit/useWebKitMediaKeys.ts
|
|
1158
|
+
import { overrideGlobalInit } from "@amazon/vinyl-util/testUtil";
|
|
1159
|
+
import { mediaKeySupportRef } from "@amazon/vinyl";
|
|
1160
|
+
function useWebKitMediaKeys(present) {
|
|
1161
|
+
overrideGlobalInit(mediaKeySupportRef, () => {
|
|
1162
|
+
return {
|
|
1163
|
+
webkitEme: present,
|
|
1164
|
+
standardEme: false,
|
|
1165
|
+
msEme: false
|
|
1166
|
+
};
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
// test/vinylTestUtil/mock/dom/webkit/MockWebKitMediaKeys.ts
|
|
1171
|
+
import { createSpyFactory as createSpyFactory25 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1172
|
+
var spyFactory24 = createSpyFactory25();
|
|
1173
|
+
var MockWebKitMediaKeys = class {
|
|
1174
|
+
constructor(keySystem) {
|
|
1175
|
+
this.keySystem = keySystem;
|
|
1176
|
+
__publicField(this, "createSession", spyFactory24("createSession"));
|
|
1177
|
+
}
|
|
1178
|
+
};
|
|
1179
|
+
__publicField(MockWebKitMediaKeys, "isTypeSupported", spyFactory24("isTypeSupported"));
|
|
1180
|
+
|
|
1181
|
+
// test/vinylTestUtil/mock/dom/webkit/MockWebKitMediaKeySession.ts
|
|
1182
|
+
import {
|
|
1183
|
+
MockEventTarget,
|
|
1184
|
+
createSpyFactory as createSpyFactory26
|
|
1185
|
+
} from "@amazon/vinyl-util/browserTestUtil";
|
|
1186
|
+
var spyFactory25 = createSpyFactory26();
|
|
1187
|
+
var MockWebKitMediaKeySession = class extends MockEventTarget {
|
|
1188
|
+
constructor() {
|
|
1189
|
+
super(...arguments);
|
|
1190
|
+
__publicField(this, "error", null);
|
|
1191
|
+
__publicField(this, "keySystem", "");
|
|
1192
|
+
__publicField(this, "onwebkitkeyadded", null);
|
|
1193
|
+
__publicField(this, "onwebkitkeyerror", null);
|
|
1194
|
+
__publicField(this, "onwebkitkeymessage", null);
|
|
1195
|
+
__publicField(this, "sessionId", "");
|
|
1196
|
+
__publicField(this, "close", spyFactory25("close"));
|
|
1197
|
+
__publicField(this, "update", spyFactory25("update"));
|
|
1198
|
+
__publicField(this, "addEventListener", spyFactory25("addEventListener"));
|
|
1199
|
+
__publicField(this, "dispatchEvent", spyFactory25("dispatchEvent"));
|
|
1200
|
+
__publicField(this, "removeEventListener", spyFactory25("removeEventListener"));
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
// test/vinylTestUtil/mock/dom/webkit/MockWebKitMediaKeyMessageEvent.ts
|
|
1205
|
+
import { MockEvent } from "@amazon/vinyl-util/browserTestUtil";
|
|
1206
|
+
var MockWebKitMediaKeyMessageEvent = class extends MockEvent {
|
|
1207
|
+
constructor() {
|
|
1208
|
+
super();
|
|
1209
|
+
__publicField(this, "message", new Uint8Array(0));
|
|
1210
|
+
this.type = "webkitkeymessage";
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
// test/vinylTestUtil/mock/dom/webkit/MockWebKitMediaKeyError.ts
|
|
1215
|
+
import { MockEvent as MockEvent2 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1216
|
+
var MockWebKitMediaKeyError = class extends MockEvent2 {
|
|
1217
|
+
constructor() {
|
|
1218
|
+
super();
|
|
1219
|
+
__publicField(this, "code", 0);
|
|
1220
|
+
__publicField(this, "systemCode", 0);
|
|
1221
|
+
this.type = "webkitkeyerror";
|
|
1222
|
+
}
|
|
1223
|
+
};
|
|
1224
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_UNKNOWN", 1);
|
|
1225
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_CLIENT", 2);
|
|
1226
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_SERVICE", 3);
|
|
1227
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_OUTPUT", 4);
|
|
1228
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_HARDWARECHANGE", 5);
|
|
1229
|
+
__publicField(MockWebKitMediaKeyError, "MEDIA_KEYERR_DOMAIN", 6);
|
|
1230
|
+
|
|
1231
|
+
// test/vinylTestUtil/mock/dom/ms/MockMSMediaKeys.ts
|
|
1232
|
+
import { createSpyFactory as createSpyFactory27 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1233
|
+
var spyFactory26 = createSpyFactory27();
|
|
1234
|
+
var MockMSMediaKeys = class {
|
|
1235
|
+
constructor(keySystem) {
|
|
1236
|
+
this.keySystem = keySystem;
|
|
1237
|
+
__publicField(this, "createSession", spyFactory26("createSession"));
|
|
1238
|
+
}
|
|
1239
|
+
};
|
|
1240
|
+
__publicField(MockMSMediaKeys, "isTypeSupported", spyFactory26("isTypeSupported"));
|
|
1241
|
+
|
|
1242
|
+
// test/vinylTestUtil/mock/dom/ms/MockMSMediaKeySession.ts
|
|
1243
|
+
import {
|
|
1244
|
+
createSpyFactory as createSpyFactory28,
|
|
1245
|
+
MockEventTarget as MockEventTarget2
|
|
1246
|
+
} from "@amazon/vinyl-util/browserTestUtil";
|
|
1247
|
+
var spyFactory27 = createSpyFactory28();
|
|
1248
|
+
var MockMSMediaKeySession = class extends MockEventTarget2 {
|
|
1249
|
+
constructor() {
|
|
1250
|
+
super(...arguments);
|
|
1251
|
+
__publicField(this, "error", null);
|
|
1252
|
+
__publicField(this, "keySystem", "");
|
|
1253
|
+
__publicField(this, "onmskeyadded", null);
|
|
1254
|
+
__publicField(this, "onmskeyerror", null);
|
|
1255
|
+
__publicField(this, "onmskeymessage", null);
|
|
1256
|
+
__publicField(this, "sessionId", "");
|
|
1257
|
+
__publicField(this, "close", spyFactory27("close"));
|
|
1258
|
+
__publicField(this, "update", spyFactory27("update"));
|
|
1259
|
+
__publicField(this, "addEventListener", spyFactory27("addEventListener"));
|
|
1260
|
+
__publicField(this, "dispatchEvent", spyFactory27("dispatchEvent"));
|
|
1261
|
+
__publicField(this, "removeEventListener", spyFactory27("removeEventListener"));
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
// test/vinylTestUtil/mock/dom/ms/MockMSMediaKeyMessageEvent.ts
|
|
1266
|
+
import { MockEvent as MockEvent3 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1267
|
+
var MockMSMediaKeyMessageEvent = class extends MockEvent3 {
|
|
1268
|
+
constructor() {
|
|
1269
|
+
super();
|
|
1270
|
+
__publicField(this, "message", new Uint8Array(0));
|
|
1271
|
+
this.type = "mskeymessage";
|
|
1272
|
+
}
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
// test/vinylTestUtil/mock/dom/ms/MockMSMediaKeyError.ts
|
|
1276
|
+
import { MockEvent as MockEvent4 } from "@amazon/vinyl-util/browserTestUtil";
|
|
1277
|
+
var MockMSMediaKeyError = class extends MockEvent4 {
|
|
1278
|
+
constructor() {
|
|
1279
|
+
super();
|
|
1280
|
+
__publicField(this, "code", 0);
|
|
1281
|
+
__publicField(this, "systemCode", 0);
|
|
1282
|
+
this.type = "mskeyerror";
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1285
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_CLIENT", 1);
|
|
1286
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_DOMAIN", 2);
|
|
1287
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_HARDWARECHANGE", 3);
|
|
1288
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_OUTPUT", 4);
|
|
1289
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_SERVICE", 5);
|
|
1290
|
+
__publicField(MockMSMediaKeyError, "MS_MEDIA_KEYERR_UNKNOWN", 6);
|
|
1291
|
+
|
|
1292
|
+
// test/vinylTestUtil/mock/client/MockClient.ts
|
|
1293
|
+
var MockClient = class {
|
|
1294
|
+
constructor() {
|
|
1295
|
+
__publicField(this, "capabilities", new MockCapabilities());
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
// test/vinylTestUtil/mediaSource/ControlledMediaSource.ts
|
|
1300
|
+
import { createMediaSource, isTypeSupported } from "@amazon/vinyl";
|
|
1301
|
+
import {
|
|
1302
|
+
IllegalStateError as IllegalStateError2,
|
|
1303
|
+
requestWithRetry,
|
|
1304
|
+
substitute
|
|
1305
|
+
} from "@amazon/vinyl-util";
|
|
1306
|
+
var mimeCodec = 'audio/mp4;codecs="mp4a.40.5"';
|
|
1307
|
+
var ControlledMediaSource = class {
|
|
1308
|
+
constructor(sourceAsset = vinylTestAssets.segmentedStreaming.aac_60s_2ch_16bit_44100Hz_48kbps) {
|
|
1309
|
+
this.sourceAsset = sourceAsset;
|
|
1310
|
+
__publicField(this, "length");
|
|
1311
|
+
__publicField(this, "_currentIndex", 0);
|
|
1312
|
+
__publicField(this, "mediaSource", createMediaSource());
|
|
1313
|
+
__publicField(this, "sourceBufferPromise");
|
|
1314
|
+
__publicField(this, "segments", null);
|
|
1315
|
+
this.length = sourceAsset.numSegments + 1;
|
|
1316
|
+
if (isTypeSupported(mimeCodec)) {
|
|
1317
|
+
this.sourceBufferPromise = new Promise((resolve) => {
|
|
1318
|
+
this.mediaSource.addEventListener(
|
|
1319
|
+
"sourceopen",
|
|
1320
|
+
() => {
|
|
1321
|
+
this.mediaSource.duration = sourceAsset.duration;
|
|
1322
|
+
const sourceBuffer = this.mediaSource.addSourceBuffer(mimeCodec);
|
|
1323
|
+
resolve(sourceBuffer);
|
|
1324
|
+
},
|
|
1325
|
+
{ once: true }
|
|
1326
|
+
);
|
|
1327
|
+
});
|
|
1328
|
+
} else {
|
|
1329
|
+
throw new Error(`Unsupported MIME type or codec: ${mimeCodec}`);
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
/**
|
|
1333
|
+
* Gets the data for all segments.
|
|
1334
|
+
* All data is preloaded in order to have reproducible test conditions.
|
|
1335
|
+
*/
|
|
1336
|
+
async getSegments() {
|
|
1337
|
+
const segments = new Array(this.length);
|
|
1338
|
+
const initResponse = await requestWithRetry(this.sourceAsset.init);
|
|
1339
|
+
segments[0] = await initResponse.arrayBuffer();
|
|
1340
|
+
for (let i = 1; i <= this.sourceAsset.numSegments; i++) {
|
|
1341
|
+
const mediaResponse = await requestWithRetry(
|
|
1342
|
+
substitute(this.sourceAsset.part, { index: i })
|
|
1343
|
+
);
|
|
1344
|
+
segments[i] = await mediaResponse.arrayBuffer();
|
|
1345
|
+
}
|
|
1346
|
+
return segments;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* Gets the media source.
|
|
1350
|
+
* This promise resolves when all assets are ready.
|
|
1351
|
+
* Note: in Firefox, you must set this object url on the element immediately. Creating the
|
|
1352
|
+
* URL and setting it later can cause errors.
|
|
1353
|
+
*/
|
|
1354
|
+
async getMediaSource() {
|
|
1355
|
+
this.segments = await this.getSegments();
|
|
1356
|
+
return this.mediaSource;
|
|
1357
|
+
}
|
|
1358
|
+
async appendNext() {
|
|
1359
|
+
if (!this.segments)
|
|
1360
|
+
throw new IllegalStateError2("cannot append before getMediaSource");
|
|
1361
|
+
const sourceBuffer = await this.sourceBufferPromise;
|
|
1362
|
+
if (this._currentIndex >= this.length)
|
|
1363
|
+
throw new Error(`Only ${this.length} segments`);
|
|
1364
|
+
const buff = this.segments[this._currentIndex++];
|
|
1365
|
+
await onSourceBufferReady(sourceBuffer);
|
|
1366
|
+
const updateEnd = onUpdateEnd(sourceBuffer);
|
|
1367
|
+
sourceBuffer.appendBuffer(buff);
|
|
1368
|
+
await updateEnd;
|
|
1369
|
+
if (this._currentIndex === this.length) {
|
|
1370
|
+
this.mediaSource.endOfStream();
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
};
|
|
1374
|
+
async function onSourceBufferReady(sourceBuffer) {
|
|
1375
|
+
if (!sourceBuffer.updating) return;
|
|
1376
|
+
await onUpdateEnd(sourceBuffer);
|
|
1377
|
+
return onSourceBufferReady(sourceBuffer);
|
|
1378
|
+
}
|
|
1379
|
+
function onUpdateEnd(sourceBuffer) {
|
|
1380
|
+
return new Promise((resolve) => {
|
|
1381
|
+
sourceBuffer.addEventListener(
|
|
1382
|
+
"updateend",
|
|
1383
|
+
() => {
|
|
1384
|
+
resolve(void 0);
|
|
1385
|
+
},
|
|
1386
|
+
{ once: true }
|
|
1387
|
+
);
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
// test/vinylTestUtil/assets/dash_segmentListMediaRange.ts
|
|
1392
|
+
var dash_segmentListMediaRange = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
1393
|
+
<MPD minBufferTime="PT2S" type="static" mediaPresentationDuration="PT400.0133056640625S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:amz-music="urn:amazon:music:drm:2019" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
|
|
1394
|
+
<Period id="0">
|
|
1395
|
+
<AdaptationSet id="1" contentType="audio" selectionPriority="2000">
|
|
1396
|
+
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="53443d2c-a548-037d-dfca-b6873a3b16a7" value="cenc"/>
|
|
1397
|
+
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
|
|
1398
|
+
<cenc:pssh>AAAAXXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAD0SEFNEPSylSAN938q2hzo7FqcaC0FtYXpvbk11c2ljIhxjaWQ6VTBROUxLVklBMzNmeXJhSE9qc1dwdz09</cenc:pssh>
|
|
1399
|
+
</ContentProtection>
|
|
1400
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:ProgramLoudness" value="-13.5 LUFS"/>
|
|
1401
|
+
<SupplementalProperty schemeIdUri="amz-music:trackType" value="HD"/>
|
|
1402
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="2"/>
|
|
1403
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:AnchorLoudness" value="-11.7 LUFS"/>
|
|
1404
|
+
<Representation id="1" qualityRanking="4" codecs="flac" audioSamplingRate="44100" bandwidth="1021104" mimeType="audio/mp4">
|
|
1405
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1406
|
+
<SupplementalProperty schemeIdUri="amz-music:bitDepth" value="16"/>
|
|
1407
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/a3ce7553-e9a3-3ca6-8fda-8f354b8cee0f.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=HD_44&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1408
|
+
<SegmentList timescale="44100" duration="441000">
|
|
1409
|
+
<Initialization range="0-1067"/>
|
|
1410
|
+
<SegmentURL mediaRange="1580-1124387"/>
|
|
1411
|
+
<SegmentURL mediaRange="1124388-2301681"/>
|
|
1412
|
+
<SegmentURL mediaRange="2301682-3413884"/>
|
|
1413
|
+
<SegmentURL mediaRange="3413885-4563668"/>
|
|
1414
|
+
<SegmentURL mediaRange="4563669-5789595"/>
|
|
1415
|
+
<SegmentURL mediaRange="5789596-7027203"/>
|
|
1416
|
+
<SegmentURL mediaRange="7027204-8258589"/>
|
|
1417
|
+
<SegmentURL mediaRange="8258590-9476689"/>
|
|
1418
|
+
<SegmentURL mediaRange="9476690-10663879"/>
|
|
1419
|
+
<SegmentURL mediaRange="10663880-11801656"/>
|
|
1420
|
+
<SegmentURL mediaRange="11801657-13028295"/>
|
|
1421
|
+
<SegmentURL mediaRange="13028296-14259035"/>
|
|
1422
|
+
<SegmentURL mediaRange="14259036-15501034"/>
|
|
1423
|
+
<SegmentURL mediaRange="15501035-16715074"/>
|
|
1424
|
+
<SegmentURL mediaRange="16715075-17945696"/>
|
|
1425
|
+
<SegmentURL mediaRange="17945697-19181760"/>
|
|
1426
|
+
<SegmentURL mediaRange="19181761-20430664"/>
|
|
1427
|
+
<SegmentURL mediaRange="20430665-21668186"/>
|
|
1428
|
+
<SegmentURL mediaRange="21668187-22889588"/>
|
|
1429
|
+
<SegmentURL mediaRange="22889589-24105876"/>
|
|
1430
|
+
<SegmentURL mediaRange="24105877-25286931"/>
|
|
1431
|
+
<SegmentURL mediaRange="25286932-26474293"/>
|
|
1432
|
+
<SegmentURL mediaRange="26474294-27717336"/>
|
|
1433
|
+
<SegmentURL mediaRange="27717337-28944000"/>
|
|
1434
|
+
<SegmentURL mediaRange="28944001-30217943"/>
|
|
1435
|
+
<SegmentURL mediaRange="30217944-31494322"/>
|
|
1436
|
+
<SegmentURL mediaRange="31494323-32753722"/>
|
|
1437
|
+
<SegmentURL mediaRange="32753723-33819438"/>
|
|
1438
|
+
<SegmentURL mediaRange="33819439-34871800"/>
|
|
1439
|
+
<SegmentURL mediaRange="34871801-35987451"/>
|
|
1440
|
+
<SegmentURL mediaRange="35987452-37198633"/>
|
|
1441
|
+
<SegmentURL mediaRange="37198634-38400513"/>
|
|
1442
|
+
<SegmentURL mediaRange="38400514-39590378"/>
|
|
1443
|
+
<SegmentURL mediaRange="39590379-40775418"/>
|
|
1444
|
+
<SegmentURL mediaRange="40775419-42023162"/>
|
|
1445
|
+
<SegmentURL mediaRange="42023163-43262782"/>
|
|
1446
|
+
<SegmentURL mediaRange="43262783-44466388"/>
|
|
1447
|
+
<SegmentURL mediaRange="44466389-45664349"/>
|
|
1448
|
+
<SegmentURL mediaRange="45664350-46838625"/>
|
|
1449
|
+
<SegmentURL mediaRange="46838626-47421889"/>
|
|
1450
|
+
</SegmentList>
|
|
1451
|
+
</Representation>
|
|
1452
|
+
<Representation id="2" qualityRanking="3" codecs="flac" audioSamplingRate="48000" bandwidth="1855801" mimeType="audio/mp4">
|
|
1453
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1454
|
+
<SupplementalProperty schemeIdUri="amz-music:bitDepth" value="24"/>
|
|
1455
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/f5b706c9-5892-3a17-9d01-4da362cfad35.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=UHD_48&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1456
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1457
|
+
<Initialization range="0-1067"/>
|
|
1458
|
+
<SegmentURL mediaRange="1580-2140301"/>
|
|
1459
|
+
<SegmentURL mediaRange="2140302-4352961"/>
|
|
1460
|
+
<SegmentURL mediaRange="4352962-6499834"/>
|
|
1461
|
+
<SegmentURL mediaRange="6499835-8687556"/>
|
|
1462
|
+
<SegmentURL mediaRange="8687557-10955471"/>
|
|
1463
|
+
<SegmentURL mediaRange="10955472-13235819"/>
|
|
1464
|
+
<SegmentURL mediaRange="13235820-15509496"/>
|
|
1465
|
+
<SegmentURL mediaRange="15509497-17768731"/>
|
|
1466
|
+
<SegmentURL mediaRange="17768732-19993372"/>
|
|
1467
|
+
<SegmentURL mediaRange="19993373-22167125"/>
|
|
1468
|
+
<SegmentURL mediaRange="22167126-24434254"/>
|
|
1469
|
+
<SegmentURL mediaRange="24434255-26706557"/>
|
|
1470
|
+
<SegmentURL mediaRange="26706558-28990196"/>
|
|
1471
|
+
<SegmentURL mediaRange="28990197-31245239"/>
|
|
1472
|
+
<SegmentURL mediaRange="31245240-33516976"/>
|
|
1473
|
+
<SegmentURL mediaRange="33516977-35793411"/>
|
|
1474
|
+
<SegmentURL mediaRange="35793412-38083225"/>
|
|
1475
|
+
<SegmentURL mediaRange="38083226-40361780"/>
|
|
1476
|
+
<SegmentURL mediaRange="40361781-42623154"/>
|
|
1477
|
+
<SegmentURL mediaRange="42623155-44879987"/>
|
|
1478
|
+
<SegmentURL mediaRange="44879988-47098315"/>
|
|
1479
|
+
<SegmentURL mediaRange="47098316-49322904"/>
|
|
1480
|
+
<SegmentURL mediaRange="49322905-51607367"/>
|
|
1481
|
+
<SegmentURL mediaRange="51607368-53874862"/>
|
|
1482
|
+
<SegmentURL mediaRange="53874863-56192866"/>
|
|
1483
|
+
<SegmentURL mediaRange="56192867-58512617"/>
|
|
1484
|
+
<SegmentURL mediaRange="58512618-60815181"/>
|
|
1485
|
+
<SegmentURL mediaRange="60815182-62914181"/>
|
|
1486
|
+
<SegmentURL mediaRange="62914182-65000611"/>
|
|
1487
|
+
<SegmentURL mediaRange="65000612-67150839"/>
|
|
1488
|
+
<SegmentURL mediaRange="67150840-69402495"/>
|
|
1489
|
+
<SegmentURL mediaRange="69402496-71643660"/>
|
|
1490
|
+
<SegmentURL mediaRange="71643661-73870974"/>
|
|
1491
|
+
<SegmentURL mediaRange="73870975-76093618"/>
|
|
1492
|
+
<SegmentURL mediaRange="76093619-78383457"/>
|
|
1493
|
+
<SegmentURL mediaRange="78383458-80665083"/>
|
|
1494
|
+
<SegmentURL mediaRange="80665084-82909593"/>
|
|
1495
|
+
<SegmentURL mediaRange="82909594-85145972"/>
|
|
1496
|
+
<SegmentURL mediaRange="85145973-87356513"/>
|
|
1497
|
+
<SegmentURL mediaRange="87356514-88804457"/>
|
|
1498
|
+
</SegmentList>
|
|
1499
|
+
</Representation>
|
|
1500
|
+
<Representation id="3" qualityRanking="2" codecs="flac" audioSamplingRate="96000" bandwidth="3278164" mimeType="audio/mp4">
|
|
1501
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1502
|
+
<SupplementalProperty schemeIdUri="amz-music:bitDepth" value="24"/>
|
|
1503
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/02b134c4-8144-3ab1-b125-5af2d0133d5b.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=UHD_96&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1504
|
+
<SegmentList timescale="96000" duration="960000">
|
|
1505
|
+
<Initialization range="0-1067"/>
|
|
1506
|
+
<SegmentURL mediaRange="1580-3813567"/>
|
|
1507
|
+
<SegmentURL mediaRange="3813568-7746339"/>
|
|
1508
|
+
<SegmentURL mediaRange="7746340-11599579"/>
|
|
1509
|
+
<SegmentURL mediaRange="11599580-15505023"/>
|
|
1510
|
+
<SegmentURL mediaRange="15505024-19519493"/>
|
|
1511
|
+
<SegmentURL mediaRange="19519494-23556777"/>
|
|
1512
|
+
<SegmentURL mediaRange="23556778-27581158"/>
|
|
1513
|
+
<SegmentURL mediaRange="27581159-31586807"/>
|
|
1514
|
+
<SegmentURL mediaRange="31586808-35549718"/>
|
|
1515
|
+
<SegmentURL mediaRange="35549719-39435585"/>
|
|
1516
|
+
<SegmentURL mediaRange="39435586-43443650"/>
|
|
1517
|
+
<SegmentURL mediaRange="43443651-47467685"/>
|
|
1518
|
+
<SegmentURL mediaRange="47467686-51498910"/>
|
|
1519
|
+
<SegmentURL mediaRange="51498911-55496614"/>
|
|
1520
|
+
<SegmentURL mediaRange="55496615-59513566"/>
|
|
1521
|
+
<SegmentURL mediaRange="59513567-63538385"/>
|
|
1522
|
+
<SegmentURL mediaRange="63538386-67582593"/>
|
|
1523
|
+
<SegmentURL mediaRange="67582594-71608871"/>
|
|
1524
|
+
<SegmentURL mediaRange="71608872-75612860"/>
|
|
1525
|
+
<SegmentURL mediaRange="75612861-79601033"/>
|
|
1526
|
+
<SegmentURL mediaRange="79601034-83549776"/>
|
|
1527
|
+
<SegmentURL mediaRange="83549777-87488907"/>
|
|
1528
|
+
<SegmentURL mediaRange="87488908-91534801"/>
|
|
1529
|
+
<SegmentURL mediaRange="91534802-95552040"/>
|
|
1530
|
+
<SegmentURL mediaRange="95552041-99649744"/>
|
|
1531
|
+
<SegmentURL mediaRange="99649745-103743373"/>
|
|
1532
|
+
<SegmentURL mediaRange="103743374-107815594"/>
|
|
1533
|
+
<SegmentURL mediaRange="107815595-111613915"/>
|
|
1534
|
+
<SegmentURL mediaRange="111613916-115390443"/>
|
|
1535
|
+
<SegmentURL mediaRange="115390444-119249732"/>
|
|
1536
|
+
<SegmentURL mediaRange="119249733-123233807"/>
|
|
1537
|
+
<SegmentURL mediaRange="123233808-127209398"/>
|
|
1538
|
+
<SegmentURL mediaRange="127209399-131167116"/>
|
|
1539
|
+
<SegmentURL mediaRange="131167117-135119879"/>
|
|
1540
|
+
<SegmentURL mediaRange="135119880-139163685"/>
|
|
1541
|
+
<SegmentURL mediaRange="139163686-143201079"/>
|
|
1542
|
+
<SegmentURL mediaRange="143201080-147195194"/>
|
|
1543
|
+
<SegmentURL mediaRange="147195195-151164220"/>
|
|
1544
|
+
<SegmentURL mediaRange="151164221-155096800"/>
|
|
1545
|
+
<SegmentURL mediaRange="155096801-157757393"/>
|
|
1546
|
+
</SegmentList>
|
|
1547
|
+
</Representation>
|
|
1548
|
+
<Representation id="4" qualityRanking="1" codecs="flac" audioSamplingRate="192000" bandwidth="5666448" mimeType="audio/mp4">
|
|
1549
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1550
|
+
<SupplementalProperty schemeIdUri="amz-music:bitDepth" value="24"/>
|
|
1551
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/edf9f9cb-46ce-33bd-96e1-8456547fbef4.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=UHD_192&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1552
|
+
<SegmentList timescale="192000" duration="1920000">
|
|
1553
|
+
<Initialization range="0-1067"/>
|
|
1554
|
+
<SegmentURL mediaRange="1580-6720450"/>
|
|
1555
|
+
<SegmentURL mediaRange="6720451-13610816"/>
|
|
1556
|
+
<SegmentURL mediaRange="13610817-20415282"/>
|
|
1557
|
+
<SegmentURL mediaRange="20415283-27272412"/>
|
|
1558
|
+
<SegmentURL mediaRange="27272413-34250251"/>
|
|
1559
|
+
<SegmentURL mediaRange="34250252-41260291"/>
|
|
1560
|
+
<SegmentURL mediaRange="41260292-48255248"/>
|
|
1561
|
+
<SegmentURL mediaRange="48255249-55224355"/>
|
|
1562
|
+
<SegmentURL mediaRange="55224356-62157463"/>
|
|
1563
|
+
<SegmentURL mediaRange="62157464-68996670"/>
|
|
1564
|
+
<SegmentURL mediaRange="68996671-75970335"/>
|
|
1565
|
+
<SegmentURL mediaRange="75970336-82964531"/>
|
|
1566
|
+
<SegmentURL mediaRange="82964532-89965755"/>
|
|
1567
|
+
<SegmentURL mediaRange="89965756-96928368"/>
|
|
1568
|
+
<SegmentURL mediaRange="96928369-103911265"/>
|
|
1569
|
+
<SegmentURL mediaRange="103911266-110903999"/>
|
|
1570
|
+
<SegmentURL mediaRange="110904000-117921608"/>
|
|
1571
|
+
<SegmentURL mediaRange="117921609-124920837"/>
|
|
1572
|
+
<SegmentURL mediaRange="124920838-131897214"/>
|
|
1573
|
+
<SegmentURL mediaRange="131897215-138848614"/>
|
|
1574
|
+
<SegmentURL mediaRange="138848615-145764349"/>
|
|
1575
|
+
<SegmentURL mediaRange="145764350-152655256"/>
|
|
1576
|
+
<SegmentURL mediaRange="152655257-159680382"/>
|
|
1577
|
+
<SegmentURL mediaRange="159680383-166667521"/>
|
|
1578
|
+
<SegmentURL mediaRange="166667522-173750581"/>
|
|
1579
|
+
<SegmentURL mediaRange="173750582-180827932"/>
|
|
1580
|
+
<SegmentURL mediaRange="180827933-187877145"/>
|
|
1581
|
+
<SegmentURL mediaRange="187877146-194626820"/>
|
|
1582
|
+
<SegmentURL mediaRange="194626821-201345524"/>
|
|
1583
|
+
<SegmentURL mediaRange="201345525-208145573"/>
|
|
1584
|
+
<SegmentURL mediaRange="208145574-215088653"/>
|
|
1585
|
+
<SegmentURL mediaRange="215088654-222022478"/>
|
|
1586
|
+
<SegmentURL mediaRange="222022479-228934595"/>
|
|
1587
|
+
<SegmentURL mediaRange="228934596-235844464"/>
|
|
1588
|
+
<SegmentURL mediaRange="235844465-242852767"/>
|
|
1589
|
+
<SegmentURL mediaRange="242852768-249863893"/>
|
|
1590
|
+
<SegmentURL mediaRange="249863894-256824103"/>
|
|
1591
|
+
<SegmentURL mediaRange="256824104-263749124"/>
|
|
1592
|
+
<SegmentURL mediaRange="263749125-270634182"/>
|
|
1593
|
+
<SegmentURL mediaRange="270634183-275673081"/>
|
|
1594
|
+
</SegmentList>
|
|
1595
|
+
</Representation>
|
|
1596
|
+
</AdaptationSet>
|
|
1597
|
+
<AdaptationSet id="2" contentType="audio" selectionPriority="1000">
|
|
1598
|
+
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="f65d52c1-4de5-e5b6-7296-2f48eddf7378" value="cenc"/>
|
|
1599
|
+
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
|
|
1600
|
+
<cenc:pssh>AAAAXXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAD0SEPZdUsFN5eW2cpYvSO3fc3gaC0FtYXpvbk11c2ljIhxjaWQ6OWwxU3dVM2w1Ylp5bGk5STdkOXplQT09</cenc:pssh>
|
|
1601
|
+
</ContentProtection>
|
|
1602
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:ProgramLoudness" value="-13.5 LUFS"/>
|
|
1603
|
+
<SupplementalProperty schemeIdUri="amz-music:trackType" value="SD"/>
|
|
1604
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1"/>
|
|
1605
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:AnchorLoudness" value="-11.7 LUFS"/>
|
|
1606
|
+
<Representation id="5" qualityRanking="3" codecs="opus" audioSamplingRate="48000" bandwidth="52950" mimeType="audio/mp4">
|
|
1607
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1608
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/7e2d628d-7666-3ad5-a9df-8ba4e1c6391c.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=SD_LOW&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1609
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1610
|
+
<Initialization range="0-1031"/>
|
|
1611
|
+
<SegmentURL mediaRange="1544-61799"/>
|
|
1612
|
+
<SegmentURL mediaRange="61800-121935"/>
|
|
1613
|
+
<SegmentURL mediaRange="121936-182071"/>
|
|
1614
|
+
<SegmentURL mediaRange="182072-246260"/>
|
|
1615
|
+
<SegmentURL mediaRange="246261-310449"/>
|
|
1616
|
+
<SegmentURL mediaRange="310450-374638"/>
|
|
1617
|
+
<SegmentURL mediaRange="374639-438827"/>
|
|
1618
|
+
<SegmentURL mediaRange="438828-503016"/>
|
|
1619
|
+
<SegmentURL mediaRange="503017-567205"/>
|
|
1620
|
+
<SegmentURL mediaRange="567206-631394"/>
|
|
1621
|
+
<SegmentURL mediaRange="631395-695583"/>
|
|
1622
|
+
<SegmentURL mediaRange="695584-759772"/>
|
|
1623
|
+
<SegmentURL mediaRange="759773-823961"/>
|
|
1624
|
+
<SegmentURL mediaRange="823962-888150"/>
|
|
1625
|
+
<SegmentURL mediaRange="888151-952339"/>
|
|
1626
|
+
<SegmentURL mediaRange="952340-1016528"/>
|
|
1627
|
+
<SegmentURL mediaRange="1016529-1080717"/>
|
|
1628
|
+
<SegmentURL mediaRange="1080718-1144906"/>
|
|
1629
|
+
<SegmentURL mediaRange="1144907-1209095"/>
|
|
1630
|
+
<SegmentURL mediaRange="1209096-1273284"/>
|
|
1631
|
+
<SegmentURL mediaRange="1273285-1337473"/>
|
|
1632
|
+
<SegmentURL mediaRange="1337474-1401662"/>
|
|
1633
|
+
<SegmentURL mediaRange="1401663-1465851"/>
|
|
1634
|
+
<SegmentURL mediaRange="1465852-1530040"/>
|
|
1635
|
+
<SegmentURL mediaRange="1530041-1594229"/>
|
|
1636
|
+
<SegmentURL mediaRange="1594230-1658418"/>
|
|
1637
|
+
<SegmentURL mediaRange="1658419-1722607"/>
|
|
1638
|
+
<SegmentURL mediaRange="1722608-1786796"/>
|
|
1639
|
+
<SegmentURL mediaRange="1786797-1850985"/>
|
|
1640
|
+
<SegmentURL mediaRange="1850986-1915174"/>
|
|
1641
|
+
<SegmentURL mediaRange="1915175-1979363"/>
|
|
1642
|
+
<SegmentURL mediaRange="1979364-2043552"/>
|
|
1643
|
+
<SegmentURL mediaRange="2043553-2107741"/>
|
|
1644
|
+
<SegmentURL mediaRange="2107742-2171930"/>
|
|
1645
|
+
<SegmentURL mediaRange="2171931-2236119"/>
|
|
1646
|
+
<SegmentURL mediaRange="2236120-2300308"/>
|
|
1647
|
+
<SegmentURL mediaRange="2300309-2364497"/>
|
|
1648
|
+
<SegmentURL mediaRange="2364498-2428686"/>
|
|
1649
|
+
<SegmentURL mediaRange="2428687-2492875"/>
|
|
1650
|
+
<SegmentURL mediaRange="2492876-2559060"/>
|
|
1651
|
+
</SegmentList>
|
|
1652
|
+
</Representation>
|
|
1653
|
+
<Representation id="6" qualityRanking="2" codecs="opus" audioSamplingRate="48000" bandwidth="196953" mimeType="audio/mp4">
|
|
1654
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1655
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/8e453bd1-9428-30fa-940f-fa85911368c2.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=SD_MEDIUM&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1656
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1657
|
+
<Initialization range="0-1031"/>
|
|
1658
|
+
<SegmentURL mediaRange="1544-242159"/>
|
|
1659
|
+
<SegmentURL mediaRange="242160-482295"/>
|
|
1660
|
+
<SegmentURL mediaRange="482296-722431"/>
|
|
1661
|
+
<SegmentURL mediaRange="722432-966620"/>
|
|
1662
|
+
<SegmentURL mediaRange="966621-1210809"/>
|
|
1663
|
+
<SegmentURL mediaRange="1210810-1454998"/>
|
|
1664
|
+
<SegmentURL mediaRange="1454999-1699187"/>
|
|
1665
|
+
<SegmentURL mediaRange="1699188-1943376"/>
|
|
1666
|
+
<SegmentURL mediaRange="1943377-2187565"/>
|
|
1667
|
+
<SegmentURL mediaRange="2187566-2431754"/>
|
|
1668
|
+
<SegmentURL mediaRange="2431755-2675943"/>
|
|
1669
|
+
<SegmentURL mediaRange="2675944-2920132"/>
|
|
1670
|
+
<SegmentURL mediaRange="2920133-3164321"/>
|
|
1671
|
+
<SegmentURL mediaRange="3164322-3408510"/>
|
|
1672
|
+
<SegmentURL mediaRange="3408511-3652699"/>
|
|
1673
|
+
<SegmentURL mediaRange="3652700-3896888"/>
|
|
1674
|
+
<SegmentURL mediaRange="3896889-4141077"/>
|
|
1675
|
+
<SegmentURL mediaRange="4141078-4385266"/>
|
|
1676
|
+
<SegmentURL mediaRange="4385267-4629455"/>
|
|
1677
|
+
<SegmentURL mediaRange="4629456-4873644"/>
|
|
1678
|
+
<SegmentURL mediaRange="4873645-5117833"/>
|
|
1679
|
+
<SegmentURL mediaRange="5117834-5362022"/>
|
|
1680
|
+
<SegmentURL mediaRange="5362023-5606211"/>
|
|
1681
|
+
<SegmentURL mediaRange="5606212-5850400"/>
|
|
1682
|
+
<SegmentURL mediaRange="5850401-6094589"/>
|
|
1683
|
+
<SegmentURL mediaRange="6094590-6338778"/>
|
|
1684
|
+
<SegmentURL mediaRange="6338779-6582967"/>
|
|
1685
|
+
<SegmentURL mediaRange="6582968-6827156"/>
|
|
1686
|
+
<SegmentURL mediaRange="6827157-7071345"/>
|
|
1687
|
+
<SegmentURL mediaRange="7071346-7315534"/>
|
|
1688
|
+
<SegmentURL mediaRange="7315535-7559723"/>
|
|
1689
|
+
<SegmentURL mediaRange="7559724-7803912"/>
|
|
1690
|
+
<SegmentURL mediaRange="7803913-8048101"/>
|
|
1691
|
+
<SegmentURL mediaRange="8048102-8292290"/>
|
|
1692
|
+
<SegmentURL mediaRange="8292291-8536479"/>
|
|
1693
|
+
<SegmentURL mediaRange="8536480-8780668"/>
|
|
1694
|
+
<SegmentURL mediaRange="8780669-9024857"/>
|
|
1695
|
+
<SegmentURL mediaRange="9024858-9269046"/>
|
|
1696
|
+
<SegmentURL mediaRange="9269047-9513235"/>
|
|
1697
|
+
<SegmentURL mediaRange="9513236-9759420"/>
|
|
1698
|
+
</SegmentList>
|
|
1699
|
+
</Representation>
|
|
1700
|
+
<Representation id="7" qualityRanking="1" codecs="opus" audioSamplingRate="48000" bandwidth="324955" mimeType="audio/mp4">
|
|
1701
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1702
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/40ba3a06-d285-3130-838f-0c1508c1d18b.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=SD_HIGH&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1703
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1704
|
+
<Initialization range="0-1031"/>
|
|
1705
|
+
<SegmentURL mediaRange="1544-402479"/>
|
|
1706
|
+
<SegmentURL mediaRange="402480-802615"/>
|
|
1707
|
+
<SegmentURL mediaRange="802616-1202751"/>
|
|
1708
|
+
<SegmentURL mediaRange="1202752-1606940"/>
|
|
1709
|
+
<SegmentURL mediaRange="1606941-2011129"/>
|
|
1710
|
+
<SegmentURL mediaRange="2011130-2415318"/>
|
|
1711
|
+
<SegmentURL mediaRange="2415319-2819507"/>
|
|
1712
|
+
<SegmentURL mediaRange="2819508-3223696"/>
|
|
1713
|
+
<SegmentURL mediaRange="3223697-3627885"/>
|
|
1714
|
+
<SegmentURL mediaRange="3627886-4032074"/>
|
|
1715
|
+
<SegmentURL mediaRange="4032075-4436263"/>
|
|
1716
|
+
<SegmentURL mediaRange="4436264-4840452"/>
|
|
1717
|
+
<SegmentURL mediaRange="4840453-5244641"/>
|
|
1718
|
+
<SegmentURL mediaRange="5244642-5648830"/>
|
|
1719
|
+
<SegmentURL mediaRange="5648831-6053019"/>
|
|
1720
|
+
<SegmentURL mediaRange="6053020-6457208"/>
|
|
1721
|
+
<SegmentURL mediaRange="6457209-6861397"/>
|
|
1722
|
+
<SegmentURL mediaRange="6861398-7265586"/>
|
|
1723
|
+
<SegmentURL mediaRange="7265587-7669775"/>
|
|
1724
|
+
<SegmentURL mediaRange="7669776-8073964"/>
|
|
1725
|
+
<SegmentURL mediaRange="8073965-8478153"/>
|
|
1726
|
+
<SegmentURL mediaRange="8478154-8882342"/>
|
|
1727
|
+
<SegmentURL mediaRange="8882343-9286531"/>
|
|
1728
|
+
<SegmentURL mediaRange="9286532-9690720"/>
|
|
1729
|
+
<SegmentURL mediaRange="9690721-10094909"/>
|
|
1730
|
+
<SegmentURL mediaRange="10094910-10499098"/>
|
|
1731
|
+
<SegmentURL mediaRange="10499099-10903287"/>
|
|
1732
|
+
<SegmentURL mediaRange="10903288-11307476"/>
|
|
1733
|
+
<SegmentURL mediaRange="11307477-11711665"/>
|
|
1734
|
+
<SegmentURL mediaRange="11711666-12115854"/>
|
|
1735
|
+
<SegmentURL mediaRange="12115855-12520043"/>
|
|
1736
|
+
<SegmentURL mediaRange="12520044-12924232"/>
|
|
1737
|
+
<SegmentURL mediaRange="12924233-13328421"/>
|
|
1738
|
+
<SegmentURL mediaRange="13328422-13732610"/>
|
|
1739
|
+
<SegmentURL mediaRange="13732611-14136799"/>
|
|
1740
|
+
<SegmentURL mediaRange="14136800-14540988"/>
|
|
1741
|
+
<SegmentURL mediaRange="14540989-14945177"/>
|
|
1742
|
+
<SegmentURL mediaRange="14945178-15349366"/>
|
|
1743
|
+
<SegmentURL mediaRange="15349367-15753555"/>
|
|
1744
|
+
<SegmentURL mediaRange="15753556-16159740"/>
|
|
1745
|
+
</SegmentList>
|
|
1746
|
+
</Representation>
|
|
1747
|
+
</AdaptationSet>
|
|
1748
|
+
<AdaptationSet id="3" contentType="audio" selectionPriority="500">
|
|
1749
|
+
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="4e4c6e3a-d760-ffd5-78b0-3824890da09d" value="cenc"/>
|
|
1750
|
+
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
|
|
1751
|
+
<cenc:pssh>AAAAXXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAD0SEE5MbjrXYP/VeLA4JIkNoJ0aC0FtYXpvbk11c2ljIhxjaWQ6VGt4dU90ZGcvOVY0c0Rna2lRMmduUT09</cenc:pssh>
|
|
1752
|
+
</ContentProtection>
|
|
1753
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:ProgramLoudness" value="-13.5 LUFS"/>
|
|
1754
|
+
<SupplementalProperty schemeIdUri="amz-music:trackType" value="LD"/>
|
|
1755
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:mpegB:cicp:AnchorLoudness" value="-11.7 LUFS"/>
|
|
1756
|
+
<Representation id="8" qualityRanking="2000" codecs="opus" audioSamplingRate="48000" bandwidth="52950" mimeType="audio/mp4">
|
|
1757
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1758
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/748096ab-6991-368b-b9ca-5477bf90ba5a.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=LD_LOW&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1759
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1760
|
+
<Initialization range="0-1031"/>
|
|
1761
|
+
<SegmentURL mediaRange="1544-61799"/>
|
|
1762
|
+
<SegmentURL mediaRange="61800-121935"/>
|
|
1763
|
+
<SegmentURL mediaRange="121936-182071"/>
|
|
1764
|
+
<SegmentURL mediaRange="182072-246260"/>
|
|
1765
|
+
<SegmentURL mediaRange="246261-310449"/>
|
|
1766
|
+
<SegmentURL mediaRange="310450-374638"/>
|
|
1767
|
+
<SegmentURL mediaRange="374639-438827"/>
|
|
1768
|
+
<SegmentURL mediaRange="438828-503016"/>
|
|
1769
|
+
<SegmentURL mediaRange="503017-567205"/>
|
|
1770
|
+
<SegmentURL mediaRange="567206-631394"/>
|
|
1771
|
+
<SegmentURL mediaRange="631395-695583"/>
|
|
1772
|
+
<SegmentURL mediaRange="695584-759772"/>
|
|
1773
|
+
<SegmentURL mediaRange="759773-823961"/>
|
|
1774
|
+
<SegmentURL mediaRange="823962-888150"/>
|
|
1775
|
+
<SegmentURL mediaRange="888151-952339"/>
|
|
1776
|
+
<SegmentURL mediaRange="952340-1016528"/>
|
|
1777
|
+
<SegmentURL mediaRange="1016529-1080717"/>
|
|
1778
|
+
<SegmentURL mediaRange="1080718-1144906"/>
|
|
1779
|
+
<SegmentURL mediaRange="1144907-1209095"/>
|
|
1780
|
+
<SegmentURL mediaRange="1209096-1273284"/>
|
|
1781
|
+
<SegmentURL mediaRange="1273285-1337473"/>
|
|
1782
|
+
<SegmentURL mediaRange="1337474-1401662"/>
|
|
1783
|
+
<SegmentURL mediaRange="1401663-1465851"/>
|
|
1784
|
+
<SegmentURL mediaRange="1465852-1530040"/>
|
|
1785
|
+
<SegmentURL mediaRange="1530041-1594229"/>
|
|
1786
|
+
<SegmentURL mediaRange="1594230-1658418"/>
|
|
1787
|
+
<SegmentURL mediaRange="1658419-1722607"/>
|
|
1788
|
+
<SegmentURL mediaRange="1722608-1786796"/>
|
|
1789
|
+
<SegmentURL mediaRange="1786797-1850985"/>
|
|
1790
|
+
<SegmentURL mediaRange="1850986-1915174"/>
|
|
1791
|
+
<SegmentURL mediaRange="1915175-1979363"/>
|
|
1792
|
+
<SegmentURL mediaRange="1979364-2043552"/>
|
|
1793
|
+
<SegmentURL mediaRange="2043553-2107741"/>
|
|
1794
|
+
<SegmentURL mediaRange="2107742-2171930"/>
|
|
1795
|
+
<SegmentURL mediaRange="2171931-2236119"/>
|
|
1796
|
+
<SegmentURL mediaRange="2236120-2300308"/>
|
|
1797
|
+
<SegmentURL mediaRange="2300309-2364497"/>
|
|
1798
|
+
<SegmentURL mediaRange="2364498-2428686"/>
|
|
1799
|
+
<SegmentURL mediaRange="2428687-2492875"/>
|
|
1800
|
+
<SegmentURL mediaRange="2492876-2559060"/>
|
|
1801
|
+
</SegmentList>
|
|
1802
|
+
</Representation>
|
|
1803
|
+
<Representation id="9" qualityRanking="1000" codecs="opus" audioSamplingRate="48000" bandwidth="164952" mimeType="audio/mp4">
|
|
1804
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1805
|
+
<BaseURL>https://d17vo8z6jop21h.cloudfront.net/94bd1ece-d200000391583662/8be307d6-71ea-3111-a869-40720e08a6f9.mp4?r=2e86bfd7-93aa-48a0-9d32-7bee6d2897a4&rs=NA&mt=US&ql=LD_MEDIUM&dtype=A16ZV8BU3SN1N3</BaseURL>
|
|
1806
|
+
<SegmentList timescale="48000" duration="480000">
|
|
1807
|
+
<Initialization range="0-1031"/>
|
|
1808
|
+
<SegmentURL mediaRange="1544-202079"/>
|
|
1809
|
+
<SegmentURL mediaRange="202080-402215"/>
|
|
1810
|
+
<SegmentURL mediaRange="402216-602351"/>
|
|
1811
|
+
<SegmentURL mediaRange="602352-806540"/>
|
|
1812
|
+
<SegmentURL mediaRange="806541-1010729"/>
|
|
1813
|
+
<SegmentURL mediaRange="1010730-1214918"/>
|
|
1814
|
+
<SegmentURL mediaRange="1214919-1419107"/>
|
|
1815
|
+
<SegmentURL mediaRange="1419108-1623296"/>
|
|
1816
|
+
<SegmentURL mediaRange="1623297-1827485"/>
|
|
1817
|
+
<SegmentURL mediaRange="1827486-2031674"/>
|
|
1818
|
+
<SegmentURL mediaRange="2031675-2235863"/>
|
|
1819
|
+
<SegmentURL mediaRange="2235864-2440052"/>
|
|
1820
|
+
<SegmentURL mediaRange="2440053-2644241"/>
|
|
1821
|
+
<SegmentURL mediaRange="2644242-2848430"/>
|
|
1822
|
+
<SegmentURL mediaRange="2848431-3052619"/>
|
|
1823
|
+
<SegmentURL mediaRange="3052620-3256808"/>
|
|
1824
|
+
<SegmentURL mediaRange="3256809-3460997"/>
|
|
1825
|
+
<SegmentURL mediaRange="3460998-3665186"/>
|
|
1826
|
+
<SegmentURL mediaRange="3665187-3869375"/>
|
|
1827
|
+
<SegmentURL mediaRange="3869376-4073564"/>
|
|
1828
|
+
<SegmentURL mediaRange="4073565-4277753"/>
|
|
1829
|
+
<SegmentURL mediaRange="4277754-4481942"/>
|
|
1830
|
+
<SegmentURL mediaRange="4481943-4686131"/>
|
|
1831
|
+
<SegmentURL mediaRange="4686132-4890320"/>
|
|
1832
|
+
<SegmentURL mediaRange="4890321-5094509"/>
|
|
1833
|
+
<SegmentURL mediaRange="5094510-5298698"/>
|
|
1834
|
+
<SegmentURL mediaRange="5298699-5502887"/>
|
|
1835
|
+
<SegmentURL mediaRange="5502888-5707076"/>
|
|
1836
|
+
<SegmentURL mediaRange="5707077-5911265"/>
|
|
1837
|
+
<SegmentURL mediaRange="5911266-6115454"/>
|
|
1838
|
+
<SegmentURL mediaRange="6115455-6319643"/>
|
|
1839
|
+
<SegmentURL mediaRange="6319644-6523832"/>
|
|
1840
|
+
<SegmentURL mediaRange="6523833-6728021"/>
|
|
1841
|
+
<SegmentURL mediaRange="6728022-6932210"/>
|
|
1842
|
+
<SegmentURL mediaRange="6932211-7136399"/>
|
|
1843
|
+
<SegmentURL mediaRange="7136400-7340588"/>
|
|
1844
|
+
<SegmentURL mediaRange="7340589-7544777"/>
|
|
1845
|
+
<SegmentURL mediaRange="7544778-7748966"/>
|
|
1846
|
+
<SegmentURL mediaRange="7748967-7953155"/>
|
|
1847
|
+
<SegmentURL mediaRange="7953156-8159340"/>
|
|
1848
|
+
</SegmentList>
|
|
1849
|
+
</Representation>
|
|
1850
|
+
</AdaptationSet>
|
|
1851
|
+
</Period>
|
|
1852
|
+
</MPD>`;
|
|
1853
|
+
|
|
1854
|
+
// test/vinylTestUtil/assets/dash_segmentList.ts
|
|
1855
|
+
var dash_segmentList = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
1856
|
+
<MPD minBufferTime="PT10S" type="static" mediaPresentationDuration="PT2M59.515S" profiles="urn:mpeg:dash:profile:isoff-live:2011" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:amz-music="urn:amazon:music:drm:2019" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
|
|
1857
|
+
<Period>
|
|
1858
|
+
<AdaptationSet segmentAlignment="true" mimeType="audio/mp4" startWithSAP="1">
|
|
1859
|
+
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="5e2905f0-1f87-1c2a-cdc9-a698b13460a0" value="cenc"/>
|
|
1860
|
+
<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0">
|
|
1861
|
+
<mspr:pro>gAIAAAEAAQB2AjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AOABBAFUAcABYAG8AYwBmAEsAaAB6AE4AeQBhAGEAWQBzAFQAUgBnAG8AQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBvAHYAQwA0AFQAaQA0AFgAOQBRADAAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBtAHUAcwBpAGMALgBhAG0AYQB6AG8AbgAuAGMAbwBtAC8AZABtAGwAcwAvAGEAYwBxAHUAaQByAGUATABpAGMAZQBuAHMAZQA8AC8ATABBAF8AVQBSAEwAPgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</mspr:pro>
|
|
1862
|
+
<cenc:pssh>AAACoHBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAoCAAgAAAQABAHYCPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgA4AEEAVQBwAFgAbwBjAGYASwBoAHoATgB5AGEAYQBZAHMAVABSAGcAbwBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AG8AdgBDADQAVABpADQAWAA5AFEAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAG0AdQBzAGkAYwAuAGEAbQBhAHoAbwBuAC4AYwBvAG0ALwBkAG0AbABzAC8AYQBjAHEAdQBpAHIAZQBMAGkAYwBlAG4AcwBlADwALwBMAEEAXwBVAFIATAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A</cenc:pssh>
|
|
1863
|
+
</ContentProtection>
|
|
1864
|
+
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
|
|
1865
|
+
<cenc:pssh>AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQXikF8B+HHCrNyaaYsTRgoBoLQW1hem9uTXVzaWMiHGNpZDpYaWtGOEIrSEhDck55YWFZc1RSZ29BPT0qBUFVRElP</cenc:pssh>
|
|
1866
|
+
</ContentProtection>
|
|
1867
|
+
<Representation id="48kbps" bitrate="48" codecs="mp4a.40.5" audioSamplingRate="44100" bandwidth="49207">
|
|
1868
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1869
|
+
<SegmentList timescale="1000" duration="9999">
|
|
1870
|
+
<Initialization sourceURL="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/e995b206-11e7-3b45-97c2-b6a3547d2f4e.mp4?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1871
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/7074f18b-9540-330a-afe2-219d0ce7833c.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1872
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/5f820f1c-2afc-3131-bed4-fb5bdef897f0.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1873
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/cd6c620a-04de-3782-92b2-c662b6c1072f.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1874
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/f7f821c5-5e35-3add-ad3a-9bbe0dbb1e3e.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1875
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/9746d8ad-cff5-3494-9496-81f4f55e1ef6.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1876
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/5f3f7a43-ab6d-3c3a-911b-eead57689bd6.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1877
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/fd21ca6a-2754-33ea-8880-6b5ef5b20ee4.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1878
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/d12751c0-7376-3f3e-93d4-aaa2e0604a27.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1879
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/deb6a2fe-cf1c-3cd3-b0c0-14605b19b6f7.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1880
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/b4f7e818-9b5d-3961-a30a-efb5662b4266.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1881
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/44654895-2ecc-3a8d-8314-b38554bd7cab.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1882
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/8bdf4924-bd51-376f-93f5-1a681f67b5f0.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1883
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/d376f5de-404a-3ec6-9c9b-ec4f1a0bb396.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1884
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/1cb253cb-53e0-3ce0-899e-66ab521b243e.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1885
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/5189c800-ada3-3851-af3f-1eb221eb1e46.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1886
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/aaba2b17-fb35-34ef-9e02-f5d4751537af.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1887
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/7c91714e-b106-3738-88b6-a6de127876ab.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1888
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/181177ec-f49d-3adf-9e54-54bc8829a4aa.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1889
|
+
</SegmentList>
|
|
1890
|
+
</Representation>
|
|
1891
|
+
<Representation id="128kbps" bitrate="128" codecs="mp4a.40.5" audioSamplingRate="44100" bandwidth="128940">
|
|
1892
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1893
|
+
<SegmentList timescale="1000" duration="9999">
|
|
1894
|
+
<Initialization sourceURL="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/48ad8390-8f20-3375-ad88-a6b9e30443c9.mp4?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1895
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/b60dac8a-6ef4-3831-a94a-1c45fcee6b2d.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1896
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/657d1268-facc-3395-88e9-27c5c126ce48.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1897
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/5195eaa4-b1fe-35db-a6a2-f44b2f5c5ab3.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1898
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/4c03a31b-a7df-348f-85ba-849be71d8429.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1899
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/892c0d03-6f0a-3816-bab9-f086b1cc58ca.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1900
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/47997981-1b94-33a6-a49b-f213625515c0.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1901
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/4363a296-1ee3-386a-b866-bbc3209a70af.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1902
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/1080dd32-1782-3329-aa25-9f70425726f6.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1903
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/2afd08bd-9018-365e-a7ca-215ec749d5f4.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1904
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/db3c6e55-4dcd-32f4-9d86-d699760e37c9.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1905
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/38bc1afd-2930-3e41-809c-1c2472b2f7e2.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1906
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/df6643b3-5b9e-31cf-a3fa-e271e9f70040.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1907
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/6e833e36-ed37-3d57-8d2c-dbe058e04b9d.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1908
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/ec9caaf6-2205-3ef9-b456-b91fdea6991e.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1909
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/f1b8ccdf-9848-3b00-9d12-bab2ca18f857.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1910
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/da935cc3-be5e-3b3e-b1eb-7f91bd507a90.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1911
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/dbbae462-fd17-38d3-9b2a-ce25d1e67583.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1912
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/75b367ea-5dc3-3c95-8ff1-e727723ca423.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1913
|
+
</SegmentList>
|
|
1914
|
+
</Representation>
|
|
1915
|
+
</AdaptationSet>
|
|
1916
|
+
<AdaptationSet segmentAlignment="true" mimeType="audio/mp4" startWithSAP="1">
|
|
1917
|
+
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="5e2905f0-1f87-1c2a-cdc9-a698b13460a0" value="cenc"/>
|
|
1918
|
+
<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="2.0">
|
|
1919
|
+
<mspr:pro>gAIAAAEAAQB2AjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AOABBAFUAcABYAG8AYwBmAEsAaAB6AE4AeQBhAGEAWQBzAFQAUgBnAG8AQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBvAHYAQwA0AFQAaQA0AFgAOQBRADAAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBtAHUAcwBpAGMALgBhAG0AYQB6AG8AbgAuAGMAbwBtAC8AZABtAGwAcwAvAGEAYwBxAHUAaQByAGUATABpAGMAZQBuAHMAZQA8AC8ATABBAF8AVQBSAEwAPgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</mspr:pro>
|
|
1920
|
+
<cenc:pssh>AAACoHBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAoCAAgAAAQABAHYCPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgA4AEEAVQBwAFgAbwBjAGYASwBoAHoATgB5AGEAYQBZAHMAVABSAGcAbwBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AG8AdgBDADQAVABpADQAWAA5AFEAMAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAG0AdQBzAGkAYwAuAGEAbQBhAHoAbwBuAC4AYwBvAG0ALwBkAG0AbABzAC8AYQBjAHEAdQBpAHIAZQBMAGkAYwBlAG4AcwBlADwALwBMAEEAXwBVAFIATAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A</cenc:pssh>
|
|
1921
|
+
</ContentProtection>
|
|
1922
|
+
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
|
|
1923
|
+
<cenc:pssh>AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQXikF8B+HHCrNyaaYsTRgoBoLQW1hem9uTXVzaWMiHGNpZDpYaWtGOEIrSEhDck55YWFZc1RSZ29BPT0qBUFVRElP</cenc:pssh>
|
|
1924
|
+
</ContentProtection>
|
|
1925
|
+
<Representation id="256kbps" bitrate="256" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="257571">
|
|
1926
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1927
|
+
<SegmentList timescale="1000" duration="10001">
|
|
1928
|
+
<Initialization sourceURL="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/491172b7-47c7-3c85-8d21-d1b5932f17a2.mp4?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1929
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/826bac71-7b31-3a24-9d49-37847e2a6729.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1930
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/388d5f9e-91a8-3f11-af1a-ae4a05f97ec9.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1931
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/a33b04dd-497b-32a8-8d79-185c3ff64abc.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1932
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/5177f418-6081-3d74-962e-a22103b0bd9b.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1933
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/21130156-4c73-34e4-8d9f-3bb4835907f5.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1934
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/e38d0c76-959c-3ea2-9194-a909b79dcb2e.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1935
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/280aa567-f6e5-355b-910e-86dd3d877058.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1936
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/a00d6c29-4f5d-3fec-a925-238376fccb23.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1937
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/547acecd-34c8-308d-afa7-4cabfa08828a.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1938
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/dade48dd-b7b7-3584-8282-d485b4dcb4ac.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1939
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/06a7b39c-bf4c-3a84-8c3a-3130cf8d8796.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1940
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/e23e7877-351f-3907-bc21-5ad52e79bea3.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1941
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/8bd58682-d178-31e8-9158-647294632481.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1942
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/9940b7d6-a080-36e9-bc74-701bc86f1d04.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1943
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/d3f0bf8f-c7bb-390f-a69f-6c5f76fea173.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1944
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/85d1acbe-8bdb-3eb9-a6f1-dabbd39dcac7.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1945
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/55329bcb-7009-36c2-acc5-38100b7e7299.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1946
|
+
<SegmentURL media="https://dfqzuzzcqflbd.cloudfront.net/4b931ac5-5bcb-4200000551204497/d12a306c-2d45-3e5b-8240-8ebea0437442.m4s?r=1ded475a-27b5-4a3d-848b-8e430140b3ed&rs=NA&mt=US"/>
|
|
1947
|
+
</SegmentList>
|
|
1948
|
+
</Representation>
|
|
1949
|
+
</AdaptationSet>
|
|
1950
|
+
</Period>
|
|
1951
|
+
</MPD>
|
|
1952
|
+
`;
|
|
1953
|
+
|
|
1954
|
+
// test/vinylTestUtil/assets/dash_segmentBase.ts
|
|
1955
|
+
var dash_segmentBase = `<?xml version="1.0" encoding="UTF-8"?>
|
|
1956
|
+
<!--Generated with https://github.com/google/shaka-packager version v2.6.1-634af65-release-->
|
|
1957
|
+
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" minBufferTime="PT2S" type="static" mediaPresentationDuration="PT60S">
|
|
1958
|
+
<Period id="0">
|
|
1959
|
+
<AdaptationSet id="0" contentType="audio" subsegmentAlignment="true">
|
|
1960
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1,2"/>
|
|
1961
|
+
<Representation id="0" bandwidth="51160" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
|
|
1962
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1963
|
+
<BaseURL>representations/aac_60s_2ch_16bit_44100Hz_48kbps.mp4</BaseURL>
|
|
1964
|
+
<SegmentBase indexRange="826-929" timescale="44100">
|
|
1965
|
+
<Initialization range="0-825"/>
|
|
1966
|
+
</SegmentBase>
|
|
1967
|
+
</Representation>
|
|
1968
|
+
<Representation id="14" bandwidth="124766" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
|
|
1969
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1970
|
+
<BaseURL>representations/aac_60s_2ch_16bit_44100Hz_256kbps.mp4</BaseURL>
|
|
1971
|
+
<SegmentBase indexRange="826-929" timescale="44100">
|
|
1972
|
+
<Initialization range="0-825"/>
|
|
1973
|
+
</SegmentBase>
|
|
1974
|
+
</Representation>
|
|
1975
|
+
<Representation id="15" bandwidth="114639" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
|
|
1976
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1977
|
+
<BaseURL>representations/aac_60s_2ch_16bit_44100Hz_128kbps.mp4</BaseURL>
|
|
1978
|
+
<SegmentBase indexRange="826-929" timescale="44100">
|
|
1979
|
+
<Initialization range="0-825"/>
|
|
1980
|
+
</SegmentBase>
|
|
1981
|
+
</Representation>
|
|
1982
|
+
</AdaptationSet>
|
|
1983
|
+
<AdaptationSet id="1" contentType="audio">
|
|
1984
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,2"/>
|
|
1985
|
+
<Representation id="1" bandwidth="141719" codecs="flac" mimeType="audio/mp4" audioSamplingRate="44100">
|
|
1986
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1987
|
+
<BaseURL>representations/flac_60s_2ch_16bit_44100Hz.mp4</BaseURL>
|
|
1988
|
+
<SegmentBase indexRange="772-875" timescale="44100">
|
|
1989
|
+
<Initialization range="0-771"/>
|
|
1990
|
+
</SegmentBase>
|
|
1991
|
+
</Representation>
|
|
1992
|
+
<Representation id="3" bandwidth="541361" codecs="flac" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
1993
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
1994
|
+
<BaseURL>representations/flac_60s_2ch_24bit_48000Hz.mp4</BaseURL>
|
|
1995
|
+
<SegmentBase indexRange="772-875" timescale="48000">
|
|
1996
|
+
<Initialization range="0-771"/>
|
|
1997
|
+
</SegmentBase>
|
|
1998
|
+
</Representation>
|
|
1999
|
+
<Representation id="4" bandwidth="470315" codecs="flac" mimeType="audio/mp4" audioSamplingRate="0">
|
|
2000
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2001
|
+
<BaseURL>representations/flac_60s_2ch_16bit_192000Hz.mp4</BaseURL>
|
|
2002
|
+
<SegmentBase indexRange="772-875" timescale="192000">
|
|
2003
|
+
<Initialization range="0-771"/>
|
|
2004
|
+
</SegmentBase>
|
|
2005
|
+
</Representation>
|
|
2006
|
+
<Representation id="6" bandwidth="2192360" codecs="flac" mimeType="audio/mp4" audioSamplingRate="0">
|
|
2007
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2008
|
+
<BaseURL>representations/flac_60s_2ch_24bit_192000Hz.mp4</BaseURL>
|
|
2009
|
+
<SegmentBase indexRange="772-875" timescale="192000">
|
|
2010
|
+
<Initialization range="0-771"/>
|
|
2011
|
+
</SegmentBase>
|
|
2012
|
+
</Representation>
|
|
2013
|
+
<Representation id="8" bandwidth="153326" codecs="flac" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2014
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2015
|
+
<BaseURL>representations/flac_60s_2ch_16bit_48000Hz.mp4</BaseURL>
|
|
2016
|
+
<SegmentBase indexRange="772-875" timescale="48000">
|
|
2017
|
+
<Initialization range="0-771"/>
|
|
2018
|
+
</SegmentBase>
|
|
2019
|
+
</Representation>
|
|
2020
|
+
<Representation id="10" bandwidth="257514" codecs="flac" mimeType="audio/mp4" audioSamplingRate="0">
|
|
2021
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2022
|
+
<BaseURL>representations/flac_60s_2ch_16bit_96000Hz.mp4</BaseURL>
|
|
2023
|
+
<SegmentBase indexRange="772-875" timescale="96000">
|
|
2024
|
+
<Initialization range="0-771"/>
|
|
2025
|
+
</SegmentBase>
|
|
2026
|
+
</Representation>
|
|
2027
|
+
<Representation id="11" bandwidth="495381" codecs="flac" mimeType="audio/mp4" audioSamplingRate="44100">
|
|
2028
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2029
|
+
<BaseURL>representations/flac_60s_2ch_24bit_44100Hz.mp4</BaseURL>
|
|
2030
|
+
<SegmentBase indexRange="772-875" timescale="44100">
|
|
2031
|
+
<Initialization range="0-771"/>
|
|
2032
|
+
</SegmentBase>
|
|
2033
|
+
</Representation>
|
|
2034
|
+
<Representation id="16" bandwidth="1074424" codecs="flac" mimeType="audio/mp4" audioSamplingRate="0">
|
|
2035
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2036
|
+
<BaseURL>representations/flac_60s_2ch_24bit_96000Hz.mp4</BaseURL>
|
|
2037
|
+
<SegmentBase indexRange="772-875" timescale="96000">
|
|
2038
|
+
<Initialization range="0-771"/>
|
|
2039
|
+
</SegmentBase>
|
|
2040
|
+
</Representation>
|
|
2041
|
+
</AdaptationSet>
|
|
2042
|
+
<AdaptationSet id="2" contentType="audio" subsegmentAlignment="true">
|
|
2043
|
+
<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,1"/>
|
|
2044
|
+
<Representation id="2" bandwidth="322671" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2045
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2046
|
+
<BaseURL>representations/opus_60s_2ch_16bit_44100Hz_320kbps.mp4</BaseURL>
|
|
2047
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2048
|
+
<Initialization range="0-802"/>
|
|
2049
|
+
</SegmentBase>
|
|
2050
|
+
</Representation>
|
|
2051
|
+
<Representation id="5" bandwidth="50194" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2052
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2053
|
+
<BaseURL>representations/opus_60s_2ch_16bit_44100Hz_48kbps.mp4</BaseURL>
|
|
2054
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2055
|
+
<Initialization range="0-802"/>
|
|
2056
|
+
</SegmentBase>
|
|
2057
|
+
</Representation>
|
|
2058
|
+
<Representation id="7" bandwidth="50194" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2059
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2060
|
+
<BaseURL>representations/opus_60s_2ch_16bit_192000Hz_48kbps.mp4</BaseURL>
|
|
2061
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2062
|
+
<Initialization range="0-802"/>
|
|
2063
|
+
</SegmentBase>
|
|
2064
|
+
</Representation>
|
|
2065
|
+
<Representation id="9" bandwidth="162390" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2066
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2067
|
+
<BaseURL>representations/opus_60s_2ch_16bit_192000Hz_160kbps.mp4</BaseURL>
|
|
2068
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2069
|
+
<Initialization range="0-802"/>
|
|
2070
|
+
</SegmentBase>
|
|
2071
|
+
</Representation>
|
|
2072
|
+
<Representation id="12" bandwidth="322671" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2073
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2074
|
+
<BaseURL>representations/opus_60s_2ch_16bit_192000Hz_320kbps.mp4</BaseURL>
|
|
2075
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2076
|
+
<Initialization range="0-802"/>
|
|
2077
|
+
</SegmentBase>
|
|
2078
|
+
</Representation>
|
|
2079
|
+
<Representation id="13" bandwidth="162390" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
|
|
2080
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
|
2081
|
+
<BaseURL>representations/opus_60s_2ch_16bit_44100Hz_160kbps.mp4</BaseURL>
|
|
2082
|
+
<SegmentBase indexRange="803-906" timescale="48000">
|
|
2083
|
+
<Initialization range="0-802"/>
|
|
2084
|
+
</SegmentBase>
|
|
2085
|
+
</Representation>
|
|
2086
|
+
</AdaptationSet>
|
|
2087
|
+
</Period>
|
|
2088
|
+
</MPD>
|
|
2089
|
+
`;
|
|
2090
|
+
|
|
2091
|
+
// test/vinylTestUtil/assets/dash_personalizedResponse.ts
|
|
2092
|
+
var dash_personalizedResponse = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2093
|
+
<MPD minBufferTime="PT10.00S" profiles="urn:mpeg:dash:profile:isoff-live:2011" xmlns="urn:mpeg:dash:schema:mpd:2011">
|
|
2094
|
+
<Period id="0.0" start="PT0S">
|
|
2095
|
+
<BaseURL>dash/</BaseURL>
|
|
2096
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2097
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2098
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2099
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2100
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2101
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2102
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="0"
|
|
2103
|
+
startNumber="1" timescale="48000">
|
|
2104
|
+
<SegmentTimeline>
|
|
2105
|
+
<S d="48129" t="74412130844415"/>
|
|
2106
|
+
<S d="48128" t="74412130892544"/>
|
|
2107
|
+
<S d="48127" t="74412130940672"/>
|
|
2108
|
+
<S d="48129" t="74412130988799"/>
|
|
2109
|
+
<S d="48128" t="74412131036928"/>
|
|
2110
|
+
<S d="47104" t="74412131085056"/>
|
|
2111
|
+
<S d="48128" t="74412131132160"/>
|
|
2112
|
+
<S d="48127" t="74412131180288"/>
|
|
2113
|
+
<S d="48129" t="74412131228415"/>
|
|
2114
|
+
<S d="48128" t="74412131276544"/>
|
|
2115
|
+
<S d="48127" t="74412131324672"/>
|
|
2116
|
+
<S d="48129" t="74412131372799"/>
|
|
2117
|
+
<S d="48128" t="74412131420928"/>
|
|
2118
|
+
<S d="47104" t="74412131469056"/>
|
|
2119
|
+
<S d="48128" t="74412131516160"/>
|
|
2120
|
+
<S d="48127" t="74412131564288"/>
|
|
2121
|
+
<S d="48129" t="74412131612415"/>
|
|
2122
|
+
<S d="48128" t="74412131660544"/>
|
|
2123
|
+
<S d="48127" t="74412131708672"/>
|
|
2124
|
+
<S d="48129" t="74412131756799"/>
|
|
2125
|
+
<S d="48128" t="74412131804928"/>
|
|
2126
|
+
<S d="47104" t="74412131853056"/>
|
|
2127
|
+
<S d="48128" t="74412131900160"/>
|
|
2128
|
+
<S d="48127" t="74412131948288"/>
|
|
2129
|
+
<S d="48129" t="74412131996415"/>
|
|
2130
|
+
<S d="48128" t="74412132044544"/>
|
|
2131
|
+
<S d="48127" t="74412132092672"/>
|
|
2132
|
+
<S d="48129" t="74412132140799"/>
|
|
2133
|
+
<S d="48128" t="74412132188928"/>
|
|
2134
|
+
<S d="47104" t="74412132237056"/>
|
|
2135
|
+
<S d="48128" t="74412132284160"/>
|
|
2136
|
+
<S d="48127" t="74412132332288"/>
|
|
2137
|
+
<S d="48129" t="74412132380415"/>
|
|
2138
|
+
<S d="48128" t="74412132428544"/>
|
|
2139
|
+
<S d="48127" t="74412132476672"/>
|
|
2140
|
+
</SegmentTimeline>
|
|
2141
|
+
</SegmentTemplate>
|
|
2142
|
+
</Representation>
|
|
2143
|
+
</AdaptationSet>
|
|
2144
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2145
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2146
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2147
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2148
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2149
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="0"
|
|
2150
|
+
startNumber="1" timescale="90000">
|
|
2151
|
+
<SegmentTimeline>
|
|
2152
|
+
<S d="90000" r="34" t="139522745250000"/>
|
|
2153
|
+
</SegmentTimeline>
|
|
2154
|
+
</SegmentTemplate>
|
|
2155
|
+
</Representation>
|
|
2156
|
+
</AdaptationSet>
|
|
2157
|
+
</Period>
|
|
2158
|
+
<Period id="1550252760.0_1" start="PT430625H46M">
|
|
2159
|
+
<BaseURL>http://d2gh0tfpz97e4o.cloudfront.net/visitalps/</BaseURL>
|
|
2160
|
+
<AdaptationSet bitstreamSwitching="false" frameRate="30/1" mimeType="video/mp4" segmentAlignment="true"
|
|
2161
|
+
startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
|
|
2162
|
+
<SegmentTemplate startNumber="1" timescale="90000"/>
|
|
2163
|
+
<Representation bandwidth="7500000" codecs="avc1.640028" height="1080" id="1" width="1920">
|
|
2164
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_1080p_10init.mp4"
|
|
2165
|
+
media="visitalps_1080p30_video_1080p_10_$Number%09d$.mp4" startNumber="1"
|
|
2166
|
+
timescale="90000">
|
|
2167
|
+
<SegmentTimeline>
|
|
2168
|
+
<S d="180000" r="6" t="0"/>
|
|
2169
|
+
<S d="86940" t="1260000"/>
|
|
2170
|
+
</SegmentTimeline>
|
|
2171
|
+
</SegmentTemplate>
|
|
2172
|
+
</Representation>
|
|
2173
|
+
<Representation bandwidth="3000000" codecs="avc1.64001f" height="720" id="2" width="1280">
|
|
2174
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_9init.mp4"
|
|
2175
|
+
media="visitalps_1080p30_video_720p_9_$Number%09d$.mp4" startNumber="1"
|
|
2176
|
+
timescale="90000">
|
|
2177
|
+
<SegmentTimeline>
|
|
2178
|
+
<S d="180000" r="6" t="0"/>
|
|
2179
|
+
<S d="86940" t="1260000"/>
|
|
2180
|
+
</SegmentTimeline>
|
|
2181
|
+
</SegmentTemplate>
|
|
2182
|
+
</Representation>
|
|
2183
|
+
<Representation bandwidth="1875000" codecs="avc1.64001f" height="720" id="3" width="1280">
|
|
2184
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_8init.mp4"
|
|
2185
|
+
media="visitalps_1080p30_video_720p_8_$Number%09d$.mp4" startNumber="1"
|
|
2186
|
+
timescale="90000">
|
|
2187
|
+
<SegmentTimeline>
|
|
2188
|
+
<S d="270000" r="3" t="0"/>
|
|
2189
|
+
<S d="266940" t="1080000"/>
|
|
2190
|
+
</SegmentTimeline>
|
|
2191
|
+
</SegmentTemplate>
|
|
2192
|
+
</Representation>
|
|
2193
|
+
<Representation bandwidth="1500000" codecs="avc1.64001f" height="540" id="4" width="960">
|
|
2194
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_540p_7init.mp4"
|
|
2195
|
+
media="visitalps_1080p30_video_540p_7_$Number%09d$.mp4" startNumber="1"
|
|
2196
|
+
timescale="90000">
|
|
2197
|
+
<SegmentTimeline>
|
|
2198
|
+
<S d="360000" r="2" t="0"/>
|
|
2199
|
+
<S d="266940" t="1080000"/>
|
|
2200
|
+
</SegmentTimeline>
|
|
2201
|
+
</SegmentTemplate>
|
|
2202
|
+
</Representation>
|
|
2203
|
+
<Representation bandwidth="1012500" codecs="avc1.64001e" height="396" id="5" width="704">
|
|
2204
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_6init.mp4"
|
|
2205
|
+
media="visitalps_1080p30_video_396p_6_$Number%09d$.mp4" startNumber="1"
|
|
2206
|
+
timescale="90000">
|
|
2207
|
+
<SegmentTimeline>
|
|
2208
|
+
<S d="360000" r="2" t="0"/>
|
|
2209
|
+
<S d="266940" t="1080000"/>
|
|
2210
|
+
</SegmentTimeline>
|
|
2211
|
+
</SegmentTemplate>
|
|
2212
|
+
</Representation>
|
|
2213
|
+
<Representation bandwidth="675000" codecs="avc1.64001e" height="396" id="6" width="704">
|
|
2214
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_5init.mp4"
|
|
2215
|
+
media="visitalps_1080p30_video_396p_5_$Number%09d$.mp4" startNumber="1"
|
|
2216
|
+
timescale="90000">
|
|
2217
|
+
<SegmentTimeline>
|
|
2218
|
+
<S d="360000" r="2" t="0"/>
|
|
2219
|
+
<S d="266940" t="1080000"/>
|
|
2220
|
+
</SegmentTimeline>
|
|
2221
|
+
</SegmentTemplate>
|
|
2222
|
+
</Representation>
|
|
2223
|
+
<Representation bandwidth="450000" codecs="avc1.64001e" height="396" id="7" width="704">
|
|
2224
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_4init.mp4"
|
|
2225
|
+
media="visitalps_1080p30_video_396p_4_$Number%09d$.mp4" startNumber="1"
|
|
2226
|
+
timescale="90000">
|
|
2227
|
+
<SegmentTimeline>
|
|
2228
|
+
<S d="360000" r="2" t="0"/>
|
|
2229
|
+
<S d="266940" t="1080000"/>
|
|
2230
|
+
</SegmentTimeline>
|
|
2231
|
+
</SegmentTemplate>
|
|
2232
|
+
</Representation>
|
|
2233
|
+
<Representation bandwidth="337500" codecs="avc1.640016" height="288" id="8" width="512">
|
|
2234
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_3init.mp4"
|
|
2235
|
+
media="visitalps_1080p30_video_288p_3_$Number%09d$.mp4" startNumber="1"
|
|
2236
|
+
timescale="90000">
|
|
2237
|
+
<SegmentTimeline>
|
|
2238
|
+
<S d="360000" r="2" t="0"/>
|
|
2239
|
+
<S d="266940" t="1080000"/>
|
|
2240
|
+
</SegmentTimeline>
|
|
2241
|
+
</SegmentTemplate>
|
|
2242
|
+
</Representation>
|
|
2243
|
+
<Representation bandwidth="225000" codecs="avc1.640016" height="288" id="9" width="512">
|
|
2244
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_2init.mp4"
|
|
2245
|
+
media="visitalps_1080p30_video_288p_2_$Number%09d$.mp4" startNumber="1"
|
|
2246
|
+
timescale="90000">
|
|
2247
|
+
<SegmentTimeline>
|
|
2248
|
+
<S d="360000" r="2" t="0"/>
|
|
2249
|
+
<S d="266940" t="1080000"/>
|
|
2250
|
+
</SegmentTimeline>
|
|
2251
|
+
</SegmentTemplate>
|
|
2252
|
+
</Representation>
|
|
2253
|
+
<Representation bandwidth="150000" codecs="avc1.640016" height="288" id="10" width="512">
|
|
2254
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_1init.mp4"
|
|
2255
|
+
media="visitalps_1080p30_video_288p_1_$Number%09d$.mp4" startNumber="1"
|
|
2256
|
+
timescale="90000">
|
|
2257
|
+
<SegmentTimeline>
|
|
2258
|
+
<S d="180000" r="6" t="0"/>
|
|
2259
|
+
<S d="86940" t="1260000"/>
|
|
2260
|
+
</SegmentTimeline>
|
|
2261
|
+
</SegmentTemplate>
|
|
2262
|
+
</Representation>
|
|
2263
|
+
</AdaptationSet>
|
|
2264
|
+
<AdaptationSet lang="eng" mimeType="audio/mp4" segmentAlignment="0">
|
|
2265
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2266
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2267
|
+
timescale="48000"/>
|
|
2268
|
+
<Representation audioSamplingRate="48000" bandwidth="128000" codecs="mp4a.40.2" id="11">
|
|
2269
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2270
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2271
|
+
timescale="48000">
|
|
2272
|
+
<SegmentTimeline>
|
|
2273
|
+
<S d="96000" r="6" t="0"/>
|
|
2274
|
+
<S d="46368" t="672000"/>
|
|
2275
|
+
</SegmentTimeline>
|
|
2276
|
+
</SegmentTemplate>
|
|
2277
|
+
</Representation>
|
|
2278
|
+
</AdaptationSet>
|
|
2279
|
+
</Period>
|
|
2280
|
+
<Period id="1550252760.0" start="PT430625H46M14.966S">
|
|
2281
|
+
<BaseURL>dash/</BaseURL>
|
|
2282
|
+
<EventStream schemeIdUri="urn:scte:scte35:2014:xml+bin" timescale="1">
|
|
2283
|
+
<Event duration="24" id="136" presentationTime="1550252760">
|
|
2284
|
+
<Signal xmlns="http://www.scte.org/schemas/35/2016">
|
|
2285
|
+
<Binary>/DAhAAAAAAAAAP/wEAUAAACIf+9/fgAg9YDAAAAAAABiJjIs</Binary>
|
|
2286
|
+
</Signal>
|
|
2287
|
+
</Event>
|
|
2288
|
+
</EventStream>
|
|
2289
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2290
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2291
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2292
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2293
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2294
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2295
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="74412133198368"
|
|
2296
|
+
timescale="48000">
|
|
2297
|
+
<SegmentTimeline>
|
|
2298
|
+
<S d="48128" t="74412133196544"/>
|
|
2299
|
+
<S d="48127" t="74412133244672"/>
|
|
2300
|
+
<S d="48129" t="74412133292799"/>
|
|
2301
|
+
<S d="48128" t="74412133340928"/>
|
|
2302
|
+
<S d="47104" t="74412133389056"/>
|
|
2303
|
+
<S d="48128" t="74412133436160"/>
|
|
2304
|
+
<S d="48127" t="74412133484288"/>
|
|
2305
|
+
<S d="48129" t="74412133532415"/>
|
|
2306
|
+
<S d="48128" t="74412133580544"/>
|
|
2307
|
+
<S d="48127" t="74412133628672"/>
|
|
2308
|
+
</SegmentTimeline>
|
|
2309
|
+
</SegmentTemplate>
|
|
2310
|
+
</Representation>
|
|
2311
|
+
</AdaptationSet>
|
|
2312
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2313
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2314
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2315
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2316
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2317
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="139522749746940"
|
|
2318
|
+
timescale="90000">
|
|
2319
|
+
<SegmentTimeline>
|
|
2320
|
+
<S d="90000" r="9" t="139522749660000"/>
|
|
2321
|
+
</SegmentTimeline>
|
|
2322
|
+
</SegmentTemplate>
|
|
2323
|
+
</Representation>
|
|
2324
|
+
</AdaptationSet>
|
|
2325
|
+
</Period>
|
|
2326
|
+
<Period id="1550252784.0" start="PT430625H46M24S">
|
|
2327
|
+
<BaseURL>dash/</BaseURL>
|
|
2328
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2329
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2330
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2331
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2332
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2333
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2334
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="74412133632000"
|
|
2335
|
+
startNumber="60" timescale="48000">
|
|
2336
|
+
<SegmentTimeline>
|
|
2337
|
+
<S d="48129" t="74412133676799"/>
|
|
2338
|
+
<S d="48128" t="74412133724928"/>
|
|
2339
|
+
<S d="47104" t="74412133773056"/>
|
|
2340
|
+
<S d="48128" t="74412133820160"/>
|
|
2341
|
+
<S d="48127" t="74412133868288"/>
|
|
2342
|
+
<S d="48129" t="74412133916415"/>
|
|
2343
|
+
<S d="48128" t="74412133964544"/>
|
|
2344
|
+
<S d="48127" t="74412134012672"/>
|
|
2345
|
+
<S d="48129" t="74412134060799"/>
|
|
2346
|
+
<S d="48128" t="74412134108928"/>
|
|
2347
|
+
<S d="47104" t="74412134157056"/>
|
|
2348
|
+
<S d="48128" t="74412134204160"/>
|
|
2349
|
+
<S d="48127" t="74412134252288"/>
|
|
2350
|
+
<S d="48129" t="74412134300415"/>
|
|
2351
|
+
<S d="48128" t="74412134348544"/>
|
|
2352
|
+
<S d="48127" t="74412134396672"/>
|
|
2353
|
+
<S d="48129" t="74412134444799"/>
|
|
2354
|
+
<S d="48128" t="74412134492928"/>
|
|
2355
|
+
<S d="47104" t="74412134541056"/>
|
|
2356
|
+
<S d="48128" t="74412134588160"/>
|
|
2357
|
+
<S d="48127" t="74412134636288"/>
|
|
2358
|
+
<S d="48129" t="74412134684415"/>
|
|
2359
|
+
<S d="48128" t="74412134732544"/>
|
|
2360
|
+
<S d="48127" t="74412134780672"/>
|
|
2361
|
+
<S d="48129" t="74412134828799"/>
|
|
2362
|
+
<S d="48128" t="74412134876928"/>
|
|
2363
|
+
<S d="47104" t="74412134925056"/>
|
|
2364
|
+
<S d="48128" t="74412134972160"/>
|
|
2365
|
+
<S d="48127" t="74412135020288"/>
|
|
2366
|
+
<S d="48129" t="74412135068415"/>
|
|
2367
|
+
<S d="48128" t="74412135116544"/>
|
|
2368
|
+
<S d="48127" t="74412135164672"/>
|
|
2369
|
+
<S d="48129" t="74412135212799"/>
|
|
2370
|
+
<S d="48128" t="74412135260928"/>
|
|
2371
|
+
<S d="47104" t="74412135309056"/>
|
|
2372
|
+
<S d="48128" t="74412135356160"/>
|
|
2373
|
+
<S d="48127" t="74412135404288"/>
|
|
2374
|
+
<S d="48129" t="74412135452415"/>
|
|
2375
|
+
<S d="48128" t="74412135500544"/>
|
|
2376
|
+
<S d="48127" t="74412135548672"/>
|
|
2377
|
+
<S d="48129" t="74412135596799"/>
|
|
2378
|
+
<S d="48128" t="74412135644928"/>
|
|
2379
|
+
<S d="47104" t="74412135693056"/>
|
|
2380
|
+
<S d="48128" t="74412135740160"/>
|
|
2381
|
+
<S d="48127" t="74412135788288"/>
|
|
2382
|
+
<S d="48129" t="74412135836415"/>
|
|
2383
|
+
<S d="48128" t="74412135884544"/>
|
|
2384
|
+
<S d="48127" t="74412135932672"/>
|
|
2385
|
+
<S d="48129" t="74412135980799"/>
|
|
2386
|
+
<S d="48128" t="74412136028928"/>
|
|
2387
|
+
<S d="47104" t="74412136077056"/>
|
|
2388
|
+
<S d="48128" t="74412136124160"/>
|
|
2389
|
+
<S d="48127" t="74412136172288"/>
|
|
2390
|
+
<S d="48129" t="74412136220415"/>
|
|
2391
|
+
<S d="48128" t="74412136268544"/>
|
|
2392
|
+
<S d="48127" t="74412136316672"/>
|
|
2393
|
+
<S d="48129" t="74412136364799"/>
|
|
2394
|
+
<S d="48128" t="74412136412928"/>
|
|
2395
|
+
<S d="47104" t="74412136461056"/>
|
|
2396
|
+
<S d="48128" t="74412136508160"/>
|
|
2397
|
+
<S d="48127" t="74412136556288"/>
|
|
2398
|
+
<S d="48129" t="74412136604415"/>
|
|
2399
|
+
<S d="48128" t="74412136652544"/>
|
|
2400
|
+
<S d="48127" t="74412136700672"/>
|
|
2401
|
+
<S d="48129" t="74412136748799"/>
|
|
2402
|
+
<S d="48128" t="74412136796928"/>
|
|
2403
|
+
<S d="47104" t="74412136845056"/>
|
|
2404
|
+
<S d="48128" t="74412136892160"/>
|
|
2405
|
+
<S d="48127" t="74412136940288"/>
|
|
2406
|
+
<S d="48129" t="74412136988415"/>
|
|
2407
|
+
<S d="48128" t="74412137036544"/>
|
|
2408
|
+
<S d="48127" t="74412137084672"/>
|
|
2409
|
+
<S d="48129" t="74412137132799"/>
|
|
2410
|
+
<S d="48128" t="74412137180928"/>
|
|
2411
|
+
<S d="47104" t="74412137229056"/>
|
|
2412
|
+
<S d="48128" t="74412137276160"/>
|
|
2413
|
+
<S d="48127" t="74412137324288"/>
|
|
2414
|
+
<S d="48129" t="74412137372415"/>
|
|
2415
|
+
<S d="48128" t="74412137420544"/>
|
|
2416
|
+
<S d="48127" t="74412137468672"/>
|
|
2417
|
+
<S d="48129" t="74412137516799"/>
|
|
2418
|
+
<S d="48128" t="74412137564928"/>
|
|
2419
|
+
<S d="47104" t="74412137613056"/>
|
|
2420
|
+
<S d="48128" t="74412137660160"/>
|
|
2421
|
+
<S d="48127" t="74412137708288"/>
|
|
2422
|
+
<S d="48129" t="74412137756415"/>
|
|
2423
|
+
<S d="48128" t="74412137804544"/>
|
|
2424
|
+
<S d="48127" t="74412137852672"/>
|
|
2425
|
+
<S d="48129" t="74412137900799"/>
|
|
2426
|
+
<S d="48128" t="74412137948928"/>
|
|
2427
|
+
<S d="47104" t="74412137997056"/>
|
|
2428
|
+
<S d="48128" t="74412138044160"/>
|
|
2429
|
+
<S d="48127" t="74412138092288"/>
|
|
2430
|
+
<S d="48129" t="74412138140415"/>
|
|
2431
|
+
<S d="48128" t="74412138188544"/>
|
|
2432
|
+
<S d="48127" t="74412138236672"/>
|
|
2433
|
+
</SegmentTimeline>
|
|
2434
|
+
</SegmentTemplate>
|
|
2435
|
+
</Representation>
|
|
2436
|
+
</AdaptationSet>
|
|
2437
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2438
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2439
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2440
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2441
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2442
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="139522750560000"
|
|
2443
|
+
startNumber="60" timescale="90000">
|
|
2444
|
+
<SegmentTimeline>
|
|
2445
|
+
<S d="90000" r="95" t="139522750560000"/>
|
|
2446
|
+
</SegmentTimeline>
|
|
2447
|
+
</SegmentTemplate>
|
|
2448
|
+
</Representation>
|
|
2449
|
+
</AdaptationSet>
|
|
2450
|
+
</Period>
|
|
2451
|
+
<Period id="1550252880.0_1" start="PT430625H48M">
|
|
2452
|
+
<BaseURL>http://d2gh0tfpz97e4o.cloudfront.net/visitalps/</BaseURL>
|
|
2453
|
+
<AdaptationSet bitstreamSwitching="false" frameRate="30/1" mimeType="video/mp4" segmentAlignment="true"
|
|
2454
|
+
startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
|
|
2455
|
+
<SegmentTemplate startNumber="1" timescale="90000"/>
|
|
2456
|
+
<Representation bandwidth="7500000" codecs="avc1.640028" height="1080" id="1" width="1920">
|
|
2457
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_1080p_10init.mp4"
|
|
2458
|
+
media="visitalps_1080p30_video_1080p_10_$Number%09d$.mp4" startNumber="1"
|
|
2459
|
+
timescale="90000">
|
|
2460
|
+
<SegmentTimeline>
|
|
2461
|
+
<S d="180000" r="6" t="0"/>
|
|
2462
|
+
<S d="86940" t="1260000"/>
|
|
2463
|
+
</SegmentTimeline>
|
|
2464
|
+
</SegmentTemplate>
|
|
2465
|
+
</Representation>
|
|
2466
|
+
<Representation bandwidth="3000000" codecs="avc1.64001f" height="720" id="2" width="1280">
|
|
2467
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_9init.mp4"
|
|
2468
|
+
media="visitalps_1080p30_video_720p_9_$Number%09d$.mp4" startNumber="1"
|
|
2469
|
+
timescale="90000">
|
|
2470
|
+
<SegmentTimeline>
|
|
2471
|
+
<S d="180000" r="6" t="0"/>
|
|
2472
|
+
<S d="86940" t="1260000"/>
|
|
2473
|
+
</SegmentTimeline>
|
|
2474
|
+
</SegmentTemplate>
|
|
2475
|
+
</Representation>
|
|
2476
|
+
<Representation bandwidth="1875000" codecs="avc1.64001f" height="720" id="3" width="1280">
|
|
2477
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_8init.mp4"
|
|
2478
|
+
media="visitalps_1080p30_video_720p_8_$Number%09d$.mp4" startNumber="1"
|
|
2479
|
+
timescale="90000">
|
|
2480
|
+
<SegmentTimeline>
|
|
2481
|
+
<S d="270000" r="3" t="0"/>
|
|
2482
|
+
<S d="266940" t="1080000"/>
|
|
2483
|
+
</SegmentTimeline>
|
|
2484
|
+
</SegmentTemplate>
|
|
2485
|
+
</Representation>
|
|
2486
|
+
<Representation bandwidth="1500000" codecs="avc1.64001f" height="540" id="4" width="960">
|
|
2487
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_540p_7init.mp4"
|
|
2488
|
+
media="visitalps_1080p30_video_540p_7_$Number%09d$.mp4" startNumber="1"
|
|
2489
|
+
timescale="90000">
|
|
2490
|
+
<SegmentTimeline>
|
|
2491
|
+
<S d="360000" r="2" t="0"/>
|
|
2492
|
+
<S d="266940" t="1080000"/>
|
|
2493
|
+
</SegmentTimeline>
|
|
2494
|
+
</SegmentTemplate>
|
|
2495
|
+
</Representation>
|
|
2496
|
+
<Representation bandwidth="1012500" codecs="avc1.64001e" height="396" id="5" width="704">
|
|
2497
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_6init.mp4"
|
|
2498
|
+
media="visitalps_1080p30_video_396p_6_$Number%09d$.mp4" startNumber="1"
|
|
2499
|
+
timescale="90000">
|
|
2500
|
+
<SegmentTimeline>
|
|
2501
|
+
<S d="360000" r="2" t="0"/>
|
|
2502
|
+
<S d="266940" t="1080000"/>
|
|
2503
|
+
</SegmentTimeline>
|
|
2504
|
+
</SegmentTemplate>
|
|
2505
|
+
</Representation>
|
|
2506
|
+
<Representation bandwidth="675000" codecs="avc1.64001e" height="396" id="6" width="704">
|
|
2507
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_5init.mp4"
|
|
2508
|
+
media="visitalps_1080p30_video_396p_5_$Number%09d$.mp4" startNumber="1"
|
|
2509
|
+
timescale="90000">
|
|
2510
|
+
<SegmentTimeline>
|
|
2511
|
+
<S d="360000" r="2" t="0"/>
|
|
2512
|
+
<S d="266940" t="1080000"/>
|
|
2513
|
+
</SegmentTimeline>
|
|
2514
|
+
</SegmentTemplate>
|
|
2515
|
+
</Representation>
|
|
2516
|
+
<Representation bandwidth="450000" codecs="avc1.64001e" height="396" id="7" width="704">
|
|
2517
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_4init.mp4"
|
|
2518
|
+
media="visitalps_1080p30_video_396p_4_$Number%09d$.mp4" startNumber="1"
|
|
2519
|
+
timescale="90000">
|
|
2520
|
+
<SegmentTimeline>
|
|
2521
|
+
<S d="360000" r="2" t="0"/>
|
|
2522
|
+
<S d="266940" t="1080000"/>
|
|
2523
|
+
</SegmentTimeline>
|
|
2524
|
+
</SegmentTemplate>
|
|
2525
|
+
</Representation>
|
|
2526
|
+
<Representation bandwidth="337500" codecs="avc1.640016" height="288" id="8" width="512">
|
|
2527
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_3init.mp4"
|
|
2528
|
+
media="visitalps_1080p30_video_288p_3_$Number%09d$.mp4" startNumber="1"
|
|
2529
|
+
timescale="90000">
|
|
2530
|
+
<SegmentTimeline>
|
|
2531
|
+
<S d="360000" r="2" t="0"/>
|
|
2532
|
+
<S d="266940" t="1080000"/>
|
|
2533
|
+
</SegmentTimeline>
|
|
2534
|
+
</SegmentTemplate>
|
|
2535
|
+
</Representation>
|
|
2536
|
+
<Representation bandwidth="225000" codecs="avc1.640016" height="288" id="9" width="512">
|
|
2537
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_2init.mp4"
|
|
2538
|
+
media="visitalps_1080p30_video_288p_2_$Number%09d$.mp4" startNumber="1"
|
|
2539
|
+
timescale="90000">
|
|
2540
|
+
<SegmentTimeline>
|
|
2541
|
+
<S d="360000" r="2" t="0"/>
|
|
2542
|
+
<S d="266940" t="1080000"/>
|
|
2543
|
+
</SegmentTimeline>
|
|
2544
|
+
</SegmentTemplate>
|
|
2545
|
+
</Representation>
|
|
2546
|
+
<Representation bandwidth="150000" codecs="avc1.640016" height="288" id="10" width="512">
|
|
2547
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_1init.mp4"
|
|
2548
|
+
media="visitalps_1080p30_video_288p_1_$Number%09d$.mp4" startNumber="1"
|
|
2549
|
+
timescale="90000">
|
|
2550
|
+
<SegmentTimeline>
|
|
2551
|
+
<S d="180000" r="6" t="0"/>
|
|
2552
|
+
<S d="86940" t="1260000"/>
|
|
2553
|
+
</SegmentTimeline>
|
|
2554
|
+
</SegmentTemplate>
|
|
2555
|
+
</Representation>
|
|
2556
|
+
</AdaptationSet>
|
|
2557
|
+
<AdaptationSet lang="eng" mimeType="audio/mp4" segmentAlignment="0">
|
|
2558
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2559
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2560
|
+
timescale="48000"/>
|
|
2561
|
+
<Representation audioSamplingRate="48000" bandwidth="128000" codecs="mp4a.40.2" id="11">
|
|
2562
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2563
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2564
|
+
timescale="48000">
|
|
2565
|
+
<SegmentTimeline>
|
|
2566
|
+
<S d="96000" r="6" t="0"/>
|
|
2567
|
+
<S d="46368" t="672000"/>
|
|
2568
|
+
</SegmentTimeline>
|
|
2569
|
+
</SegmentTemplate>
|
|
2570
|
+
</Representation>
|
|
2571
|
+
</AdaptationSet>
|
|
2572
|
+
</Period>
|
|
2573
|
+
<Period id="1550252880.0" start="PT430625H48M14.966S">
|
|
2574
|
+
<BaseURL>dash/</BaseURL>
|
|
2575
|
+
<EventStream schemeIdUri="urn:scte:scte35:2014:xml+bin" timescale="1">
|
|
2576
|
+
<Event duration="24" id="137" presentationTime="1550252880">
|
|
2577
|
+
<Signal xmlns="http://www.scte.org/schemas/35/2016">
|
|
2578
|
+
<Binary>/DAhAAAAAAAAAP/wEAUAAACJf+9/fgAg9YDAAAAAAAC/KdNe</Binary>
|
|
2579
|
+
</Signal>
|
|
2580
|
+
</Event>
|
|
2581
|
+
</EventStream>
|
|
2582
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2583
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2584
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2585
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2586
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2587
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2588
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="74412138958368"
|
|
2589
|
+
timescale="48000">
|
|
2590
|
+
<SegmentTimeline>
|
|
2591
|
+
<S d="48128" t="74412138956544"/>
|
|
2592
|
+
<S d="48127" t="74412139004672"/>
|
|
2593
|
+
<S d="48129" t="74412139052799"/>
|
|
2594
|
+
<S d="48128" t="74412139100928"/>
|
|
2595
|
+
<S d="47104" t="74412139149056"/>
|
|
2596
|
+
<S d="48128" t="74412139196160"/>
|
|
2597
|
+
<S d="48127" t="74412139244288"/>
|
|
2598
|
+
<S d="48129" t="74412139292415"/>
|
|
2599
|
+
<S d="48128" t="74412139340544"/>
|
|
2600
|
+
<S d="48127" t="74412139388672"/>
|
|
2601
|
+
</SegmentTimeline>
|
|
2602
|
+
</SegmentTemplate>
|
|
2603
|
+
</Representation>
|
|
2604
|
+
</AdaptationSet>
|
|
2605
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2606
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2607
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2608
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2609
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2610
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="139522760546940"
|
|
2611
|
+
timescale="90000">
|
|
2612
|
+
<SegmentTimeline>
|
|
2613
|
+
<S d="90000" r="9" t="139522760460000"/>
|
|
2614
|
+
</SegmentTimeline>
|
|
2615
|
+
</SegmentTemplate>
|
|
2616
|
+
</Representation>
|
|
2617
|
+
</AdaptationSet>
|
|
2618
|
+
</Period>
|
|
2619
|
+
<Period id="1550252904.0" start="PT430625H48M24S">
|
|
2620
|
+
<BaseURL>dash/</BaseURL>
|
|
2621
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2622
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2623
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2624
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2625
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2626
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2627
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="74412139392000"
|
|
2628
|
+
startNumber="180" timescale="48000">
|
|
2629
|
+
<SegmentTimeline>
|
|
2630
|
+
<S d="48129" t="74412139436799"/>
|
|
2631
|
+
<S d="48128" t="74412139484928"/>
|
|
2632
|
+
<S d="47104" t="74412139533056"/>
|
|
2633
|
+
<S d="48128" t="74412139580160"/>
|
|
2634
|
+
<S d="48127" t="74412139628288"/>
|
|
2635
|
+
<S d="48129" t="74412139676415"/>
|
|
2636
|
+
<S d="48128" t="74412139724544"/>
|
|
2637
|
+
<S d="48127" t="74412139772672"/>
|
|
2638
|
+
<S d="48129" t="74412139820799"/>
|
|
2639
|
+
<S d="48128" t="74412139868928"/>
|
|
2640
|
+
<S d="47104" t="74412139917056"/>
|
|
2641
|
+
<S d="48128" t="74412139964160"/>
|
|
2642
|
+
<S d="48127" t="74412140012288"/>
|
|
2643
|
+
<S d="48129" t="74412140060415"/>
|
|
2644
|
+
<S d="48128" t="74412140108544"/>
|
|
2645
|
+
<S d="48127" t="74412140156672"/>
|
|
2646
|
+
<S d="48129" t="74412140204799"/>
|
|
2647
|
+
<S d="48128" t="74412140252928"/>
|
|
2648
|
+
<S d="47104" t="74412140301056"/>
|
|
2649
|
+
<S d="48128" t="74412140348160"/>
|
|
2650
|
+
<S d="48127" t="74412140396288"/>
|
|
2651
|
+
<S d="48129" t="74412140444415"/>
|
|
2652
|
+
<S d="48128" t="74412140492544"/>
|
|
2653
|
+
<S d="48127" t="74412140540672"/>
|
|
2654
|
+
<S d="48129" t="74412140588799"/>
|
|
2655
|
+
<S d="48128" t="74412140636928"/>
|
|
2656
|
+
<S d="47104" t="74412140685056"/>
|
|
2657
|
+
<S d="48128" t="74412140732160"/>
|
|
2658
|
+
<S d="48127" t="74412140780288"/>
|
|
2659
|
+
<S d="48129" t="74412140828415"/>
|
|
2660
|
+
<S d="48128" t="74412140876544"/>
|
|
2661
|
+
<S d="48127" t="74412140924672"/>
|
|
2662
|
+
<S d="48129" t="74412140972799"/>
|
|
2663
|
+
<S d="48128" t="74412141020928"/>
|
|
2664
|
+
<S d="47104" t="74412141069056"/>
|
|
2665
|
+
<S d="48128" t="74412141116160"/>
|
|
2666
|
+
<S d="48127" t="74412141164288"/>
|
|
2667
|
+
<S d="48129" t="74412141212415"/>
|
|
2668
|
+
<S d="48128" t="74412141260544"/>
|
|
2669
|
+
<S d="48127" t="74412141308672"/>
|
|
2670
|
+
<S d="48129" t="74412141356799"/>
|
|
2671
|
+
<S d="48128" t="74412141404928"/>
|
|
2672
|
+
<S d="47104" t="74412141453056"/>
|
|
2673
|
+
<S d="48128" t="74412141500160"/>
|
|
2674
|
+
<S d="48127" t="74412141548288"/>
|
|
2675
|
+
<S d="48129" t="74412141596415"/>
|
|
2676
|
+
<S d="48128" t="74412141644544"/>
|
|
2677
|
+
<S d="48127" t="74412141692672"/>
|
|
2678
|
+
<S d="48129" t="74412141740799"/>
|
|
2679
|
+
<S d="48128" t="74412141788928"/>
|
|
2680
|
+
<S d="47104" t="74412141837056"/>
|
|
2681
|
+
<S d="48128" t="74412141884160"/>
|
|
2682
|
+
<S d="48127" t="74412141932288"/>
|
|
2683
|
+
<S d="48129" t="74412141980415"/>
|
|
2684
|
+
<S d="48128" t="74412142028544"/>
|
|
2685
|
+
<S d="48127" t="74412142076672"/>
|
|
2686
|
+
<S d="48129" t="74412142124799"/>
|
|
2687
|
+
<S d="48128" t="74412142172928"/>
|
|
2688
|
+
<S d="47104" t="74412142221056"/>
|
|
2689
|
+
<S d="48128" t="74412142268160"/>
|
|
2690
|
+
<S d="48127" t="74412142316288"/>
|
|
2691
|
+
<S d="48129" t="74412142364415"/>
|
|
2692
|
+
<S d="48128" t="74412142412544"/>
|
|
2693
|
+
<S d="48127" t="74412142460672"/>
|
|
2694
|
+
<S d="48129" t="74412142508799"/>
|
|
2695
|
+
<S d="48128" t="74412142556928"/>
|
|
2696
|
+
<S d="47104" t="74412142605056"/>
|
|
2697
|
+
<S d="48128" t="74412142652160"/>
|
|
2698
|
+
<S d="48127" t="74412142700288"/>
|
|
2699
|
+
<S d="48129" t="74412142748415"/>
|
|
2700
|
+
<S d="48128" t="74412142796544"/>
|
|
2701
|
+
<S d="48127" t="74412142844672"/>
|
|
2702
|
+
<S d="48129" t="74412142892799"/>
|
|
2703
|
+
<S d="48128" t="74412142940928"/>
|
|
2704
|
+
<S d="47104" t="74412142989056"/>
|
|
2705
|
+
<S d="48128" t="74412143036160"/>
|
|
2706
|
+
<S d="48127" t="74412143084288"/>
|
|
2707
|
+
<S d="48129" t="74412143132415"/>
|
|
2708
|
+
<S d="48128" t="74412143180544"/>
|
|
2709
|
+
<S d="48127" t="74412143228672"/>
|
|
2710
|
+
<S d="48129" t="74412143276799"/>
|
|
2711
|
+
<S d="48128" t="74412143324928"/>
|
|
2712
|
+
<S d="47104" t="74412143373056"/>
|
|
2713
|
+
<S d="48128" t="74412143420160"/>
|
|
2714
|
+
<S d="48127" t="74412143468288"/>
|
|
2715
|
+
<S d="48129" t="74412143516415"/>
|
|
2716
|
+
<S d="48128" t="74412143564544"/>
|
|
2717
|
+
<S d="48127" t="74412143612672"/>
|
|
2718
|
+
<S d="48129" t="74412143660799"/>
|
|
2719
|
+
<S d="48128" t="74412143708928"/>
|
|
2720
|
+
<S d="47104" t="74412143757056"/>
|
|
2721
|
+
<S d="48128" t="74412143804160"/>
|
|
2722
|
+
<S d="48127" t="74412143852288"/>
|
|
2723
|
+
<S d="48129" t="74412143900415"/>
|
|
2724
|
+
<S d="48128" t="74412143948544"/>
|
|
2725
|
+
<S d="48127" t="74412143996672"/>
|
|
2726
|
+
</SegmentTimeline>
|
|
2727
|
+
</SegmentTemplate>
|
|
2728
|
+
</Representation>
|
|
2729
|
+
</AdaptationSet>
|
|
2730
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2731
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2732
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2733
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2734
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2735
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="139522761360000"
|
|
2736
|
+
startNumber="180" timescale="90000">
|
|
2737
|
+
<SegmentTimeline>
|
|
2738
|
+
<S d="90000" r="95" t="139522761360000"/>
|
|
2739
|
+
</SegmentTimeline>
|
|
2740
|
+
</SegmentTemplate>
|
|
2741
|
+
</Representation>
|
|
2742
|
+
</AdaptationSet>
|
|
2743
|
+
</Period>
|
|
2744
|
+
<Period id="1550253000.0_1" start="PT430625H50M">
|
|
2745
|
+
<BaseURL>http://d2gh0tfpz97e4o.cloudfront.net/visitalps/</BaseURL>
|
|
2746
|
+
<AdaptationSet bitstreamSwitching="false" frameRate="30/1" mimeType="video/mp4" segmentAlignment="true"
|
|
2747
|
+
startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
|
|
2748
|
+
<SegmentTemplate startNumber="1" timescale="90000"/>
|
|
2749
|
+
<Representation bandwidth="7500000" codecs="avc1.640028" height="1080" id="1" width="1920">
|
|
2750
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_1080p_10init.mp4"
|
|
2751
|
+
media="visitalps_1080p30_video_1080p_10_$Number%09d$.mp4" startNumber="1"
|
|
2752
|
+
timescale="90000">
|
|
2753
|
+
<SegmentTimeline>
|
|
2754
|
+
<S d="180000" r="6" t="0"/>
|
|
2755
|
+
<S d="86940" t="1260000"/>
|
|
2756
|
+
</SegmentTimeline>
|
|
2757
|
+
</SegmentTemplate>
|
|
2758
|
+
</Representation>
|
|
2759
|
+
<Representation bandwidth="3000000" codecs="avc1.64001f" height="720" id="2" width="1280">
|
|
2760
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_9init.mp4"
|
|
2761
|
+
media="visitalps_1080p30_video_720p_9_$Number%09d$.mp4" startNumber="1"
|
|
2762
|
+
timescale="90000">
|
|
2763
|
+
<SegmentTimeline>
|
|
2764
|
+
<S d="180000" r="6" t="0"/>
|
|
2765
|
+
<S d="86940" t="1260000"/>
|
|
2766
|
+
</SegmentTimeline>
|
|
2767
|
+
</SegmentTemplate>
|
|
2768
|
+
</Representation>
|
|
2769
|
+
<Representation bandwidth="1875000" codecs="avc1.64001f" height="720" id="3" width="1280">
|
|
2770
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_720p_8init.mp4"
|
|
2771
|
+
media="visitalps_1080p30_video_720p_8_$Number%09d$.mp4" startNumber="1"
|
|
2772
|
+
timescale="90000">
|
|
2773
|
+
<SegmentTimeline>
|
|
2774
|
+
<S d="270000" r="3" t="0"/>
|
|
2775
|
+
<S d="266940" t="1080000"/>
|
|
2776
|
+
</SegmentTimeline>
|
|
2777
|
+
</SegmentTemplate>
|
|
2778
|
+
</Representation>
|
|
2779
|
+
<Representation bandwidth="1500000" codecs="avc1.64001f" height="540" id="4" width="960">
|
|
2780
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_540p_7init.mp4"
|
|
2781
|
+
media="visitalps_1080p30_video_540p_7_$Number%09d$.mp4" startNumber="1"
|
|
2782
|
+
timescale="90000">
|
|
2783
|
+
<SegmentTimeline>
|
|
2784
|
+
<S d="360000" r="2" t="0"/>
|
|
2785
|
+
<S d="266940" t="1080000"/>
|
|
2786
|
+
</SegmentTimeline>
|
|
2787
|
+
</SegmentTemplate>
|
|
2788
|
+
</Representation>
|
|
2789
|
+
<Representation bandwidth="1012500" codecs="avc1.64001e" height="396" id="5" width="704">
|
|
2790
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_6init.mp4"
|
|
2791
|
+
media="visitalps_1080p30_video_396p_6_$Number%09d$.mp4" startNumber="1"
|
|
2792
|
+
timescale="90000">
|
|
2793
|
+
<SegmentTimeline>
|
|
2794
|
+
<S d="360000" r="2" t="0"/>
|
|
2795
|
+
<S d="266940" t="1080000"/>
|
|
2796
|
+
</SegmentTimeline>
|
|
2797
|
+
</SegmentTemplate>
|
|
2798
|
+
</Representation>
|
|
2799
|
+
<Representation bandwidth="675000" codecs="avc1.64001e" height="396" id="6" width="704">
|
|
2800
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_5init.mp4"
|
|
2801
|
+
media="visitalps_1080p30_video_396p_5_$Number%09d$.mp4" startNumber="1"
|
|
2802
|
+
timescale="90000">
|
|
2803
|
+
<SegmentTimeline>
|
|
2804
|
+
<S d="360000" r="2" t="0"/>
|
|
2805
|
+
<S d="266940" t="1080000"/>
|
|
2806
|
+
</SegmentTimeline>
|
|
2807
|
+
</SegmentTemplate>
|
|
2808
|
+
</Representation>
|
|
2809
|
+
<Representation bandwidth="450000" codecs="avc1.64001e" height="396" id="7" width="704">
|
|
2810
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_396p_4init.mp4"
|
|
2811
|
+
media="visitalps_1080p30_video_396p_4_$Number%09d$.mp4" startNumber="1"
|
|
2812
|
+
timescale="90000">
|
|
2813
|
+
<SegmentTimeline>
|
|
2814
|
+
<S d="360000" r="2" t="0"/>
|
|
2815
|
+
<S d="266940" t="1080000"/>
|
|
2816
|
+
</SegmentTimeline>
|
|
2817
|
+
</SegmentTemplate>
|
|
2818
|
+
</Representation>
|
|
2819
|
+
<Representation bandwidth="337500" codecs="avc1.640016" height="288" id="8" width="512">
|
|
2820
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_3init.mp4"
|
|
2821
|
+
media="visitalps_1080p30_video_288p_3_$Number%09d$.mp4" startNumber="1"
|
|
2822
|
+
timescale="90000">
|
|
2823
|
+
<SegmentTimeline>
|
|
2824
|
+
<S d="360000" r="2" t="0"/>
|
|
2825
|
+
<S d="266940" t="1080000"/>
|
|
2826
|
+
</SegmentTimeline>
|
|
2827
|
+
</SegmentTemplate>
|
|
2828
|
+
</Representation>
|
|
2829
|
+
<Representation bandwidth="225000" codecs="avc1.640016" height="288" id="9" width="512">
|
|
2830
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_2init.mp4"
|
|
2831
|
+
media="visitalps_1080p30_video_288p_2_$Number%09d$.mp4" startNumber="1"
|
|
2832
|
+
timescale="90000">
|
|
2833
|
+
<SegmentTimeline>
|
|
2834
|
+
<S d="360000" r="2" t="0"/>
|
|
2835
|
+
<S d="266940" t="1080000"/>
|
|
2836
|
+
</SegmentTimeline>
|
|
2837
|
+
</SegmentTemplate>
|
|
2838
|
+
</Representation>
|
|
2839
|
+
<Representation bandwidth="150000" codecs="avc1.640016" height="288" id="10" width="512">
|
|
2840
|
+
<SegmentTemplate initialization="visitalps_1080p30_video_288p_1init.mp4"
|
|
2841
|
+
media="visitalps_1080p30_video_288p_1_$Number%09d$.mp4" startNumber="1"
|
|
2842
|
+
timescale="90000">
|
|
2843
|
+
<SegmentTimeline>
|
|
2844
|
+
<S d="180000" r="6" t="0"/>
|
|
2845
|
+
<S d="86940" t="1260000"/>
|
|
2846
|
+
</SegmentTimeline>
|
|
2847
|
+
</SegmentTemplate>
|
|
2848
|
+
</Representation>
|
|
2849
|
+
</AdaptationSet>
|
|
2850
|
+
<AdaptationSet lang="eng" mimeType="audio/mp4" segmentAlignment="0">
|
|
2851
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2852
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2853
|
+
timescale="48000"/>
|
|
2854
|
+
<Representation audioSamplingRate="48000" bandwidth="128000" codecs="mp4a.40.2" id="11">
|
|
2855
|
+
<SegmentTemplate initialization="visitalps_1080p30_audio_aac_128kinit.mp4"
|
|
2856
|
+
media="visitalps_1080p30_audio_aac_128k_$Number%09d$.mp4" startNumber="1"
|
|
2857
|
+
timescale="48000">
|
|
2858
|
+
<SegmentTimeline>
|
|
2859
|
+
<S d="96000" r="6" t="0"/>
|
|
2860
|
+
<S d="46368" t="672000"/>
|
|
2861
|
+
</SegmentTimeline>
|
|
2862
|
+
</SegmentTemplate>
|
|
2863
|
+
</Representation>
|
|
2864
|
+
</AdaptationSet>
|
|
2865
|
+
</Period>
|
|
2866
|
+
<Period id="1550253000.0" start="PT430625H50M14.966S">
|
|
2867
|
+
<BaseURL>dash/</BaseURL>
|
|
2868
|
+
<EventStream schemeIdUri="urn:scte:scte35:2014:xml+bin" timescale="1">
|
|
2869
|
+
<Event duration="24" id="138" presentationTime="1550253000">
|
|
2870
|
+
<Signal xmlns="http://www.scte.org/schemas/35/2016">
|
|
2871
|
+
<Binary>/DAhAAAAAAAAAP/wEAUAAACKf+9/fgAg9YDAAAAAAADc+O1/</Binary>
|
|
2872
|
+
</Signal>
|
|
2873
|
+
</Event>
|
|
2874
|
+
</EventStream>
|
|
2875
|
+
<AdaptationSet audioSamplingRate="48000" codecs="mp4a.40.2" contentType="audio" group="1" id="1"
|
|
2876
|
+
mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
|
|
2877
|
+
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"/>
|
|
2878
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2879
|
+
<Representation bandwidth="69000" id="audio=69000">
|
|
2880
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2881
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="74412144718368"
|
|
2882
|
+
timescale="48000">
|
|
2883
|
+
<SegmentTimeline>
|
|
2884
|
+
<S d="48128" t="74412144716544"/>
|
|
2885
|
+
<S d="48127" t="74412144764672"/>
|
|
2886
|
+
<S d="48129" t="74412144812799"/>
|
|
2887
|
+
<S d="48128" t="74412144860928"/>
|
|
2888
|
+
<S d="47104" t="74412144909056"/>
|
|
2889
|
+
<S d="48128" t="74412144956160"/>
|
|
2890
|
+
<S d="48127" t="74412145004288"/>
|
|
2891
|
+
<S d="48129" t="74412145052415"/>
|
|
2892
|
+
<S d="48128" t="74412145100544"/>
|
|
2893
|
+
<S d="48127" t="74412145148672"/>
|
|
2894
|
+
</SegmentTimeline>
|
|
2895
|
+
</SegmentTemplate>
|
|
2896
|
+
</Representation>
|
|
2897
|
+
</AdaptationSet>
|
|
2898
|
+
<AdaptationSet codecs="avc1.64001F" contentType="video" group="2" height="720" id="2" mimeType="video/mp4"
|
|
2899
|
+
par="16:9" sar="1:1" segmentAlignment="true" startWithSAP="1" width="1280">
|
|
2900
|
+
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
|
|
2901
|
+
<Representation bandwidth="700000" id="video=700000" scanType="progressive">
|
|
2902
|
+
<SegmentTemplate initialization="scte35-$RepresentationID$.dash"
|
|
2903
|
+
media="scte35-$RepresentationID$-$Time$.dash" presentationTimeOffset="139522771346940"
|
|
2904
|
+
timescale="90000">
|
|
2905
|
+
<SegmentTimeline>
|
|
2906
|
+
<S d="90000" r="9" t="139522771260000"/>
|
|
2907
|
+
</SegmentTimeline>
|
|
2908
|
+
</SegmentTemplate>
|
|
2909
|
+
</Representation>
|
|
2910
|
+
</AdaptationSet>
|
|
2911
|
+
</Period>
|
|
2912
|
+
</MPD>
|
|
2913
|
+
`;
|
|
2914
|
+
export {
|
|
2915
|
+
ControlledMediaSource,
|
|
2916
|
+
FrequencyAnalyzer,
|
|
2917
|
+
MockAutoResetController,
|
|
2918
|
+
MockBufferingController,
|
|
2919
|
+
MockCapabilities,
|
|
2920
|
+
MockClient,
|
|
2921
|
+
MockCommonEme,
|
|
2922
|
+
MockCommonMediaKeySession,
|
|
2923
|
+
MockCommonMediaKeySystemAccess,
|
|
2924
|
+
MockCommonMediaKeys,
|
|
2925
|
+
MockContentStream,
|
|
2926
|
+
MockDashManifestController,
|
|
2927
|
+
MockDrmController,
|
|
2928
|
+
MockHistoryLogHandler,
|
|
2929
|
+
MockHlsManifestController,
|
|
2930
|
+
MockLoudnessNormalizationController,
|
|
2931
|
+
MockMSMediaKeyError,
|
|
2932
|
+
MockMSMediaKeyMessageEvent,
|
|
2933
|
+
MockMSMediaKeySession,
|
|
2934
|
+
MockMSMediaKeys,
|
|
2935
|
+
MockMediaSourceController,
|
|
2936
|
+
MockPlaybackController,
|
|
2937
|
+
MockPlaybackSource,
|
|
2938
|
+
MockQualitySelector,
|
|
2939
|
+
MockSegmentController,
|
|
2940
|
+
MockSourceBufferController,
|
|
2941
|
+
MockTrack,
|
|
2942
|
+
MockTrackController,
|
|
2943
|
+
MockTrackFactory,
|
|
2944
|
+
MockWebKitMediaKeyError,
|
|
2945
|
+
MockWebKitMediaKeyMessageEvent,
|
|
2946
|
+
MockWebKitMediaKeySession,
|
|
2947
|
+
MockWebKitMediaKeys,
|
|
2948
|
+
VinylSuite,
|
|
2949
|
+
assertFrequency,
|
|
2950
|
+
createMockDashDependencies,
|
|
2951
|
+
createMockHlsDependencies,
|
|
2952
|
+
createMockVinylDependencies,
|
|
2953
|
+
createVinylSuite,
|
|
2954
|
+
dash_personalizedResponse,
|
|
2955
|
+
dash_segmentBase,
|
|
2956
|
+
dash_segmentList,
|
|
2957
|
+
dash_segmentListMediaRange,
|
|
2958
|
+
expectPausedState,
|
|
2959
|
+
expectPendingPlaying,
|
|
2960
|
+
expectPlayingState,
|
|
2961
|
+
expectPlaylistPlays,
|
|
2962
|
+
expectTimeDoesNotElapse,
|
|
2963
|
+
expectTimeElapses,
|
|
2964
|
+
expectTrackCanSeekTo,
|
|
2965
|
+
expectTrackPlays,
|
|
2966
|
+
expectTrackPlaysUntil,
|
|
2967
|
+
initializeFrequencyAnalyzer,
|
|
2968
|
+
mediaRef,
|
|
2969
|
+
mockDashManifest,
|
|
2970
|
+
mockHlsManifestData,
|
|
2971
|
+
mockMainPlaylist,
|
|
2972
|
+
mockMediaPlaylist,
|
|
2973
|
+
onCanPlayThrough,
|
|
2974
|
+
onDuration,
|
|
2975
|
+
onEnded,
|
|
2976
|
+
onPlaying,
|
|
2977
|
+
onTimeUpdate,
|
|
2978
|
+
requireUserInteraction,
|
|
2979
|
+
shouldCheckAudio,
|
|
2980
|
+
unlockMediaElement,
|
|
2981
|
+
useWebKitMediaKeys,
|
|
2982
|
+
vinylTestAssets
|
|
2983
|
+
};
|
|
2984
|
+
//# sourceMappingURL=index.js.map
|