@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,21 @@
|
|
|
1
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
2
|
+
import { DashManifestData } from '../../track/dash/DashManifestProvider';
|
|
3
|
+
import { AdaptationSetType, RepresentationType } from '@amazon/vinyl-mpd-parser';
|
|
4
|
+
import { Comparator } from '@amazon/vinyl-util';
|
|
5
|
+
export interface DashManifestTransformerDeps {
|
|
6
|
+
readonly manifestController: ObservableValue<Promise<DashManifestData>>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The default dash manifest transformer sorts adaptation sets and representations.
|
|
10
|
+
* Quality filtering is handled by the media timeline transformer.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createDefaultDashManifestTransformer(deps: DashManifestTransformerDeps): ObservableValue<Promise<DashManifestData>>;
|
|
13
|
+
/**
|
|
14
|
+
* The default adaptation set comparator orders by descending selectionPriority.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createDefaultAdaptationSetComparator(): Comparator<AdaptationSetType>;
|
|
17
|
+
/**
|
|
18
|
+
* The default representation comparator orders by ascending quality ranking and descending bandwidth.
|
|
19
|
+
*/
|
|
20
|
+
export declare function createDefaultRepresentationComparator(): Comparator<RepresentationType>;
|
|
21
|
+
//# sourceMappingURL=createDefaultDashManifestTransformer.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReadonlyPlaybackController } from '../../playback/ReadonlyPlaybackController';
|
|
2
|
+
import { SegmentControllerImpl, SegmentControllerImplOptions } from '../../streaming/SegmentControllerImpl';
|
|
3
|
+
import { ContentType } from '../../streaming/MediaQualityMetadata';
|
|
4
|
+
import { SegmentController } from '../../streaming/SegmentController';
|
|
5
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
6
|
+
import { MediaTimeline } from '../../streaming/MediaTimeline';
|
|
7
|
+
import { QualitySelector } from '../../streaming/abr/QualitySelector';
|
|
8
|
+
export type SegmentControllerFactory = (deps: {
|
|
9
|
+
readonly mediaTimelineTransformed: ObservableValue<Promise<MediaTimeline>>;
|
|
10
|
+
readonly qualitySelector: QualitySelector;
|
|
11
|
+
}) => SegmentController;
|
|
12
|
+
export interface SegmentControllerFactoryDeps {
|
|
13
|
+
readonly playbackController: ReadonlyPlaybackController;
|
|
14
|
+
}
|
|
15
|
+
export declare function createSegmentControllerFactory(playerDeps: SegmentControllerFactoryDeps, contentType: ContentType, options?: Partial<SegmentControllerImplOptions>): (trackDeps: {
|
|
16
|
+
readonly mediaTimelineTransformed: ObservableValue<Promise<MediaTimeline>>;
|
|
17
|
+
readonly qualitySelector: QualitySelector;
|
|
18
|
+
}) => SegmentControllerImpl;
|
|
19
|
+
//# sourceMappingURL=createSegmentControllerFactory.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AdaptationSetType, DashManifest, RepresentationType } from '@amazon/vinyl-mpd-parser';
|
|
2
|
+
import { DashManifestData } from '../../track/dash/DashManifestProvider';
|
|
3
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
4
|
+
import { Comparator, FilterPredicate, MaybePromise } from '@amazon/vinyl-util';
|
|
5
|
+
/**
|
|
6
|
+
* Returns true if the given Dash manifest has unfiltered representations in every Period.
|
|
7
|
+
*/
|
|
8
|
+
export declare function manifestIsPlayable(manifest: DashManifest): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Filters dash representations using a synchronous predicate.
|
|
11
|
+
*/
|
|
12
|
+
export declare function filterDashRepresentations(filter: FilterPredicate<RepresentationType>, throwError: () => never, manifest: DashManifest): DashManifest;
|
|
13
|
+
/**
|
|
14
|
+
* Filters dash adaptation sets using a synchronous predicate.
|
|
15
|
+
*/
|
|
16
|
+
export declare function filterDashAdaptationSets(filter: FilterPredicate<AdaptationSetType>, throwError: () => never, manifest: DashManifest): DashManifest;
|
|
17
|
+
/**
|
|
18
|
+
* Sorts dash adaptation sets using a comparator.
|
|
19
|
+
*/
|
|
20
|
+
export declare function sortDashAdaptationSets(comparator: Comparator<AdaptationSetType>, manifest: DashManifest): DashManifest;
|
|
21
|
+
/**
|
|
22
|
+
* Sorts dash representations using a comparator.
|
|
23
|
+
*/
|
|
24
|
+
export declare function sortDashRepresentations(comparator: Comparator<RepresentationType>, manifest: DashManifest): DashManifest;
|
|
25
|
+
/**
|
|
26
|
+
* Maps a manifest transformation function over a DashManifestData observable.
|
|
27
|
+
* Handles the boilerplate of extracting manifest/baseUrl and reconstructing the result.
|
|
28
|
+
*/
|
|
29
|
+
export declare function mapManifestTransform(manifestController: ObservableValue<Promise<DashManifestData>>, transformManifest: (manifest: DashManifest) => MaybePromise<DashManifest>): ObservableValue<Promise<DashManifestData>>;
|
|
30
|
+
//# sourceMappingURL=manifestTransformUtils.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RepresentationType } from '@amazon/vinyl-mpd-parser';
|
|
2
|
+
import { DashUriResolveDeps } from '../../../track/dash/util/uriResolution';
|
|
3
|
+
import { CreateSegmentDataProviderDeps } from '../../../track/createSegmentDataProvider';
|
|
4
|
+
import { SegmentReference } from '../../../streaming/SegmentReference';
|
|
5
|
+
import { SegmentDataProvider } from '../../../streaming/SegmentDataSlot';
|
|
6
|
+
import { DashMediaQualityMetadataResolver } from '../../../track/dash/DashMediaQualityMetadataResolver';
|
|
7
|
+
export interface DashSegmentProviderDeps extends DashUriResolveDeps, CreateSegmentDataProviderDeps {
|
|
8
|
+
/**
|
|
9
|
+
* Produces abstract metadata from a dash representation.
|
|
10
|
+
*/
|
|
11
|
+
readonly mediaQualityMetadataResolver: DashMediaQualityMetadataResolver;
|
|
12
|
+
}
|
|
13
|
+
export interface DashRepresentationSegmentProvider {
|
|
14
|
+
/**
|
|
15
|
+
* Gets a segment reference within this representation for the given time, in seconds, relative to the period.
|
|
16
|
+
*
|
|
17
|
+
* @param time
|
|
18
|
+
* @param affordance Forward-snap tolerance in seconds: if `time` falls just before a
|
|
19
|
+
* segment's start (within `affordance`), that segment is returned. Defaults to `0`.
|
|
20
|
+
*/
|
|
21
|
+
getSegment(time: number, affordance?: number): Promise<SegmentReference<SegmentDataProvider> | null>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Creates a representation timeline for the given representation.
|
|
25
|
+
*/
|
|
26
|
+
export declare function createDashRepresentationSegmentProvider(deps: DashSegmentProviderDeps, baseUrl: string, representation: RepresentationType): DashRepresentationSegmentProvider;
|
|
27
|
+
//# sourceMappingURL=DashRepresentationSegmentProvider.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Maybe } from '@amazon/vinyl-util';
|
|
2
|
+
import { RequestInitOptions } from '@amazon/vinyl-util';
|
|
3
|
+
import { RequestInterceptor } from '@amazon/vinyl-util';
|
|
4
|
+
import { DashManifestProvider } from '../../track/dash/DashManifestProvider';
|
|
5
|
+
/**
|
|
6
|
+
* Creates a DashManifestProvider which performs a request to retrieve a dash manifest.
|
|
7
|
+
* Can be a relative path.
|
|
8
|
+
*
|
|
9
|
+
* Usage example:
|
|
10
|
+
*
|
|
11
|
+
* ```createRequesterDashManifestProvider('https://example.com/manifest.mpd')```
|
|
12
|
+
* @param input The resource location of the dash manifest.
|
|
13
|
+
* @param init Optional request options such as headers.
|
|
14
|
+
* @param requestInterceptor An optional transformer to mutate request parameters before the request is made.
|
|
15
|
+
*/
|
|
16
|
+
export declare function urlDashManifestProvider(input: string, init?: Maybe<RequestInitOptions>, requestInterceptor?: RequestInterceptor): DashManifestProvider;
|
|
17
|
+
//# sourceMappingURL=urlDashManifestProvider.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RepresentationType } from '@amazon/vinyl-mpd-parser';
|
|
2
|
+
import { ContentType } from '../../../streaming/MediaQualityMetadata';
|
|
3
|
+
export interface RepresentationMimeInfo {
|
|
4
|
+
readonly mimeType: string | null;
|
|
5
|
+
readonly contentType: ContentType | null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Returns the full mime type with codecs and the inferred content type from the
|
|
9
|
+
* provided representation.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getRepresentationMimeInfo(representation: RepresentationType): RepresentationMimeInfo;
|
|
12
|
+
//# sourceMappingURL=mimeType.d.ts.map
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { AdaptationSetType, DashManifest, MPDtype, PeriodType, RepresentationType, SegmentBaseType, SegmentListType, SegmentTemplateType } from '@amazon/vinyl-mpd-parser';
|
|
2
|
+
/**
|
|
3
|
+
* Calculates the inherited SegmentList for the given representation. Or returns undefined if no SegmentList is
|
|
4
|
+
* present in the hierarchy.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSegmentList(representation: RepresentationType): SegmentListType | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Calculates the inherited SegmentTemplate for the given representation. Or returns undefined if no SegmentTemplate is
|
|
9
|
+
* present in the hierarchy.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getSegmentTemplate(representation: RepresentationType): SegmentTemplateType | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Calculates the inherited SegmentBase for the given representation. Or returns undefined if no SegmentBase is
|
|
14
|
+
* present in the hierarchy.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSegmentBase(representation: RepresentationType): SegmentBaseType | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the representation's ancestry: [MPD, Period, AdaptationSet, Representation]
|
|
19
|
+
*/
|
|
20
|
+
export declare function getRepresentationAncestry(representation: RepresentationType): readonly [
|
|
21
|
+
MPDtype,
|
|
22
|
+
PeriodType,
|
|
23
|
+
AdaptationSetType,
|
|
24
|
+
RepresentationType
|
|
25
|
+
];
|
|
26
|
+
export type PeriodRange = readonly [
|
|
27
|
+
number,
|
|
28
|
+
number | null
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* Calculates the period start and end time.
|
|
32
|
+
*/
|
|
33
|
+
export declare function calculatePeriodTimeRange(period: PeriodType): PeriodRange;
|
|
34
|
+
/**
|
|
35
|
+
* Calculates the start time of the given period.
|
|
36
|
+
*
|
|
37
|
+
* In a static presentation, the first period SHALL start at the zero point of the MPD timeline (with a
|
|
38
|
+
* Period@start value of 0 seconds).
|
|
39
|
+
*/
|
|
40
|
+
export declare function calculatePeriodStart(period: PeriodType): number;
|
|
41
|
+
/**
|
|
42
|
+
* In a static presentation, the last period SHALL have a Period@duration.
|
|
43
|
+
*
|
|
44
|
+
* In a dynamic presentation, the first period SHALL start at or after the zero point of the MPD timeline (with a
|
|
45
|
+
* Period@start value of 0 seconds or greater).
|
|
46
|
+
*
|
|
47
|
+
* In a dynamic presentation, the last period MAY have a Period@duration, in which case it has a fixed duration. If
|
|
48
|
+
* without Period@duration, the last period in a dynamic presentation has an unlimited duration (that may later be
|
|
49
|
+
* shortened by an MPD update).
|
|
50
|
+
*/
|
|
51
|
+
export declare function calculatePeriodEnd(period: PeriodType): number | null;
|
|
52
|
+
/**
|
|
53
|
+
* Converts a sample time to an MPD-relative time.
|
|
54
|
+
*
|
|
55
|
+
* The samples within a representation exist on a linear sample timeline defined by the encoder. This function maps
|
|
56
|
+
* those sample times onto the MPD timeline.
|
|
57
|
+
*
|
|
58
|
+
* https://dashif-documents.azurewebsites.net/Guidelines-TimingModel/master/Guidelines-TimingModel.html
|
|
59
|
+
*
|
|
60
|
+
* @param sampleTime The sample start time, in timescale units, relative to the media.
|
|
61
|
+
* @param periodStart The presentation start time of the period, relative to the MPD timeline.
|
|
62
|
+
* @param presentationTimeOffset Specifies a presentation time offset in the media timeline relative to the start
|
|
63
|
+
* of the Period, in timescale units, used to adjust the timing of media presentation.
|
|
64
|
+
* @param timescale The timescale, in units per second.
|
|
65
|
+
*/
|
|
66
|
+
export declare function sampleToMpdTime(sampleTime: number, periodStart: number, presentationTimeOffset: number, timescale: number): number;
|
|
67
|
+
/**
|
|
68
|
+
* Gets the period spanning the given presentation time.
|
|
69
|
+
*/
|
|
70
|
+
export declare function getPeriodAtTime(manifest: DashManifest, time: number): PeriodType | null;
|
|
71
|
+
/**
|
|
72
|
+
* Flattens representations across all adaptation sets for the given Period.
|
|
73
|
+
*/
|
|
74
|
+
export declare function flattenRepresentations(period: PeriodType): RepresentationType[];
|
|
75
|
+
/**
|
|
76
|
+
* Calculates the manifest duration, either from the mediaPresentationDuration or the last period end time.
|
|
77
|
+
* @param manifest
|
|
78
|
+
*/
|
|
79
|
+
export declare function calculateDuration(manifest: DashManifest): number | null;
|
|
80
|
+
//# sourceMappingURL=mpd.d.ts.map
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { BaseURLType, RepresentationType } from '@amazon/vinyl-mpd-parser';
|
|
2
|
+
import { Uri } from '@amazon/vinyl-xml';
|
|
3
|
+
import { Maybe } from '@amazon/vinyl-util';
|
|
4
|
+
/**
|
|
5
|
+
* Selects a base URL alternate.
|
|
6
|
+
*/
|
|
7
|
+
export interface BaseUrlSelector {
|
|
8
|
+
/**
|
|
9
|
+
* Given a list of Dash base URLs, chooses which one will be used.
|
|
10
|
+
*
|
|
11
|
+
* @param baseUrls A list of Dash base URL objects for a single scope.
|
|
12
|
+
* Guaranteed to not be empty.
|
|
13
|
+
*/
|
|
14
|
+
selectBaseUrl(baseUrls: readonly BaseURLType[]): BaseURLType;
|
|
15
|
+
}
|
|
16
|
+
export declare const pickFirstBaseUrlSelector: BaseUrlSelector;
|
|
17
|
+
export interface DashUriResolveDeps {
|
|
18
|
+
/**
|
|
19
|
+
* Selects the BaseURL from provided alternates.
|
|
20
|
+
*/
|
|
21
|
+
readonly baseUrlSelector: BaseUrlSelector;
|
|
22
|
+
}
|
|
23
|
+
export interface ResolvedDashUri {
|
|
24
|
+
/**
|
|
25
|
+
* The absolute URL.
|
|
26
|
+
*/
|
|
27
|
+
readonly url: string;
|
|
28
|
+
/**
|
|
29
|
+
* The service location.
|
|
30
|
+
* @see BaseURL.serviceLocation
|
|
31
|
+
*/
|
|
32
|
+
readonly serviceLocation: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface DashUriResolveOptions {
|
|
35
|
+
/**
|
|
36
|
+
* The URI to resolve.
|
|
37
|
+
*/
|
|
38
|
+
readonly uri?: Maybe<Uri>;
|
|
39
|
+
/**
|
|
40
|
+
* The representation to use as the scope for BaseURL resolution.
|
|
41
|
+
*/
|
|
42
|
+
readonly representation: RepresentationType;
|
|
43
|
+
/**
|
|
44
|
+
* The resource location of the manifest.
|
|
45
|
+
*/
|
|
46
|
+
readonly baseUrl: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Resolves the base URL. Walks down the ancestry, concatenating BaseURL paths according to
|
|
50
|
+
* MPEG-DASH ISO/IEC 23009-1 standard, section 5.6.4.
|
|
51
|
+
*
|
|
52
|
+
* The BaseURL elements are used to define the base URL against which relative URLs specified in the manifest are
|
|
53
|
+
* resolved. This can occur at multiple levels within the manifest (e.g., at the Period, Adaptation Set, or
|
|
54
|
+
* Representation level).
|
|
55
|
+
* Relative URLs are resolved according to standard URL resolution rules, as defined by RFC 3986. This involves
|
|
56
|
+
* resolving the relative URL against the effective base URL, which could be the URL of the manifest itself or
|
|
57
|
+
* a <BaseURL> specified at a higher level in the manifest hierarchy.
|
|
58
|
+
*
|
|
59
|
+
* Manifest URL as Base: If no <BaseURL> is specified, the URL from which the DASH manifest (MPD file) was
|
|
60
|
+
* retrieved acts as the base URL for resolving any relative URLs.
|
|
61
|
+
*
|
|
62
|
+
* https://standards.iso.org/ittf/PubliclyAvailableStandards/index.html
|
|
63
|
+
*
|
|
64
|
+
* Note: URL resolution is not a simple concatenation, the `URL` class is used to resolve relative URLs per RFC
|
|
65
|
+
* 3986:2005.
|
|
66
|
+
*
|
|
67
|
+
* @return Returns a resolved BaseURL object with calculated values according to inheritance rules.
|
|
68
|
+
*/
|
|
69
|
+
export declare function resolveDashUri(deps: DashUriResolveDeps, options: DashUriResolveOptions): ResolvedDashUri;
|
|
70
|
+
export interface SegmentTemplateUriOptions {
|
|
71
|
+
/**
|
|
72
|
+
* The sequence number of the segment. Will replace `$Number$` in url templates.
|
|
73
|
+
*/
|
|
74
|
+
readonly segmentNumber?: Maybe<number>;
|
|
75
|
+
/**
|
|
76
|
+
* The sample time of the segment. Will replace `$Time$` in url templates.
|
|
77
|
+
*/
|
|
78
|
+
readonly sampleTime?: Maybe<number>;
|
|
79
|
+
/**
|
|
80
|
+
* The representation, will use the id and bandwidth for replacement tokens.
|
|
81
|
+
*/
|
|
82
|
+
readonly representation: RepresentationType;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Creates a segment url using segment template tokens, as defined in 5.3.9.4.4.
|
|
86
|
+
*/
|
|
87
|
+
export declare function segmentTemplateUrl(uri: Uri, options: SegmentTemplateUriOptions): Uri;
|
|
88
|
+
//# sourceMappingURL=uriResolution.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MediaQualityMetadata } from '../../streaming/MediaQualityMetadata';
|
|
2
|
+
import { DrmController } from '../../drm/DrmController';
|
|
3
|
+
export declare function throwKeySystemsUnsupported(): never;
|
|
4
|
+
/**
|
|
5
|
+
* Returns true when the media's key system is supported or the representation has no content protection.
|
|
6
|
+
*/
|
|
7
|
+
export declare function canPlayKeySystem(deps: {
|
|
8
|
+
readonly drmController: DrmController;
|
|
9
|
+
}, metadata: MediaQualityMetadata): Promise<boolean>;
|
|
10
|
+
//# sourceMappingURL=keySystemFilter.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare function throwLanguagesUnsupported(): never;
|
|
2
|
+
/**
|
|
3
|
+
* Normalizes a BCP 47 / RFC 5646 language tag.
|
|
4
|
+
*
|
|
5
|
+
* - Converts ISO 639-2 (3-letter) codes to ISO 639-1 (2-letter)
|
|
6
|
+
* - Forces language to lowercase, region to uppercase
|
|
7
|
+
* - Discards script/dialect subtags beyond language-REGION
|
|
8
|
+
*
|
|
9
|
+
* Examples: `eng` → `en`, `en-us` → `en-US`, `fra-CA` → `fr-CA`
|
|
10
|
+
*/
|
|
11
|
+
export declare function normalizeLanguage(locale: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Computes a relatedness score between two language codes.
|
|
14
|
+
* Higher is better. 0 means unrelated.
|
|
15
|
+
*
|
|
16
|
+
* - 4: exact match after normalization (e.g. `en-US` vs `en-US`)
|
|
17
|
+
* - 3: candidate is parent of target (e.g. `en` vs `en-US`)
|
|
18
|
+
* - 2: candidate is sibling of target (e.g. `en-CA` vs `en-US`)
|
|
19
|
+
* - 1: candidate is child of target (e.g. `en-US` vs `en`)
|
|
20
|
+
* - 0: unrelated
|
|
21
|
+
*/
|
|
22
|
+
export declare function languageRelatedness(target: string, candidate: string): number;
|
|
23
|
+
/**
|
|
24
|
+
* Finds the best language match from a set of available languages.
|
|
25
|
+
* Returns the best matching language, or undefined if the set is empty.
|
|
26
|
+
* When no language is related, the first available language is returned.
|
|
27
|
+
*/
|
|
28
|
+
export declare function findBestLanguageMatch(target: string, available: ArrayLike<string>): string | undefined;
|
|
29
|
+
//# sourceMappingURL=languageFilter.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Capabilities } from '../../client/Capabilities';
|
|
2
|
+
import { MediaFormatMetadata } from '../../streaming/MediaQualityMetadata';
|
|
3
|
+
export declare function throwMimeTypesUnsupported(): never;
|
|
4
|
+
/**
|
|
5
|
+
* Returns true when the media's codec and container is supported.
|
|
6
|
+
*/
|
|
7
|
+
export declare function canPlayMimeType(deps: {
|
|
8
|
+
readonly capabilities: Capabilities;
|
|
9
|
+
}, metadata: MediaFormatMetadata): boolean;
|
|
10
|
+
//# sourceMappingURL=resourceTypeFilter.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MediaQualityMetadata } from '../../streaming/MediaQualityMetadata';
|
|
2
|
+
import { Capabilities } from '../../client/Capabilities';
|
|
3
|
+
export declare function throwSamplingRatesUnsupported(): never;
|
|
4
|
+
/**
|
|
5
|
+
* Returns true when the media's sampling rate is supported.
|
|
6
|
+
* If Firefox (which does not support >48kHz), filter out all sampling rates above the supported sampling rate.
|
|
7
|
+
* All other browsers filter out all sampling rates above the supported sampling rate unless this will filter all
|
|
8
|
+
* and then do not filter the lowest sampling rate.
|
|
9
|
+
*/
|
|
10
|
+
export declare function supportsAudioSamplingRate(deps: {
|
|
11
|
+
readonly capabilities: Capabilities;
|
|
12
|
+
}, metadata: MediaQualityMetadata, _index: number, array: ArrayLike<MediaQualityMetadata>): boolean;
|
|
13
|
+
//# sourceMappingURL=sampleRateFilter.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ManifestController } from '../../streaming/ManifestController';
|
|
2
|
+
import { HlsManifestData, HlsManifestProvider } from './HlsManifestProvider';
|
|
3
|
+
export type HlsManifestController = ManifestController<Promise<HlsManifestData>>;
|
|
4
|
+
export declare class HlsManifestControllerImpl implements HlsManifestController {
|
|
5
|
+
private readonly manifestProvider;
|
|
6
|
+
get [Symbol.toStringTag](): string;
|
|
7
|
+
get logPrefix(): string;
|
|
8
|
+
private readonly _data;
|
|
9
|
+
private _error;
|
|
10
|
+
private readonly abortSlot;
|
|
11
|
+
private readonly disposer;
|
|
12
|
+
constructor(manifestProvider: HlsManifestProvider);
|
|
13
|
+
get error(): (Error | null);
|
|
14
|
+
refresh(): void;
|
|
15
|
+
reset(): void;
|
|
16
|
+
get value(): Promise<HlsManifestData>;
|
|
17
|
+
get changeId(): number;
|
|
18
|
+
getValue(): Promise<HlsManifestData>;
|
|
19
|
+
onData(callback: (value: Promise<HlsManifestData>, previous?: Promise<HlsManifestData>) => void): () => void;
|
|
20
|
+
map<U>(fn: (value: Promise<HlsManifestData>) => U): import("@amazon/vinyl-observable").MutableValue<U>;
|
|
21
|
+
pick<K extends keyof NonNullable<Promise<HlsManifestData>>>(key: K): import("@amazon/vinyl-observable").MutableValue<Promise<HlsManifestData>[K]>;
|
|
22
|
+
get disposed(): boolean;
|
|
23
|
+
dispose(): void;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=HlsManifestController.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReadonlyAbort } from '@amazon/vinyl-util';
|
|
2
|
+
import { MainPlaylist, MediaPlaylist } from '@amazon/vinyl-hls-parser';
|
|
3
|
+
export type HlsManifestProvider = (abort?: ReadonlyAbort) => Promise<HlsManifestData>;
|
|
4
|
+
export interface HlsManifestData {
|
|
5
|
+
/**
|
|
6
|
+
* The main HLS playlist manifest.
|
|
7
|
+
* Use getMediaPlaylist to resolve bitrate manifests.
|
|
8
|
+
*/
|
|
9
|
+
readonly mainPlaylist: MainPlaylist;
|
|
10
|
+
/**
|
|
11
|
+
* The URL to be used for relative requests. Guaranteed to be absolute.
|
|
12
|
+
*
|
|
13
|
+
* Media with relative paths in the manifests will be resolved relative to this URL.
|
|
14
|
+
*/
|
|
15
|
+
readonly baseUrl: string;
|
|
16
|
+
/**
|
|
17
|
+
* Lazily fetches and caches a media playlist by variant URI.
|
|
18
|
+
*/
|
|
19
|
+
readonly getMediaPlaylist: (uri: string) => Promise<MediaPlaylist>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=HlsManifestProvider.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AlternativeRendition, VariantStream } from '@amazon/vinyl-hls-parser';
|
|
2
|
+
import { MediaQualityMetadata } from '../../streaming/MediaQualityMetadata';
|
|
3
|
+
export type HlsMediaQualityMetadataResolver = (variant: VariantStream, renditions: readonly AlternativeRendition[]) => MediaQualityMetadata;
|
|
4
|
+
export declare function createDefaultHlsMediaQualityMetadataResolver(): HlsMediaQualityMetadataResolver;
|
|
5
|
+
//# sourceMappingURL=HlsMediaQualityMetadataResolver.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Maybe, RequestInitOptions } from '@amazon/vinyl-util';
|
|
2
|
+
import { TrackLoadOptions, TrackFactory } from '../TrackFactory';
|
|
3
|
+
import { TrackBaseOptions } from '../TrackBase';
|
|
4
|
+
import { HlsManifestProvider } from './HlsManifestProvider';
|
|
5
|
+
import { HlsManifestController } from './HlsManifestController';
|
|
6
|
+
import { HlsManifestData } from './HlsManifestProvider';
|
|
7
|
+
import { HlsMediaQualityMetadataResolver } from './HlsMediaQualityMetadataResolver';
|
|
8
|
+
import { MseTrackDeps } from '../mse/MseTrack';
|
|
9
|
+
import { Factories } from '@amazon/vinyl-di';
|
|
10
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
11
|
+
import { MediaTimeline } from '../../streaming/MediaTimeline';
|
|
12
|
+
export interface HlsTrackLoadOptions extends TrackLoadOptions {
|
|
13
|
+
readonly type: 'hls';
|
|
14
|
+
readonly manifestProvider?: Maybe<HlsManifestProvider>;
|
|
15
|
+
readonly requestInit?: Maybe<RequestInitOptions>;
|
|
16
|
+
readonly segmentRequestInit?: Maybe<RequestInitOptions>;
|
|
17
|
+
readonly config?: Maybe<TrackBaseOptions>;
|
|
18
|
+
}
|
|
19
|
+
export interface HlsTrackDeps extends MseTrackDeps {
|
|
20
|
+
readonly manifestController: HlsManifestController;
|
|
21
|
+
readonly manifestTransformed: ObservableValue<Promise<HlsManifestData>>;
|
|
22
|
+
readonly mediaQualityMetadataResolver: HlsMediaQualityMetadataResolver;
|
|
23
|
+
readonly mediaTimeline: ObservableValue<Promise<MediaTimeline>>;
|
|
24
|
+
readonly mediaTimelineTransformed: ObservableValue<Promise<MediaTimeline>>;
|
|
25
|
+
}
|
|
26
|
+
export type HlsTrackFactoryDeps = {
|
|
27
|
+
readonly createHlsFactories: (loadOptions: HlsTrackLoadOptions) => Factories<HlsTrackDeps>;
|
|
28
|
+
};
|
|
29
|
+
export declare function createHlsTrackFactory(deps: HlsTrackFactoryDeps): TrackFactory<HlsTrackLoadOptions>;
|
|
30
|
+
//# sourceMappingURL=HlsTrack.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HlsManifestData } from '../../track/hls/HlsManifestProvider';
|
|
2
|
+
import { HlsMediaQualityMetadataResolver } from '../../track/hls/HlsMediaQualityMetadataResolver';
|
|
3
|
+
import { MediaTimeline } from '../../streaming/MediaTimeline';
|
|
4
|
+
import { CreateSegmentDataProviderDeps } from '../../track/createSegmentDataProvider';
|
|
5
|
+
export interface BuildHlsMediaTimelineDeps extends CreateSegmentDataProviderDeps {
|
|
6
|
+
readonly mediaQualityMetadataResolver: HlsMediaQualityMetadataResolver;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Builds a MediaTimeline from an HLS manifest.
|
|
10
|
+
* HLS has a single implicit period spanning the full duration.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildHlsMediaTimeline(deps: BuildHlsMediaTimelineDeps, data: HlsManifestData): MediaTimeline;
|
|
13
|
+
//# sourceMappingURL=buildHlsMediaTimeline.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
2
|
+
import { HlsManifestData } from '../../track/hls/HlsManifestProvider';
|
|
3
|
+
export interface HlsManifestTransformerDeps {
|
|
4
|
+
readonly manifestController: ObservableValue<Promise<HlsManifestData>>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The default HLS manifest transformer sorts variants by bandwidth descending (highest quality first).
|
|
8
|
+
* Quality and language filtering is handled by the media timeline transformer.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createDefaultHlsManifestTransformer(deps: HlsManifestTransformerDeps): ObservableValue<Promise<HlsManifestData>>;
|
|
11
|
+
//# sourceMappingURL=createDefaultHlsManifestTransformer.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { MediaSourceController } from '../../streaming/buffering/MediaSourceController';
|
|
2
|
+
import { PlaybackController } from '../../playback/PlaybackController';
|
|
3
|
+
import { QualitySelector } from '../../streaming/abr/QualitySelector';
|
|
4
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
5
|
+
import { ContentType } from '../../streaming/MediaQualityMetadata';
|
|
6
|
+
import { SourceBufferControllerImpl, SourceBufferControllerImplDeps } from '../../streaming/buffering/SourceBufferController';
|
|
7
|
+
import { BufferingControllerImpl, BufferingControllerImplDeps } from '../../streaming/buffering/BufferingController';
|
|
8
|
+
import { SegmentControllerImpl, SegmentControllerImplDeps } from '../../streaming/SegmentControllerImpl';
|
|
9
|
+
import { Maybe } from '@amazon/vinyl-util';
|
|
10
|
+
import { ContentStreamingOptions } from '../../streaming/ContentStreamingOptions';
|
|
11
|
+
import { MediaTimeline } from '../../streaming/MediaTimeline';
|
|
12
|
+
export interface HlsContentStreamTrackDeps {
|
|
13
|
+
readonly mediaSourceController: MediaSourceController;
|
|
14
|
+
readonly playbackController: PlaybackController;
|
|
15
|
+
readonly mediaTimelineTransformed: ObservableValue<Promise<MediaTimeline>>;
|
|
16
|
+
readonly qualitySelector: QualitySelector;
|
|
17
|
+
}
|
|
18
|
+
export declare function createHlsContentStreamFactories(options: Maybe<ContentStreamingOptions>): (deps: HlsContentStreamTrackDeps) => import("@amazon/vinyl-util").MemoizedFunction & ((contentType: ContentType) => {
|
|
19
|
+
sourceBufferControllerFactory: (deps: SourceBufferControllerImplDeps) => () => SourceBufferControllerImpl;
|
|
20
|
+
bufferingController: (deps: BufferingControllerImplDeps) => BufferingControllerImpl;
|
|
21
|
+
segmentController: (deps: SegmentControllerImplDeps) => SegmentControllerImpl;
|
|
22
|
+
mediaSourceController: import("@amazon/vinyl-di").Factory<MediaSourceController>;
|
|
23
|
+
playbackController: import("@amazon/vinyl-di").Factory<PlaybackController>;
|
|
24
|
+
mediaTimelineTransformed: import("@amazon/vinyl-di").Factory<ObservableValue<Promise<MediaTimeline>>>;
|
|
25
|
+
qualitySelector: import("@amazon/vinyl-di").Factory<QualitySelector>;
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=createHlsContentStreamFactories.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ContentTypesValue } from '../../streaming/ContentTypesValue';
|
|
2
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
3
|
+
import { HlsManifestData } from './HlsManifestProvider';
|
|
4
|
+
export interface HlsContentTypesValueDeps {
|
|
5
|
+
readonly manifestTransformed: ObservableValue<Promise<HlsManifestData>>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Creates an ObservableValue for the content types present in the HLS manifest.
|
|
9
|
+
*
|
|
10
|
+
* Per RFC 8216 §4.3.4.2, content types are determined from:
|
|
11
|
+
* 1. The CODECS attribute on EXT-X-STREAM-INF (variant streams)
|
|
12
|
+
* 2. The TYPE attribute on EXT-X-MEDIA (alternative renditions)
|
|
13
|
+
*/
|
|
14
|
+
export declare function createHlsContentTypesValue(deps: HlsContentTypesValueDeps): ContentTypesValue;
|
|
15
|
+
//# sourceMappingURL=createHlsContentTypesValue.d.ts.map
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { HlsTrackLoadOptions } from './HlsTrack';
|
|
2
|
+
import { Maybe, RequestInterceptor } from '@amazon/vinyl-util';
|
|
3
|
+
import { createMediaSource } from '../../util/media/mediaSource';
|
|
4
|
+
import { MediaSourceControllerImpl, MediaSourceControllerImplDeps } from '../../streaming/buffering/MediaSourceController';
|
|
5
|
+
import { HlsManifestControllerImpl } from './HlsManifestController';
|
|
6
|
+
import { ContentStreamingOptions } from '../../streaming/ContentStreamingOptions';
|
|
7
|
+
import { createHlsContentTypesValue } from './createHlsContentTypesValue';
|
|
8
|
+
import { createContentStreamFactory } from '../../streaming/ContentStream';
|
|
9
|
+
import { ObservableValue } from '@amazon/vinyl-observable';
|
|
10
|
+
import { PlaybackController } from '../../playback/PlaybackController';
|
|
11
|
+
import { DrmKeySystemResolver } from '../../drm/DrmKeySystemResolver';
|
|
12
|
+
import { DrmController } from '../../drm/DrmController';
|
|
13
|
+
import { Capabilities } from '../../client/Capabilities';
|
|
14
|
+
import { PlaybackSource } from '../../playback/PlaybackSource';
|
|
15
|
+
import { QualitySelectorImplOptions } from '../../streaming/abr/QualitySelectorImpl';
|
|
16
|
+
import { QualitySelectorImpl } from '../../streaming/abr/QualitySelectorImpl';
|
|
17
|
+
import { VinylOptions } from '../../vinyl/VinylOptions';
|
|
18
|
+
import { createDefaultHlsManifestTransformer } from './createDefaultHlsManifestTransformer';
|
|
19
|
+
import { BuildHlsMediaTimelineDeps } from './buildHlsMediaTimeline';
|
|
20
|
+
import { createDefaultMediaTimelineTransformer } from '../../streaming/createDefaultMediaTimelineTransformer';
|
|
21
|
+
import { HlsManifestData } from './HlsManifestProvider';
|
|
22
|
+
export interface HlsFactoryDeps {
|
|
23
|
+
readonly options: ObservableValue<{
|
|
24
|
+
readonly abr: QualitySelectorImplOptions;
|
|
25
|
+
readonly preferredAudioLanguage: string | null;
|
|
26
|
+
}>;
|
|
27
|
+
readonly playbackController: PlaybackController;
|
|
28
|
+
readonly playbackSource: PlaybackSource;
|
|
29
|
+
readonly drmKeySystemResolver: DrmKeySystemResolver;
|
|
30
|
+
readonly requestInterceptor: RequestInterceptor;
|
|
31
|
+
readonly drmController: DrmController;
|
|
32
|
+
readonly capabilities: Capabilities;
|
|
33
|
+
}
|
|
34
|
+
export type HlsInitOptions = {
|
|
35
|
+
readonly streaming?: Maybe<ContentStreamingOptions>;
|
|
36
|
+
};
|
|
37
|
+
export declare function createHlsFactories(options: Maybe<HlsInitOptions>): (deps: HlsFactoryDeps) => (loadOptions: HlsTrackLoadOptions) => {
|
|
38
|
+
contentTypesValue: typeof createHlsContentTypesValue;
|
|
39
|
+
manifestController: () => HlsManifestControllerImpl;
|
|
40
|
+
manifestTransformed: typeof createDefaultHlsManifestTransformer;
|
|
41
|
+
mediaQualityMetadataResolver: () => import("./HlsMediaQualityMetadataResolver").HlsMediaQualityMetadataResolver;
|
|
42
|
+
mediaSourceFactory: () => typeof createMediaSource;
|
|
43
|
+
mediaSourceController: (deps: MediaSourceControllerImplDeps) => MediaSourceControllerImpl;
|
|
44
|
+
segmentRequestInit: () => Maybe<Readonly<Omit<RequestInit, "signal">>>;
|
|
45
|
+
createContentStreamFactories: (deps: import("./createHlsContentStreamFactories").HlsContentStreamTrackDeps) => import("@amazon/vinyl-util").MemoizedFunction & ((contentType: import("../..").ContentType) => {
|
|
46
|
+
sourceBufferControllerFactory: (deps: import("../..").SourceBufferControllerImplDeps) => () => import("../..").SourceBufferControllerImpl;
|
|
47
|
+
bufferingController: (deps: import("../..").BufferingControllerImplDeps) => import("../..").BufferingControllerImpl;
|
|
48
|
+
segmentController: (deps: import("../..").SegmentControllerImplDeps) => import("../..").SegmentControllerImpl;
|
|
49
|
+
mediaSourceController: import("@amazon/vinyl-di").Factory<import("../..").MediaSourceController>;
|
|
50
|
+
playbackController: import("@amazon/vinyl-di").Factory<PlaybackController>;
|
|
51
|
+
mediaTimelineTransformed: import("@amazon/vinyl-di").Factory<ObservableValue<Promise<import("../..").MediaTimeline>>>;
|
|
52
|
+
qualitySelector: import("@amazon/vinyl-di").Factory<import("../..").QualitySelector>;
|
|
53
|
+
});
|
|
54
|
+
contentStreamFactory: typeof createContentStreamFactory;
|
|
55
|
+
qualitySelector: (deps: {
|
|
56
|
+
options: ObservableValue<Pick<VinylOptions, "abr">>;
|
|
57
|
+
}) => QualitySelectorImpl;
|
|
58
|
+
mediaTimeline: (deps: BuildHlsMediaTimelineDeps & {
|
|
59
|
+
readonly manifestTransformed: ObservableValue<Promise<HlsManifestData>>;
|
|
60
|
+
}) => ObservableValue<Promise<import("../..").MediaTimeline>>;
|
|
61
|
+
mediaTimelineTransformed: typeof createDefaultMediaTimelineTransformer;
|
|
62
|
+
options: import("@amazon/vinyl-di").Factory<ObservableValue<{
|
|
63
|
+
readonly abr: QualitySelectorImplOptions;
|
|
64
|
+
readonly preferredAudioLanguage: string | null;
|
|
65
|
+
}>>;
|
|
66
|
+
playbackController: import("@amazon/vinyl-di").Factory<PlaybackController>;
|
|
67
|
+
playbackSource: import("@amazon/vinyl-di").Factory<PlaybackSource>;
|
|
68
|
+
drmKeySystemResolver: import("@amazon/vinyl-di").Factory<DrmKeySystemResolver>;
|
|
69
|
+
requestInterceptor: import("@amazon/vinyl-di").Factory<RequestInterceptor>;
|
|
70
|
+
drmController: import("@amazon/vinyl-di").Factory<DrmController>;
|
|
71
|
+
capabilities: import("@amazon/vinyl-di").Factory<Capabilities>;
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=createHlsFactories.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MainPlaylist, MediaPlaylist } from '@amazon/vinyl-hls-parser';
|
|
2
|
+
import { Maybe, ReadonlyAbort, RequestInitOptions } from '@amazon/vinyl-util';
|
|
3
|
+
import { HlsManifestProvider } from './HlsManifestProvider';
|
|
4
|
+
export declare function createUrlHlsManifestProvider(url: string, requestInit?: RequestInitOptions): HlsManifestProvider;
|
|
5
|
+
export interface FetchMediaPlaylistOptions {
|
|
6
|
+
/** The variant URI to resolve against the base URL. */
|
|
7
|
+
readonly uri: string;
|
|
8
|
+
/** The base URL for resolving relative URIs. */
|
|
9
|
+
readonly baseUrl: string;
|
|
10
|
+
/** Variable definitions from the main playlist. */
|
|
11
|
+
readonly defines: MainPlaylist['defines'];
|
|
12
|
+
/** Optional request configuration. */
|
|
13
|
+
readonly requestInit?: Maybe<RequestInitOptions>;
|
|
14
|
+
/** Optional abort signal. */
|
|
15
|
+
readonly abort?: Maybe<ReadonlyAbort>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Fetches and parses an HLS media playlist from a variant URI.
|
|
19
|
+
*/
|
|
20
|
+
export declare function fetchMediaPlaylist(options: FetchMediaPlaylistOptions): Promise<MediaPlaylist>;
|
|
21
|
+
//# sourceMappingURL=createUrlHlsManifestProvider.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './HlsManifestProvider';
|
|
2
|
+
export * from './createUrlHlsManifestProvider';
|
|
3
|
+
export * from './HlsManifestController';
|
|
4
|
+
export * from './HlsMediaQualityMetadataResolver';
|
|
5
|
+
export * from './createHlsContentTypesValue';
|
|
6
|
+
export * from './createHlsFactories';
|
|
7
|
+
export * from './createHlsContentStreamFactories';
|
|
8
|
+
export * from './HlsTrack';
|
|
9
|
+
export * from './util/hlsSegmentTime';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|