@mux/playback-core 0.20.2 → 0.21.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.
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2019.full.d.ts","../../../node_modules/hls.js/dist/hls.js.d.ts","./types/mux-embed.d.ts","../src/errors.ts","../src/hls.ts","../../../node_modules/media-tracks/dist/types/video-rendition.d.ts","../../../node_modules/media-tracks/dist/types/video-track.d.ts","../../../node_modules/media-tracks/dist/types/video-track-list.d.ts","../../../node_modules/media-tracks/dist/types/audio-rendition.d.ts","../../../node_modules/media-tracks/dist/types/audio-track.d.ts","../../../node_modules/media-tracks/dist/types/audio-track-list.d.ts","../../../node_modules/media-tracks/dist/types/video-rendition-list.d.ts","../../../node_modules/media-tracks/dist/types/audio-rendition-list.d.ts","../../../node_modules/media-tracks/dist/types/mixin.d.ts","../../../node_modules/media-tracks/dist/types/track-event.d.ts","../../../node_modules/media-tracks/dist/types/rendition-event.d.ts","../../../node_modules/media-tracks/dist/types/index.d.ts","../src/types.ts","../src/util.ts","../src/autoplay.ts","../src/preload.ts","../src/media-tracks.ts","../src/text-tracks.ts","../src/pdt.ts","../src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","54332f5adc7aa4b215fe1895f96c16218813d37348c7236d343c53d30dbc159f",{"version":"6ff45ab1a5c3f32638dd1131cc94ecd68f11566363ea16dca3c8a7d556a81bbb","affectsGlobalScope":true},{"version":"f9c9f4036e6351de47c9a53aba2f692b1eb77269ed854be64a4a5ada2d6cba86","signature":"de64daa4e510abaaf4b4970c6dd37e39c3b8a263cccbeb80a41c69ae5a2a34ba"},"c13fb8c7fdb84f3c59470c672220c380ac26ffb099721ccebba3c53971cb700d","2ed351b90f48ecae9c627d41e2614c6a4fe670f958e8a5a5d3bb4bc21980bdb6","8f358619bbe2b132a373c5e8381018bb1f11f55dbac8cb84c380d5279f18eb75","ba0b6859e73b5fb85f18160a3b0d741968b1c4122fdd3436398dc99a6a9736c9","9979bad516454ac2aaff1756fc7f664ca6ccfdd9b4077f306e99df3033edf0a2","323cfa8826348d6f5269abeed193b53c1ee351a9c178858bce4dee6e9b6c3ac9","24354cb3bc1d897f8321bce628352612d35d92a79dba42e6609f7f5ec7d3a697","2ad77fd12d9bf99057909e40fecb502cb4429c617161f373339f294dfaa5d6f5","8e4de702297e7c9173982f2e1af6bb29b5a0251811ac12de6beb48dba2288a9f",{"version":"f00052d58fca55867ac607515a29de91e6906fe5c999bf9eab49448bbf233519","affectsGlobalScope":true},"d86abfe8b121d0296f860e2165d243a46895e6a7fd089bc7fff4e779131acc15","f9955a6b47c6f2608087b111dca772554ef89d1ed302990104574f7cee41cb05","710bfef6f0be756ddb857985b7dd5d0cc831c67b6bdfbd1179b7dc4457819ff7",{"version":"d4522ed5bf649658059fa55e42c788f7e51803b25bb38676bf269e507e011171","signature":"a95ce49b7c1a327fb5b9ace91c75482e0536bf00d69ac846681c5dc7e79275c3"},{"version":"02023add3112230f1ddfb004078da4616fbfbc4e09b414b6a8cd85207b9d402b","signature":"2d04e1242a12a52b1bb95ef8188f472d23b2c398530d74d6808d055bb20e2e0f"},{"version":"53c9b795a91dd165226fa236ce0a3cef93e9604f9203d52bdc36695756b2c604","signature":"5a6e81e28183631d440aedfbfa700c011b883b23d224ad0563106ff2c8de6a21"},{"version":"33a7c8c6e9c79e94f4b71eddf5466737a12026eb1215daa85621b5c4f3524193","signature":"594247a3e85c76e671668ae878b41d5e11ad4dbeb32717b567300d2426bd4f8b"},{"version":"1f1b7c2dcbfd7eebedd1079cea8ef8134f90f25001520961d062248e86d6a107","signature":"f9416c803360f1b7d50d5005aa62780607533c0f446f164f373711038b000b5f"},{"version":"c754608f1e5f8109baad94e788e9c636f903ecbf4cae4b972c1a018464fb845f","signature":"8f34e5a4d2235a6c3748bb35a1774f322e745ac9b68e328f3263ec05d6ed926e"},{"version":"0357e4c609f9e3a89903899e8334cbcd44530e1b077329051846e6a1754eed93","signature":"dccea7b665fe08ed006acd191a7e68123ba7ec49848ac7c28a164962bf21254e"},{"version":"0969323d5c370b77965efc8334955057dac99ef735c74ccd368e95dc71c63d35","signature":"fb6859c4c46487675e74e4b2ba21d509473d30b9e72efb05716da3ae69ab9e65"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":5,"noImplicitAny":true,"outDir":"./types","rootDir":"../src","skipLibCheck":false,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[44,45],[45],[44],[41,42,43,44,45,46,47,48,49,50,51],[42,43,45,46,47,48],[41,44],[42,45],[41,42],[42],[41],[37],[40,53,54],[38,39,40,53,54,55,56,57,58,59],[40,52],[53],[53,54],[38,39,40,52],[38,39,40,53,58,59],[40],[40,53]],"referencedMap":[[48,1],[46,2],[45,3],[52,4],[49,5],[51,6],[50,7],[47,8],[43,9],[42,10],[38,11],[55,12],[40,11],[60,13],[57,14],[59,15],[56,16],[58,12],[53,17],[54,15]],"exportedModulesMap":[[48,1],[46,2],[45,3],[52,4],[49,5],[51,6],[50,7],[47,8],[43,9],[42,10],[38,11],[55,15],[40,11],[60,18],[57,19],[59,15],[56,15],[58,20],[53,17],[54,15]],"semanticDiagnosticsPerFile":[37,48,44,46,45,52,49,51,50,47,41,43,42,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,36,35,32,33,34,1,10,9,38,55,39,40,60,57,59,56,58,53,54],"latestChangedDtsFile":"./types/index.d.ts"},"version":"4.9.4"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2019.full.d.ts","../../../node_modules/hls.js/dist/hls.js.d.ts","./types/mux-embed.d.ts","../src/errors.ts","../src/hls.ts","../../../node_modules/media-tracks/dist/types/video-rendition.d.ts","../../../node_modules/media-tracks/dist/types/video-track.d.ts","../../../node_modules/media-tracks/dist/types/video-track-list.d.ts","../../../node_modules/media-tracks/dist/types/audio-rendition.d.ts","../../../node_modules/media-tracks/dist/types/audio-track.d.ts","../../../node_modules/media-tracks/dist/types/audio-track-list.d.ts","../../../node_modules/media-tracks/dist/types/video-rendition-list.d.ts","../../../node_modules/media-tracks/dist/types/audio-rendition-list.d.ts","../../../node_modules/media-tracks/dist/types/mixin.d.ts","../../../node_modules/media-tracks/dist/types/track-event.d.ts","../../../node_modules/media-tracks/dist/types/rendition-event.d.ts","../../../node_modules/media-tracks/dist/types/index.d.ts","../src/types.ts","../src/util.ts","../src/autoplay.ts","../src/preload.ts","../src/media-tracks.ts","../src/text-tracks.ts","../src/pdt.ts","../src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","54332f5adc7aa4b215fe1895f96c16218813d37348c7236d343c53d30dbc159f",{"version":"6ff45ab1a5c3f32638dd1131cc94ecd68f11566363ea16dca3c8a7d556a81bbb","affectsGlobalScope":true},{"version":"f9c9f4036e6351de47c9a53aba2f692b1eb77269ed854be64a4a5ada2d6cba86","signature":"de64daa4e510abaaf4b4970c6dd37e39c3b8a263cccbeb80a41c69ae5a2a34ba"},"c13fb8c7fdb84f3c59470c672220c380ac26ffb099721ccebba3c53971cb700d","2ed351b90f48ecae9c627d41e2614c6a4fe670f958e8a5a5d3bb4bc21980bdb6","8f358619bbe2b132a373c5e8381018bb1f11f55dbac8cb84c380d5279f18eb75","ba0b6859e73b5fb85f18160a3b0d741968b1c4122fdd3436398dc99a6a9736c9","9979bad516454ac2aaff1756fc7f664ca6ccfdd9b4077f306e99df3033edf0a2","323cfa8826348d6f5269abeed193b53c1ee351a9c178858bce4dee6e9b6c3ac9","24354cb3bc1d897f8321bce628352612d35d92a79dba42e6609f7f5ec7d3a697","2ad77fd12d9bf99057909e40fecb502cb4429c617161f373339f294dfaa5d6f5","8e4de702297e7c9173982f2e1af6bb29b5a0251811ac12de6beb48dba2288a9f",{"version":"f00052d58fca55867ac607515a29de91e6906fe5c999bf9eab49448bbf233519","affectsGlobalScope":true},"d86abfe8b121d0296f860e2165d243a46895e6a7fd089bc7fff4e779131acc15","f9955a6b47c6f2608087b111dca772554ef89d1ed302990104574f7cee41cb05","710bfef6f0be756ddb857985b7dd5d0cc831c67b6bdfbd1179b7dc4457819ff7",{"version":"096d695379a9efd22afe6bab4a46a177b49cd49d53d27cef47ce536b684d1e35","signature":"78619e384443d0416802f8f051ad3f84ab1d72069308ecdd097e32dcaed1077e"},{"version":"02023add3112230f1ddfb004078da4616fbfbc4e09b414b6a8cd85207b9d402b","signature":"2d04e1242a12a52b1bb95ef8188f472d23b2c398530d74d6808d055bb20e2e0f"},{"version":"53c9b795a91dd165226fa236ce0a3cef93e9604f9203d52bdc36695756b2c604","signature":"5a6e81e28183631d440aedfbfa700c011b883b23d224ad0563106ff2c8de6a21"},{"version":"33a7c8c6e9c79e94f4b71eddf5466737a12026eb1215daa85621b5c4f3524193","signature":"594247a3e85c76e671668ae878b41d5e11ad4dbeb32717b567300d2426bd4f8b"},{"version":"1f1b7c2dcbfd7eebedd1079cea8ef8134f90f25001520961d062248e86d6a107","signature":"f9416c803360f1b7d50d5005aa62780607533c0f446f164f373711038b000b5f"},{"version":"c754608f1e5f8109baad94e788e9c636f903ecbf4cae4b972c1a018464fb845f","signature":"8f34e5a4d2235a6c3748bb35a1774f322e745ac9b68e328f3263ec05d6ed926e"},{"version":"0357e4c609f9e3a89903899e8334cbcd44530e1b077329051846e6a1754eed93","signature":"dccea7b665fe08ed006acd191a7e68123ba7ec49848ac7c28a164962bf21254e"},{"version":"1909abb01414c12ff4e78f98478aab37382c108e71712a09c7bdd720bb2bcda0","signature":"1b77033ac5e522a7983212d971c1852eeb938f78493df8772886925cc80b4780"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":5,"noImplicitAny":true,"outDir":"./types","rootDir":"../src","skipLibCheck":false,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[44,45],[45],[44],[41,42,43,44,45,46,47,48,49,50,51],[42,43,45,46,47,48],[41,44],[42,45],[41,42],[42],[41],[37],[40,53,54],[38,39,40,53,54,55,56,57,58,59],[40,52],[53],[53,54],[38,39,40,52],[38,39,40,53,58,59],[40],[40,53]],"referencedMap":[[48,1],[46,2],[45,3],[52,4],[49,5],[51,6],[50,7],[47,8],[43,9],[42,10],[38,11],[55,12],[40,11],[60,13],[57,14],[59,15],[56,16],[58,12],[53,17],[54,15]],"exportedModulesMap":[[48,1],[46,2],[45,3],[52,4],[49,5],[51,6],[50,7],[47,8],[43,9],[42,10],[38,11],[55,15],[40,11],[60,18],[57,19],[59,15],[56,15],[58,20],[53,17],[54,15]],"semanticDiagnosticsPerFile":[37,48,44,46,45,52,49,51,50,47,41,43,42,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,36,35,32,33,34,1,10,9,38,55,39,40,60,57,59,56,58,53,54],"latestChangedDtsFile":"./types/index.d.ts"},"version":"4.9.4"}
@@ -5,7 +5,8 @@ import type { HlsInterface } from './hls';
5
5
  import { MediaError } from './errors';
