mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
1 line
1.6 MiB
Text
1 line
1.6 MiB
Text
|
{"version":3,"file":"hls-demo.js.map","sources":["tests/test-streams.js","node_modules/jsonpack/main.js","node_modules/promise-polyfill/src/finally.js","node_modules/promise-polyfill/src/allSettled.js","node_modules/promise-polyfill/src/any.js","node_modules/promise-polyfill/src/index.js","node_modules/promise-polyfill/src/polyfill.js","demo/demo-utils.js","node_modules/moment/moment.js","node_modules/chart.js/dist/Chart.js","demo/chart/chartjs-horizontal-bar.ts","demo/chart/timeline-chart.ts","demo/main.js"],"sourcesContent":["/**\n * Create test stream\n * @param {string} url\n * @param {string} description\n * @param {boolean} [live]\n * @param {boolean} [abr]\n * @param {string[]} [skip_ua]\n * @returns {{url: string, description: string, live: boolean, abr: boolean, skip_ua: string[]}}\n */\nfunction createTestStream(\n url,\n description,\n live = false,\n abr = true,\n skip_ua = [],\n) {\n return {\n url: url,\n description: description,\n live: live,\n abr: abr,\n skip_ua: skip_ua,\n };\n}\n\n/**\n * @param {Object} target\n * @param {Object} [config]\n * @returns {{url: string, description: string, live: boolean, abr: boolean, skip_ua: string[]}}\n */\nfunction createTestStreamWithConfig(target, config) {\n if (typeof target !== 'object') {\n throw new Error('target should be object');\n }\n\n const testStream = createTestStream(\n target.url,\n target.description,\n target.live,\n target.abr,\n target.skip_ua,\n );\n\n testStream.config = config;\n\n return testStream;\n}\n\nmodule.exports = {\n bbb: {\n url: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',\n description: 'Big Buck Bunny - adaptive qualities',\n abr: true,\n },\n fdr: {\n url: 'https://cdn.jwplayer.com/manifests/pZxWPRg4.m3u8',\n description: 'FDR - CDN packaged, 4s segments, 180p - 1080p',\n abr: true,\n },\n bigBuckBunny480p: {\n url: 'https://test-streams.mux.dev/x36xhzz/url_6/193039199_mp4_h264_aac_hq_7.m3u8',\n description: 'Big Buck Bunny - 480p only',\n abr: false,\n },\n arte: {\n url: 'https://test-streams.mux.dev/test_001/stream.m3u8',\n description: 'ARTE China,ABR',\n abr: true,\n },\n deltatreDAI: {\n url: 'https://test-streams.mux.dev/dai-discontinuity-deltatre/manifest.m3u8',\n description: 'Ad-insertion in event stream',\n abr: false,\n },\n issue666: {\n url: 'https://playertest.longtailvideo.com/adaptive/issue666/playlists/cisq0gim60007xzvi505emlxx.m3u8',\n description:\n 'Surveillance footage - https://github.com/video-dev/hls.js/issues/666',\n abr: false,\n },\n closedCaptions: {\n url: 'https://playertest.longtailvideo.com/adaptive/captions/playlist.m3u8',\n description: 'CNN special report, with CC',\n abr: false,\n },\n customIvBadDts: {\n url: 'https://playertest.longtailvideo.com/adaptive/customIV/prog_index.m3u8',\n description: 'Custom IV with bad PTS DTS',\n abr: false,\n },\n oceansAES: {\n url: 'https://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes.m3u8',\n description: 'AES-128 encrypted, ABR',\n abr: true,\n },\n tracksWithAES: {\n url: 'https://playertest.longtailvideo.com/adaptive/aes-with-tracks/master.m3u8',\n description: 'AES-128 encrypted, TS main with AAC audio track',\n abr: false,\n },\n mp3Audio: {\n url: 'https://playertest.longtailvideo.com/adaptive/vod-with-mp3/manifest.m3u8',\n description: 'MP3 VOD demo',\n abr: false,\n },\n mpegAudioOnly: {\n url: 'https://pl.streamingvideoprovider.com/mp3-playlist/playlist.m3u8',\n description: 'MPEG Audio Only demo',\n abr: false,\n skip_ua: ['MicrosoftEdge', 'firefox'],\n },\n fmp4: {\n url: 'https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8',\n description: 'HLS fMP4 Angel-One multiple audio-tracks',\n abr: true,\n },\n fmp4Bitmovin: {\n url: 'https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8',\n description: 'HLS fMP4 by Bitmovin',\n abr: true,\n },\n fm
|