6
6
  import { addTextTrack, removeTextTrack, addCuePoints, getCuePoints, getActiveCuePoint, setupCuePoints, getCuePointsTrack } from './text-tracks';
7
7
  import { getStartDate, getCurrentPdt } from './pdt';
8
- import { StreamTypes, type ValueOf, type PlaybackCore, type MuxMediaProps, type MuxMediaPropsInternal, MediaTypes } from './types';
8
+ import type { ValueOf, PlaybackCore, MuxMediaProps, MuxMediaPropsInternal, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from './types';
9
+ import { StreamTypes, MediaTypes } from './types';
9
10
  export { mux, Hls, MediaError, addTextTrack, removeTextTrack, addCuePoints, getCuePoints, getActiveCuePoint, getCuePointsTrack, setupCuePoints, getStartDate, getCurrentPdt, };
10
11
  export * from './types';
11
12
  export declare const getMediaPlaylistLinesFromMultivariantPlaylistSrc: (src: string) => Promise<string[]>;
@@ -37,10 +38,20 @@ export declare const muxMediaState: WeakMap<HTMLMediaElement, Partial<MuxMediaPr
37
38
  }>;
38
39
  export declare const generatePlayerInitTime: () => number;
39
40
  export declare const generateUUID: () => string;
40
- export declare const toMuxVideoURL: (playbackId?: string, { domain, maxResolution }?: {
41
- domain?: string | undefined;
42
- maxResolution?: string | undefined;
43
- }) => string | undefined;
41
+ type MuxVideoURLProps = Partial<{
42
+ playbackId: string;
43
+ customDomain: string;
44
+ maxResolution: MaxResolutionValue;
45
+ minResolution: MinResolutionValue;
46
+ renditionOrder: RenditionOrderValue;
47
+ tokens: Partial<{
48
+ playback: string;
49
+ storyboard: string;
50
+ thumbnail: string;
51
+ }>;
52
+ extraPlaylistParams: Record<string, any>;
53
+ }>;
54
+ export declare const toMuxVideoURL: ({ playbackId: playbackIdWithParams, customDomain: domain, maxResolution, minResolution, renditionOrder, tokens: { playback: token }, extraPlaylistParams, }?: MuxVideoURLProps) => string | undefined;
44
55
  export declare const getError: (mediaEl: HTMLMediaElement) => globalThis.MediaError | (globalThis.MediaError & MediaError) | null | undefined;
45
56
  export declare const getStreamType: (mediaEl: HTMLMediaElement) => ValueOf<StreamTypes>;
46
57
  export declare const getTargetLiveWindow: (mediaEl: HTMLMediaElement) => number;
@@ -58,12 +58,39 @@ export type CuePoint<T = any> = {
58
58
  time: number;
59
59
  value: T;
60
60
  };
61
+ export declare const MaxResolution: {
62
+ readonly upTo720p: "720p";
63
+ readonly upTo1080p: "1080p";
64
+ readonly upTo1440p: "1440p";
65
+ readonly upTo2160p: "2160p";
66
+ };
67
+ export declare const MinResolution: {
68
+ readonly noLessThan480p: "480p";
69
+ readonly noLessThan540p: "540p";
70
+ readonly noLessThan720p: "720p";
71
+ readonly noLessThan1080p: "1080p";
72
+ readonly noLessThan1440p: "1440p";
73
+ readonly noLessThan2160p: "2160p";
74
+ };
75
+ export declare const RenditionOrder: {
76
+ readonly DESCENDING: "desc";
77
+ };
78
+ export type MaxResolutionValue = ValueOf<typeof MaxResolution>;
79
+ export type MinResolutionValue = ValueOf<typeof MinResolution>;
80
+ export type RenditionOrderValue = ValueOf<typeof RenditionOrder>;
61
81
  export type MuxMediaPropTypes = {
62
82
  envKey: MetaData['env_key'];
63
83
  debug: Options['debug'] & Hls['config']['debug'];
64
84
  metadata: Partial<Options['data']>;
65
- maxResolution: string;
85
+ maxResolution: MaxResolutionValue;
86
+ minResolution: MinResolutionValue;
87
+ renditionOrder: RenditionOrderValue;
66
88
  customDomain: string;
89
+ tokens: Partial<{
90
+ playback: string;
91
+ storyboard: string;
92
+ thumbnail: string;
93
+ }>;
67
94
  beaconCollectionDomain: Options['beaconCollectionDomain'];
68
95
  errorTranslator: Options['errorTranslator'];
69
96
  disableCookies: Options['disableCookies'];
@@ -5,7 +5,8 @@ import { HlsInterface } from './hls';
5
5
  import { MediaError } from './errors';
6
6
  import { addTextTrack, removeTextTrack, addCuePoints, getCuePoints, getActiveCuePoint, setupCuePoints, getCuePointsTrack } from './text-tracks';
7
7
  import { getStartDate, getCurrentPdt } from './pdt';
8
- import { StreamTypes, ValueOf, PlaybackCore, MuxMediaProps, MuxMediaPropsInternal, MediaTypes } from './types';
8
+ import { ValueOf, PlaybackCore, MuxMediaProps, MuxMediaPropsInternal, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from './types';
9
+ import { StreamTypes, MediaTypes } from './types';
9
10
  export { mux, Hls, MediaError, addTextTrack, removeTextTrack, addCuePoints, getCuePoints, getActiveCuePoint, getCuePointsTrack, setupCuePoints, getStartDate, getCurrentPdt, };
10
11
  export * from './types';
11
12
  export declare const getMediaPlaylistLinesFromMultivariantPlaylistSrc: (src: string) => Promise<string[]>;
@@ -37,10 +38,20 @@ export declare const muxMediaState: WeakMap<HTMLMediaElement, Partial<MuxMediaPr
37
38
  }>;
38
39
  export declare const generatePlayerInitTime: () => number;
39
40
  export declare const generateUUID: () => string;
40
- export declare const toMuxVideoURL: (playbackId?: string, { domain, maxResolution }?: {
41
- domain?: string | undefined;
42
- maxResolution?: string | undefined;
43
- }) => string | undefined;
41
+ type MuxVideoURLProps = Partial<{
42
+ playbackId: string;
43
+ customDomain: string;
44
+ maxResolution: MaxResolutionValue;
45
+ minResolution: MinResolutionValue;
46
+ renditionOrder: RenditionOrderValue;
47
+ tokens: Partial<{
48
+ playback: string;
49
+ storyboard: string;
50
+ thumbnail: string;
51
+ }>;
52
+ extraPlaylistParams: Record<string, any>;
53
+ }>;
54
+ export declare const toMuxVideoURL: ({ playbackId: playbackIdWithParams, customDomain: domain, maxResolution, minResolution, renditionOrder, tokens: { playback: token }, extraPlaylistParams, }?: MuxVideoURLProps) => string | undefined;
44
55
  export declare const getError: (mediaEl: HTMLMediaElement) => globalThis.MediaError | (globalThis.MediaError & MediaError) | null | undefined;
45
56
  export declare const getStreamType: (mediaEl: HTMLMediaElement) => ValueOf<StreamTypes>;
46
57
  export declare const getTargetLiveWindow: (mediaEl: HTMLMediaElement) => number;
@@ -58,12 +58,39 @@ export type CuePoint<T = any> = {
58
58
  time: number;
59
59
  value: T;
60
60
  };
61
+ export declare const MaxResolution: {
62
+ readonly upTo720p: "720p";
63
+ readonly upTo1080p: "1080p";
64
+ readonly upTo1440p: "1440p";
65
+ readonly upTo2160p: "2160p";
66
+ };
67
+ export declare const MinResolution: {
68
+ readonly noLessThan480p: "480p";
69
+ readonly noLessThan540p: "540p";
70
+ readonly noLessThan720p: "720p";
71
+ readonly noLessThan1080p: "1080p";
72
+ readonly noLessThan1440p: "1440p";
73
+ readonly noLessThan2160p: "2160p";
74
+ };
75
+ export declare const RenditionOrder: {
76
+ readonly DESCENDING: "desc";
77
+ };
78
+ export type MaxResolutionValue = ValueOf<typeof MaxResolution>;
79
+ export type MinResolutionValue = ValueOf<typeof MinResolution>;
80
+ export type RenditionOrderValue = ValueOf<typeof RenditionOrder>;
61
81
  export type MuxMediaPropTypes = {
62
82
  envKey: MetaData['env_key'];
63
83
  debug: Options['debug'] & Hls['config']['debug'];
64
84
  metadata: Partial<Options['data']>;
65
- maxResolution: string;
85
+ maxResolution: MaxResolutionValue;
86
+ minResolution: MinResolutionValue;
87
+ renditionOrder: RenditionOrderValue;
66
88
  customDomain: string;
89
+ tokens: Partial<{
90
+ playback: string;
91
+ storyboard: string;
92
+ thumbnail: string;
93
+ }>;
67
94
  beaconCollectionDomain: Options['beaconCollectionDomain'];
68
95
  errorTranslator: Options['errorTranslator'];
69
96
  disableCookies: Options['disableCookies'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mux/playback-core",
3
- "version": "0.20.2",
3
+ "version": "0.21.0",
4
4
  "description": "Core library for media playback in the browser shared by mux elements",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.mjs",
@@ -77,5 +77,5 @@
77
77
  "shx": "^0.3.4",
78
78
  "typescript": "^4.9.4"
79
79
  },
80
- "gitHead": "d0c28ee0095935b53c2a25ab795b0628c6443d1f"
80
+ "gitHead": "fb82b3852e251f08f217bc1b4dd6ffd522d9ad79"
81
81
  }