These files should not be added
This commit is contained in:
31
build/javascript/node_modules/@videojs/http-streaming/scripts/create-docs-images.js
generated
vendored
31
build/javascript/node_modules/@videojs/http-streaming/scripts/create-docs-images.js
generated
vendored
@@ -1,31 +0,0 @@
|
||||
/* eslint-disable no-console */
|
||||
const nomnoml = require('nomnoml');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const basePath = path.resolve(__dirname, '..');
|
||||
const docImageDir = path.join(basePath, 'docs/images');
|
||||
const nomnomlSourceDir = path.join(basePath, 'docs/images/sources');
|
||||
|
||||
const buildImages = {
|
||||
build() {
|
||||
const files = fs.readdirSync(nomnomlSourceDir);
|
||||
|
||||
while (files.length > 0) {
|
||||
const file = path.resolve(nomnomlSourceDir, files.shift());
|
||||
const basename = path.basename(file, 'txt');
|
||||
|
||||
if (/.nomnoml/.test(basename)) {
|
||||
const fileContents = fs.readFileSync(file, 'utf-8');
|
||||
const generated = nomnoml.renderSvg(fileContents);
|
||||
const newFilePath = path.join(docImageDir, basename) + 'svg';
|
||||
const outFile = fs.createWriteStream(newFilePath);
|
||||
|
||||
console.log(`wrote file ${newFilePath}`);
|
||||
outFile.write(generated);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
buildImages.build();
|
||||
131
build/javascript/node_modules/@videojs/http-streaming/scripts/create-test-data.js
generated
vendored
131
build/javascript/node_modules/@videojs/http-streaming/scripts/create-test-data.js
generated
vendored
@@ -1,131 +0,0 @@
|
||||
/* global window */
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const baseDir = path.join(__dirname, '..');
|
||||
const manifestsDir = path.join(baseDir, 'test', 'manifests');
|
||||
const segmentsDir = path.join(baseDir, 'test', 'segments');
|
||||
|
||||
const base64ToUint8Array = function(base64) {
|
||||
const decoded = window.atob(base64);
|
||||
const uint8Array = new Uint8Array(new ArrayBuffer(decoded.length));
|
||||
|
||||
for (let i = 0; i < decoded.length; i++) {
|
||||
uint8Array[i] = decoded.charCodeAt(i);
|
||||
}
|
||||
|
||||
return uint8Array;
|
||||
};
|
||||
|
||||
const utf16CharCodesToString = (typedArray) => {
|
||||
let val = '';
|
||||
|
||||
Array.prototype.forEach.call(typedArray, (x) => {
|
||||
val += String.fromCharCode(x);
|
||||
});
|
||||
|
||||
return val;
|
||||
};
|
||||
|
||||
const getManifests = () => (fs.readdirSync(manifestsDir) || [])
|
||||
.filter((f) => ((/\.(m3u8|mpd)/).test(path.extname(f))))
|
||||
.map((f) => path.resolve(manifestsDir, f));
|
||||
|
||||
const getSegments = () => (fs.readdirSync(segmentsDir) || [])
|
||||
.filter((f) => ((/\.(ts|mp4|key|webm|aac|ac3)/).test(path.extname(f))))
|
||||
.map((f) => path.resolve(segmentsDir, f));
|
||||
|
||||
const buildManifestString = function() {
|
||||
let manifests = 'export default {\n';
|
||||
|
||||
getManifests().forEach((file) => {
|
||||
// translate this manifest
|
||||
manifests += ' \'' + path.basename(file, path.extname(file)) + '\': ';
|
||||
manifests += fs.readFileSync(file, 'utf8')
|
||||
.split(/\r\n|\n/)
|
||||
// quote and concatenate
|
||||
.map((line) => ' \'' + line + '\\n\' +\n')
|
||||
.join('')
|
||||
// strip leading spaces and the trailing '+'
|
||||
.slice(4, -3);
|
||||
manifests += ',\n';
|
||||
});
|
||||
|
||||
// clean up and close the objects
|
||||
manifests = manifests.slice(0, -2);
|
||||
manifests += '\n};\n';
|
||||
|
||||
return manifests;
|
||||
};
|
||||
|
||||
const buildSegmentString = function() {
|
||||
const segmentData = {};
|
||||
|
||||
getSegments().forEach((file) => {
|
||||
// read the file directly as a buffer before converting to base64
|
||||
const base64Segment = fs.readFileSync(file).toString('base64');
|
||||
|
||||
segmentData[path.basename(file, path.extname(file))] = base64Segment;
|
||||
});
|
||||
|
||||
const segmentDataExportStrings = Object.keys(segmentData).reduce((acc, key) => {
|
||||
// use a function since the segment may be cleared out on usage
|
||||
acc.push(`export const ${key} = () => {
|
||||
cache.${key} = cache.${key} || base64ToUint8Array('${segmentData[key]}');
|
||||
const dest = new Uint8Array(cache.${key}.byteLength);
|
||||
dest.set(cache.${key});
|
||||
return dest;
|
||||
};`);
|
||||
// strings can be used to fake responseText in progress events
|
||||
// when testing partial appends of data
|
||||
acc.push(`export const ${key}String = () => {
|
||||
cache.${key}String = cache.${key}String || utf16CharCodesToString(${key}());
|
||||
return cache.${key}String;
|
||||
};`);
|
||||
return acc;
|
||||
}, []);
|
||||
|
||||
const segmentsFile =
|
||||
'const cache = {};\n' +
|
||||
`const base64ToUint8Array = ${base64ToUint8Array.toString()};\n` +
|
||||
`const utf16CharCodesToString = ${utf16CharCodesToString.toString()};\n` +
|
||||
segmentDataExportStrings.join('\n');
|
||||
|
||||
return segmentsFile;
|
||||
};
|
||||
|
||||
/* we refer to them as .js, so that babel and other plugins can work on them */
|
||||
const segmentsKey = 'create-test-data!segments.js';
|
||||
const manifestsKey = 'create-test-data!manifests.js';
|
||||
|
||||
module.exports = function() {
|
||||
return {
|
||||
name: 'createTestData',
|
||||
buildStart() {
|
||||
this.addWatchFile(segmentsDir);
|
||||
this.addWatchFile(manifestsDir);
|
||||
|
||||
[].concat(getSegments())
|
||||
.concat(getManifests())
|
||||
.forEach((file) => this.addWatchFile(file));
|
||||
},
|
||||
resolveId(importee, importer) {
|
||||
// if this is not an id we can resolve return
|
||||
if (importee.indexOf('create-test-data!') !== 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
const name = importee.split('!')[1];
|
||||
|
||||
return (name.indexOf('segments') === 0) ? segmentsKey : manifestsKey;
|
||||
},
|
||||
load(id) {
|
||||
if (id === segmentsKey) {
|
||||
return buildSegmentString.call(this);
|
||||
}
|
||||
|
||||
if (id === manifestsKey) {
|
||||
return buildManifestString.call(this);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
415
build/javascript/node_modules/@videojs/http-streaming/scripts/index-demo-page.js
generated
vendored
415
build/javascript/node_modules/@videojs/http-streaming/scripts/index-demo-page.js
generated
vendored
@@ -1,415 +0,0 @@
|
||||
/* global window document */
|
||||
/* eslint-disable vars-on-top, no-var, object-shorthand, no-console */
|
||||
(function(window) {
|
||||
var representationsEl = document.getElementById('representations');
|
||||
|
||||
representationsEl.addEventListener('change', function() {
|
||||
var selectedIndex = representationsEl.selectedIndex;
|
||||
|
||||
if (!selectedIndex || selectedIndex < 1 || !window.vhs) {
|
||||
return;
|
||||
}
|
||||
var selectedOption = representationsEl.options[representationsEl.selectedIndex];
|
||||
|
||||
if (!selectedOption) {
|
||||
return;
|
||||
}
|
||||
|
||||
var id = selectedOption.value;
|
||||
|
||||
window.vhs.representations().forEach(function(rep) {
|
||||
rep.playlist.disabled = rep.id !== id;
|
||||
});
|
||||
|
||||
window.mpc.smoothQualityChange_();
|
||||
});
|
||||
var hlsOptGroup = document.querySelector('[label="hls"]');
|
||||
var dashOptGroup = document.querySelector('[label="dash"]');
|
||||
var drmOptGroup = document.querySelector('[label="drm"]');
|
||||
var liveOptGroup = document.querySelector('[label="live"]');
|
||||
var llliveOptGroup = document.querySelector('[label="low latency live"]');
|
||||
|
||||
// get the sources list squared away
|
||||
var xhr = new window.XMLHttpRequest();
|
||||
|
||||
xhr.addEventListener('load', function() {
|
||||
var sources = JSON.parse(xhr.responseText);
|
||||
|
||||
sources.forEach(function(source) {
|
||||
const option = document.createElement('option');
|
||||
|
||||
option.innerText = source.name;
|
||||
option.value = source.uri;
|
||||
|
||||
if (source.keySystems) {
|
||||
option.setAttribute('data-key-systems', JSON.stringify(source.keySystems, null, 2));
|
||||
}
|
||||
|
||||
if (source.mimetype) {
|
||||
option.setAttribute('data-mimetype', source.mimetype);
|
||||
}
|
||||
|
||||
if (source.features.indexOf('low-latency') !== -1) {
|
||||
llliveOptGroup.appendChild(option);
|
||||
} else if (source.features.indexOf('live') !== -1) {
|
||||
liveOptGroup.appendChild(option);
|
||||
} else if (source.keySystems) {
|
||||
drmOptGroup.appendChild(option);
|
||||
} else if (source.mimetype === 'application/x-mpegurl') {
|
||||
hlsOptGroup.appendChild(option);
|
||||
} else if (source.mimetype === 'application/dash+xml') {
|
||||
dashOptGroup.appendChild(option);
|
||||
}
|
||||
});
|
||||
});
|
||||
xhr.open('GET', './scripts/sources.json');
|
||||
xhr.send();
|
||||
|
||||
// all relevant elements
|
||||
var urlButton = document.getElementById('load-url');
|
||||
var sources = document.getElementById('load-source');
|
||||
var stateEls = {};
|
||||
|
||||
var getInputValue = function(el) {
|
||||
if (el.type === 'url' || el.type === 'text' || el.nodeName.toLowerCase() === 'textarea') {
|
||||
return encodeURIComponent(el.value);
|
||||
} else if (el.type === 'checkbox') {
|
||||
return el.checked;
|
||||
}
|
||||
|
||||
console.warn('unhandled input type ' + el.type);
|
||||
return '';
|
||||
};
|
||||
|
||||
var setInputValue = function(el, value) {
|
||||
if (el.type === 'url' || el.type === 'text' || el.nodeName.toLowerCase() === 'textarea') {
|
||||
el.value = decodeURIComponent(value);
|
||||
} else {
|
||||
el.checked = value === 'true' ? true : false;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
var newEvent = function(name) {
|
||||
var event;
|
||||
|
||||
if (typeof window.Event === 'function') {
|
||||
event = new window.Event(name);
|
||||
} else {
|
||||
event = document.createEvent('Event');
|
||||
event.initEvent(name, true, true);
|
||||
}
|
||||
|
||||
return event;
|
||||
};
|
||||
|
||||
// taken from video.js
|
||||
var getFileExtension = function(path) {
|
||||
var splitPathRe;
|
||||
var pathParts;
|
||||
|
||||
if (typeof path === 'string') {
|
||||
splitPathRe = /^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]*?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i;
|
||||
pathParts = splitPathRe.exec(path);
|
||||
|
||||
if (pathParts) {
|
||||
return pathParts.pop().toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
return '';
|
||||
};
|
||||
|
||||
var saveState = function() {
|
||||
var query = '';
|
||||
|
||||
if (!window.history.replaceState) {
|
||||
return;
|
||||
}
|
||||
|
||||
Object.keys(stateEls).forEach(function(elName) {
|
||||
var symbol = query.length ? '&' : '?';
|
||||
|
||||
query += symbol + elName + '=' + getInputValue(stateEls[elName]);
|
||||
});
|
||||
|
||||
window.history.replaceState({}, 'vhs demo', query);
|
||||
};
|
||||
|
||||
window.URLSearchParams = window.URLSearchParams || function(locationSearch) {
|
||||
this.get = function(name) {
|
||||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(locationSearch);
|
||||
|
||||
return results ? decodeURIComponent(results[1]) : null;
|
||||
};
|
||||
};
|
||||
|
||||
// eslint-disable-next-line
|
||||
var loadState = function() {
|
||||
var params = new window.URLSearchParams(window.location.search);
|
||||
|
||||
return Object.keys(stateEls).reduce(function(acc, elName) {
|
||||
acc[elName] = typeof params.get(elName) !== 'object' ? params.get(elName) : getInputValue(stateEls[elName]);
|
||||
return acc;
|
||||
}, {});
|
||||
};
|
||||
|
||||
// eslint-disable-next-line
|
||||
var reloadScripts = function(urls, cb) {
|
||||
var el = document.getElementById('reload-scripts');
|
||||
var onload = function() {
|
||||
var script;
|
||||
|
||||
if (!urls.length) {
|
||||
cb();
|
||||
return;
|
||||
}
|
||||
|
||||
script = document.createElement('script');
|
||||
|
||||
script.src = urls.shift();
|
||||
script.onload = onload;
|
||||
|
||||
el.appendChild(script);
|
||||
};
|
||||
|
||||
if (!el) {
|
||||
el = document.createElement('div');
|
||||
el.id = 'reload-scripts';
|
||||
document.body.appendChild(el);
|
||||
}
|
||||
|
||||
while (el.firstChild) {
|
||||
el.removeChild(el.firstChild);
|
||||
}
|
||||
|
||||
onload();
|
||||
};
|
||||
|
||||
var regenerateRepresentations = function() {
|
||||
while (representationsEl.firstChild) {
|
||||
representationsEl.removeChild(representationsEl.firstChild);
|
||||
}
|
||||
|
||||
var selectedIndex;
|
||||
|
||||
window.vhs.representations().forEach(function(rep, i) {
|
||||
var option = document.createElement('option');
|
||||
|
||||
option.value = rep.id;
|
||||
option.innerText = JSON.stringify({
|
||||
id: rep.id,
|
||||
videoCodec: rep.codecs.video,
|
||||
audioCodec: rep.codecs.audio,
|
||||
bandwidth: rep.bandwidth,
|
||||
heigth: rep.heigth,
|
||||
width: rep.width
|
||||
});
|
||||
|
||||
if (window.mpc.media().id === rep.id) {
|
||||
selectedIndex = i;
|
||||
}
|
||||
|
||||
representationsEl.appendChild(option);
|
||||
});
|
||||
|
||||
representationsEl.selectedIndex = selectedIndex;
|
||||
};
|
||||
|
||||
['debug', 'autoplay', 'muted', 'minified', 'liveui', 'partial', 'url', 'type', 'keysystems'].forEach(function(name) {
|
||||
stateEls[name] = document.getElementById(name);
|
||||
});
|
||||
|
||||
window.startDemo = function(cb) {
|
||||
var state = loadState();
|
||||
|
||||
Object.keys(state).forEach(function(elName) {
|
||||
setInputValue(stateEls[elName], state[elName]);
|
||||
});
|
||||
|
||||
Array.prototype.forEach.call(sources.options, function(s, i) {
|
||||
if (s.value === state.url) {
|
||||
sources.selectedIndex = i;
|
||||
}
|
||||
});
|
||||
|
||||
stateEls.muted.addEventListener('change', function(event) {
|
||||
saveState();
|
||||
window.player.muted(event.target.checked);
|
||||
});
|
||||
|
||||
stateEls.autoplay.addEventListener('change', function(event) {
|
||||
saveState();
|
||||
window.player.autoplay(event.target.checked);
|
||||
});
|
||||
|
||||
stateEls.debug.addEventListener('change', function(event) {
|
||||
saveState();
|
||||
window.videojs.log.level(event.target.checked ? 'debug' : 'info');
|
||||
});
|
||||
|
||||
stateEls.partial.addEventListener('change', function(event) {
|
||||
saveState();
|
||||
|
||||
window.videojs.options = window.videojs.options || {};
|
||||
window.videojs.options.vhs = window.videojs.options.vhs || {};
|
||||
window.videojs.options.vhs.handlePartialData = event.target.checked;
|
||||
|
||||
if (window.player) {
|
||||
window.player.src(window.player.currentSource());
|
||||
}
|
||||
});
|
||||
|
||||
stateEls.liveui.addEventListener('change', function(event) {
|
||||
saveState();
|
||||
|
||||
stateEls.minified.dispatchEvent(newEvent('change'));
|
||||
});
|
||||
|
||||
stateEls.minified.addEventListener('change', function(event) {
|
||||
var urls = [
|
||||
'node_modules/video.js/dist/alt/video.core',
|
||||
'node_modules/videojs-contrib-eme/dist/videojs-contrib-eme',
|
||||
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels',
|
||||
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector',
|
||||
'dist/videojs-http-streaming'
|
||||
].map(function(url) {
|
||||
return url + (event.target.checked ? '.min' : '') + '.js';
|
||||
});
|
||||
|
||||
saveState();
|
||||
|
||||
if (window.player) {
|
||||
window.player.dispose();
|
||||
delete window.player;
|
||||
}
|
||||
if (window.videojs) {
|
||||
delete window.videojs;
|
||||
}
|
||||
|
||||
reloadScripts(urls, function() {
|
||||
var player;
|
||||
var fixture = document.getElementById('player-fixture');
|
||||
var videoEl = document.createElement('video-js');
|
||||
|
||||
videoEl.setAttribute('controls', '');
|
||||
videoEl.className = 'vjs-default-skin';
|
||||
fixture.appendChild(videoEl);
|
||||
|
||||
stateEls.partial.dispatchEvent(newEvent('change'));
|
||||
|
||||
player = window.player = window.videojs(videoEl, {
|
||||
plugins: {
|
||||
httpSourceSelector: {
|
||||
default: 'auto'
|
||||
}
|
||||
},
|
||||
liveui: stateEls.liveui.checked,
|
||||
html5: {
|
||||
vhs: {
|
||||
overrideNative: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
player.width(640);
|
||||
player.height(264);
|
||||
|
||||
// configure videojs-contrib-eme
|
||||
player.eme();
|
||||
|
||||
stateEls.debug.dispatchEvent(newEvent('change'));
|
||||
stateEls.muted.dispatchEvent(newEvent('change'));
|
||||
stateEls.autoplay.dispatchEvent(newEvent('change'));
|
||||
|
||||
// run the load url handler for the intial source
|
||||
if (stateEls.url.value) {
|
||||
urlButton.dispatchEvent(newEvent('click'));
|
||||
} else {
|
||||
sources.dispatchEvent(newEvent('change'));
|
||||
}
|
||||
player.on('loadedmetadata', function() {
|
||||
if (player.vhs) {
|
||||
window.vhs = player.tech_.vhs;
|
||||
window.mpc = player.tech_.vhs.masterPlaylistController_;
|
||||
window.mpc.masterPlaylistLoader_.on('mediachange', regenerateRepresentations);
|
||||
regenerateRepresentations();
|
||||
|
||||
} else {
|
||||
window.vhs = null;
|
||||
window.mpc = null;
|
||||
}
|
||||
});
|
||||
cb(player);
|
||||
});
|
||||
});
|
||||
|
||||
const urlButtonClick = function(event) {
|
||||
var ext;
|
||||
var type = stateEls.type.value;
|
||||
|
||||
if (!type.trim()) {
|
||||
ext = getFileExtension(stateEls.url.value);
|
||||
|
||||
if (ext === 'mpd') {
|
||||
type = 'application/dash+xml';
|
||||
} else if (ext === 'm3u8') {
|
||||
type = 'application/x-mpegURL';
|
||||
}
|
||||
}
|
||||
|
||||
saveState();
|
||||
|
||||
var source = {
|
||||
src: stateEls.url.value,
|
||||
type: type
|
||||
};
|
||||
|
||||
if (stateEls.keysystems.value) {
|
||||
source.keySystems = JSON.parse(stateEls.keysystems.value);
|
||||
}
|
||||
|
||||
sources.selectedIndex = -1;
|
||||
|
||||
Array.prototype.forEach.call(sources.options, function(s, i) {
|
||||
if (s.value === stateEls.url.value) {
|
||||
sources.selectedIndex = i;
|
||||
}
|
||||
});
|
||||
|
||||
window.player.src(source);
|
||||
};
|
||||
|
||||
urlButton.addEventListener('click', urlButtonClick);
|
||||
urlButton.addEventListener('tap', urlButtonClick);
|
||||
|
||||
sources.addEventListener('change', function(event) {
|
||||
var selectedOption = sources.options[sources.selectedIndex];
|
||||
|
||||
if (!selectedOption) {
|
||||
return;
|
||||
}
|
||||
var src = selectedOption.value;
|
||||
|
||||
stateEls.url.value = src;
|
||||
stateEls.type.value = selectedOption.getAttribute('data-mimetype');
|
||||
stateEls.keysystems.value = selectedOption.getAttribute('data-key-systems');
|
||||
|
||||
urlButton.dispatchEvent(newEvent('click'));
|
||||
});
|
||||
|
||||
stateEls.url.addEventListener('keyup', function(event) {
|
||||
if (event.key === 'Enter') {
|
||||
urlButton.click();
|
||||
}
|
||||
});
|
||||
stateEls.type.addEventListener('keyup', function(event) {
|
||||
if (event.key === 'Enter') {
|
||||
urlButton.click();
|
||||
}
|
||||
});
|
||||
|
||||
// run the change handler for the first time
|
||||
stateEls.minified.dispatchEvent(newEvent('change'));
|
||||
};
|
||||
}(window));
|
||||
41
build/javascript/node_modules/@videojs/http-streaming/scripts/karma.conf.js
generated
vendored
41
build/javascript/node_modules/@videojs/http-streaming/scripts/karma.conf.js
generated
vendored
@@ -1,41 +0,0 @@
|
||||
const generate = require('videojs-generate-karma-config');
|
||||
|
||||
module.exports = function(config) {
|
||||
|
||||
// see https://github.com/videojs/videojs-generate-karma-config
|
||||
// for options
|
||||
const options = {
|
||||
coverage: false,
|
||||
preferHeadless: false,
|
||||
browsers(aboutToRun) {
|
||||
return aboutToRun.filter(function(launcherName) {
|
||||
return !(/^Safari/).test(launcherName);
|
||||
});
|
||||
},
|
||||
files(defaults) {
|
||||
defaults.unshift('node_modules/es5-shim/es5-shim.js');
|
||||
defaults.unshift('node_modules/es6-shim/es6-shim.js');
|
||||
|
||||
defaults.splice(
|
||||
defaults.indexOf('node_modules/video.js/dist/video.js'),
|
||||
1,
|
||||
'node_modules/video.js/dist/alt/video.core.js'
|
||||
);
|
||||
|
||||
return defaults;
|
||||
},
|
||||
browserstackLaunchers(defaults) {
|
||||
delete defaults.bsSafariMojave;
|
||||
delete defaults.bsSafariElCapitan;
|
||||
|
||||
return defaults;
|
||||
},
|
||||
serverBrowsers() {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
|
||||
config = generate(config, options);
|
||||
|
||||
// any other custom stuff not supported by options here!
|
||||
};
|
||||
35
build/javascript/node_modules/@videojs/http-streaming/scripts/netlify.js
generated
vendored
35
build/javascript/node_modules/@videojs/http-streaming/scripts/netlify.js
generated
vendored
@@ -1,35 +0,0 @@
|
||||
const path = require('path');
|
||||
const sh = require('shelljs');
|
||||
|
||||
const deployDir = 'deploy';
|
||||
const files = [
|
||||
'node_modules/video.js/dist/video-js.css',
|
||||
'node_modules/video.js/dist/alt/video.core.js',
|
||||
'node_modules/video.js/dist/alt/video.core.min.js',
|
||||
'node_modules/videojs-contrib-eme/dist/videojs-contrib-eme.js',
|
||||
'node_modules/videojs-contrib-eme/dist/videojs-contrib-eme.min.js',
|
||||
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.js',
|
||||
'node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.min.js',
|
||||
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.css',
|
||||
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.js',
|
||||
'node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.min.js',
|
||||
'node_modules/d3/d3.min.js',
|
||||
'logo.svg',
|
||||
'scripts/sources.json',
|
||||
'scripts/index-demo-page.js'
|
||||
];
|
||||
|
||||
// cleanup previous deploy
|
||||
sh.rm('-rf', deployDir);
|
||||
// make sure the directory exists
|
||||
sh.mkdir('-p', deployDir);
|
||||
|
||||
// create nested directories
|
||||
files
|
||||
.map((file) => path.dirname(file))
|
||||
.forEach((dir) => sh.mkdir('-p', path.join(deployDir, dir)));
|
||||
|
||||
// copy files/folders to deploy dir
|
||||
files
|
||||
.concat('dist', 'index.html', 'utils')
|
||||
.forEach((file) => sh.cp('-r', file, path.join(deployDir, file)));
|
||||
85
build/javascript/node_modules/@videojs/http-streaming/scripts/rollup.config.js
generated
vendored
85
build/javascript/node_modules/@videojs/http-streaming/scripts/rollup.config.js
generated
vendored
@@ -1,85 +0,0 @@
|
||||
const generate = require('videojs-generate-rollup-config');
|
||||
const worker = require('@gkatsev/rollup-plugin-bundle-worker');
|
||||
const {terser} = require('rollup-plugin-terser');
|
||||
const createTestData = require('./create-test-data.js');
|
||||
|
||||
// see https://github.com/videojs/videojs-generate-rollup-config
|
||||
// for options
|
||||
const options = {
|
||||
input: 'src/videojs-http-streaming.js',
|
||||
distName: 'videojs-http-streaming',
|
||||
globals(defaults) {
|
||||
defaults.browser.xmldom = 'window';
|
||||
defaults.test.xmldom = 'window';
|
||||
return defaults;
|
||||
},
|
||||
externals(defaults) {
|
||||
return Object.assign(defaults, {
|
||||
module: defaults.module.concat([
|
||||
'aes-decrypter',
|
||||
'm3u8-parser',
|
||||
'mpd-parser',
|
||||
'mux.js',
|
||||
'@videojs/vhs-utils'
|
||||
])
|
||||
});
|
||||
},
|
||||
plugins(defaults) {
|
||||
defaults.module.splice(2, 0, 'worker');
|
||||
defaults.browser.splice(2, 0, 'worker');
|
||||
defaults.test.splice(3, 0, 'worker');
|
||||
defaults.test.splice(0, 0, 'createTestData');
|
||||
|
||||
// istanbul is only in the list for regular builds and not watch
|
||||
if (defaults.test.indexOf('istanbul') !== -1) {
|
||||
defaults.test.splice(defaults.test.indexOf('istanbul'), 1);
|
||||
}
|
||||
|
||||
return defaults;
|
||||
},
|
||||
primedPlugins(defaults) {
|
||||
return Object.assign(defaults, {
|
||||
worker: worker(),
|
||||
uglify: terser({
|
||||
output: {comments: 'some'},
|
||||
compress: {passes: 2},
|
||||
include: [/^.+\.min\.js$/]
|
||||
}),
|
||||
createTestData: createTestData()
|
||||
});
|
||||
},
|
||||
babel(defaults) {
|
||||
const presetEnvSettings = defaults.presets[0][1];
|
||||
|
||||
presetEnvSettings.exclude = presetEnvSettings.exclude || [];
|
||||
presetEnvSettings.exclude.push('@babel/plugin-transform-typeof-symbol');
|
||||
|
||||
return defaults;
|
||||
}
|
||||
};
|
||||
const config = generate(options);
|
||||
|
||||
// Add additonal builds/customization here!
|
||||
|
||||
// export the builds to rollup
|
||||
export default [
|
||||
config.makeBuild('browser', {
|
||||
input: 'src/decrypter-worker.js',
|
||||
output: {
|
||||
format: 'iife',
|
||||
name: 'decrypterWorker',
|
||||
file: 'src/decrypter-worker.worker.js'
|
||||
},
|
||||
external: []
|
||||
}),
|
||||
|
||||
config.makeBuild('browser', {
|
||||
input: 'src/transmuxer-worker.js',
|
||||
output: {
|
||||
format: 'iife',
|
||||
name: 'transmuxerWorker',
|
||||
file: 'src/transmuxer-worker.worker.js'
|
||||
},
|
||||
external: []
|
||||
})
|
||||
].concat(Object.values(config.builds));
|
||||
307
build/javascript/node_modules/@videojs/http-streaming/scripts/sources.json
generated
vendored
307
build/javascript/node_modules/@videojs/http-streaming/scripts/sources.json
generated
vendored
@@ -1,307 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "Bipbop - Muxed TS with 1 alt Audio, 5 captions",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "FMP4 and ts both muxed",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/ts-fmp4/index.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Advanced Bipbop - ts and captions muxed",
|
||||
"uri": "https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Advanced Bipbop - FMP4 and captions muxed",
|
||||
"uri": "https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Advanced Bipbop - FMP4 hevc, demuxed",
|
||||
"uri": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Angel One - FMP4 demuxed, many audio/captions",
|
||||
"uri": "https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Parkour - FMP4 demuxed",
|
||||
"uri": "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Song - ts Audio only",
|
||||
"uri": "https://s3.amazonaws.com/qa.jwplayer.com/~alex/121628/new_master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Coit Tower drone footage - 4 8 second segment",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/CoitTower/master_ts_segtimes.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Disney's Oceans trailer - HLSe, ts Encrypted",
|
||||
"uri": "https://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Sintel - ts with audio/subs and a 4k rendtion",
|
||||
"uri": "https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Boat Ipsum Subs - HLS + subtitles",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/hls-webvtt/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Boat Video Only",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/video-only/out.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Boat Audio Only",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/audio-only/out.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Boat 4K",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/4k-hls/out.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Boat Misaligned - 3, 5, 7, second segment playlists",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/misaligned-playlists/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "BBB-CMIF: Big Buck Bunny Dark Truths - demuxed, fmp4",
|
||||
"uri": "https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/hls.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Big Buck Bunny - demuxed audio/video, includes 4K, burns in frame, pts, resolution, bitrate values",
|
||||
"uri": "https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Angel One - fmp4, webm, subs (TODO: subs are broken), alternate audio tracks",
|
||||
"uri": "https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Angel One - Widevine, fmp4, webm, subs, alternate audio tracks",
|
||||
"uri": "https://storage.googleapis.com/shaka-demo-assets/angel-one-widevine/dash.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.widevine.alpha": "https://cwip-shaka-proxy.appspot.com/no_auth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "BBB-CMIF: Big Buck Bunny Dark Truths - demuxed, fmp4",
|
||||
"uri": "https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths/dash.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "SIDX demuxed, 2 audio",
|
||||
"uri": "https://dash.akamaized.net/dash264/TestCases/10a/1/iis_forest_short_poem_multi_lang_480p_single_adapt_aaclc_sidx.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "SIDX bipbop-like",
|
||||
"uri": "https://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-onDemand/mp4-onDemand-mpd-AV.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Google self-driving car - SIDX",
|
||||
"uri": "https://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Sintel - single rendition",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/sintel_dash/sintel_vod.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "HLS - Live - Axinom live stream, may not always be available",
|
||||
"uri": "https://akamai-axtest.akamaized.net/routes/lapd-v1-acceptance/www_c4/Manifest.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "DASH - Live - Axinom live stream, may not always be available",
|
||||
"uri": "https://akamai-axtest.akamaized.net/routes/lapd-v1-acceptance/www_c4/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "DASH - Live simulated DASH from DASH IF",
|
||||
"uri": "https://livesim.dashif.org/livesim/mup_30/testpic_2s/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "DASH - Shaka Player Source Simulated Live",
|
||||
"uri": "https://storage.googleapis.com/shaka-live-assets/player-source.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "Apple's LL-HLS test stream",
|
||||
"uri": "https://ll-hls-test.apple.com/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": ["live", "low-latency"]
|
||||
},
|
||||
{
|
||||
"name": "Apple's LL-HLS test stream, cmaf, fmp4",
|
||||
"uri": "https://ll-hls-test.apple.com/cmaf/master.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": ["live", "low-latency"]
|
||||
},
|
||||
{
|
||||
"name": "Axinom Multi DRM - DASH, 4k, HEVC, Playready, Widevine",
|
||||
"uri": "https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.microsoft.playready": {
|
||||
"url": "https://drm-playready-licensing.axtest.net/AcquireLicense",
|
||||
"licenseHeaders": {
|
||||
"X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.4lWwW46k-oWcah8oN18LPj5OLS5ZU-_AQv7fe0JhNjA"
|
||||
}
|
||||
},
|
||||
"com.widevine.alpha": {
|
||||
"url": "https://drm-widevine-licensing.axtest.net/AcquireLicense",
|
||||
"licenseHeaders": {
|
||||
"X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.4lWwW46k-oWcah8oN18LPj5OLS5ZU-_AQv7fe0JhNjA"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Axinom Multi DRM, Multi Period - DASH, 4k, HEVC, Playready, Widevine",
|
||||
"uri": "https://media.axprod.net/TestVectors/v7-MultiDRM-MultiKey-MultiPeriod/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.microsoft.playready": {
|
||||
"url": "https://drm-playready-licensing.axtest.net/AcquireLicense",
|
||||
"licenseHeaders": {
|
||||
"X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImtleXMiOlt7ImlkIjoiMDg3Mjc4NmUtZjllNy00NjVmLWEzYTItNGU1YjBlZjhmYTQ1IiwiZW5jcnlwdGVkX2tleSI6IlB3NitlRVlOY3ZqWWJmc2gzWDNmbWc9PSJ9LHsiaWQiOiJjMTRmMDcwOS1mMmI5LTQ0MjctOTE2Yi02MWI1MjU4NjUwNmEiLCJlbmNyeXB0ZWRfa2V5IjoiLzErZk5paDM4bXFSdjR5Y1l6bnQvdz09In0seyJpZCI6IjhiMDI5ZTUxLWQ1NmEtNDRiZC05MTBmLWQ0YjVmZDkwZmJhMiIsImVuY3J5cHRlZF9rZXkiOiJrcTBKdVpFanBGTjhzYVRtdDU2ME9nPT0ifSx7ImlkIjoiMmQ2ZTkzODctNjBjYS00MTQ1LWFlYzItYzQwODM3YjRiMDI2IiwiZW5jcnlwdGVkX2tleSI6IlRjUlFlQld4RW9IT0tIcmFkNFNlVlE9PSJ9LHsiaWQiOiJkZTAyZjA3Zi1hMDk4LTRlZTAtYjU1Ni05MDdjMGQxN2ZiYmMiLCJlbmNyeXB0ZWRfa2V5IjoicG9lbmNTN0dnbWVHRmVvSjZQRUFUUT09In0seyJpZCI6IjkxNGU2OWY0LTBhYjMtNDUzNC05ZTlmLTk4NTM2MTVlMjZmNiIsImVuY3J5cHRlZF9rZXkiOiJlaUkvTXNsbHJRNHdDbFJUL0xObUNBPT0ifSx7ImlkIjoiZGE0NDQ1YzItZGI1ZS00OGVmLWIwOTYtM2VmMzQ3YjE2YzdmIiwiZW5jcnlwdGVkX2tleSI6IjJ3K3pkdnFycERWM3hSMGJKeTR1Z3c9PSJ9LHsiaWQiOiIyOWYwNWU4Zi1hMWFlLTQ2ZTQtODBlOS0yMmRjZDQ0Y2Q3YTEiLCJlbmNyeXB0ZWRfa2V5IjoiL3hsU0hweHdxdTNnby9nbHBtU2dhUT09In0seyJpZCI6IjY5ZmU3MDc3LWRhZGQtNGI1NS05NmNkLWMzZWRiMzk5MTg1MyIsImVuY3J5cHRlZF9rZXkiOiJ6dTZpdXpOMnBzaTBaU3hRaUFUa1JRPT0ifV19fQ.BXr93Et1krYMVs-CUnf7F3ywJWFRtxYdkR7Qn4w3-to"
|
||||
}
|
||||
},
|
||||
"com.widevine.alpha": {
|
||||
"url": "https://drm-widevine-licensing.axtest.net/AcquireLicense",
|
||||
"licenseHeaders": {
|
||||
"X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImtleXMiOlt7ImlkIjoiMDg3Mjc4NmUtZjllNy00NjVmLWEzYTItNGU1YjBlZjhmYTQ1IiwiZW5jcnlwdGVkX2tleSI6IlB3NitlRVlOY3ZqWWJmc2gzWDNmbWc9PSJ9LHsiaWQiOiJjMTRmMDcwOS1mMmI5LTQ0MjctOTE2Yi02MWI1MjU4NjUwNmEiLCJlbmNyeXB0ZWRfa2V5IjoiLzErZk5paDM4bXFSdjR5Y1l6bnQvdz09In0seyJpZCI6IjhiMDI5ZTUxLWQ1NmEtNDRiZC05MTBmLWQ0YjVmZDkwZmJhMiIsImVuY3J5cHRlZF9rZXkiOiJrcTBKdVpFanBGTjhzYVRtdDU2ME9nPT0ifSx7ImlkIjoiMmQ2ZTkzODctNjBjYS00MTQ1LWFlYzItYzQwODM3YjRiMDI2IiwiZW5jcnlwdGVkX2tleSI6IlRjUlFlQld4RW9IT0tIcmFkNFNlVlE9PSJ9LHsiaWQiOiJkZTAyZjA3Zi1hMDk4LTRlZTAtYjU1Ni05MDdjMGQxN2ZiYmMiLCJlbmNyeXB0ZWRfa2V5IjoicG9lbmNTN0dnbWVHRmVvSjZQRUFUUT09In0seyJpZCI6IjkxNGU2OWY0LTBhYjMtNDUzNC05ZTlmLTk4NTM2MTVlMjZmNiIsImVuY3J5cHRlZF9rZXkiOiJlaUkvTXNsbHJRNHdDbFJUL0xObUNBPT0ifSx7ImlkIjoiZGE0NDQ1YzItZGI1ZS00OGVmLWIwOTYtM2VmMzQ3YjE2YzdmIiwiZW5jcnlwdGVkX2tleSI6IjJ3K3pkdnFycERWM3hSMGJKeTR1Z3c9PSJ9LHsiaWQiOiIyOWYwNWU4Zi1hMWFlLTQ2ZTQtODBlOS0yMmRjZDQ0Y2Q3YTEiLCJlbmNyeXB0ZWRfa2V5IjoiL3hsU0hweHdxdTNnby9nbHBtU2dhUT09In0seyJpZCI6IjY5ZmU3MDc3LWRhZGQtNGI1NS05NmNkLWMzZWRiMzk5MTg1MyIsImVuY3J5cHRlZF9rZXkiOiJ6dTZpdXpOMnBzaTBaU3hRaUFUa1JRPT0ifV19fQ.BXr93Et1krYMVs-CUnf7F3ywJWFRtxYdkR7Qn4w3-to"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Axinom Clear - DASH, 4k, HEVC",
|
||||
"uri": "https://media.axprod.net/TestVectors/v7-Clear/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "Axinom Clear MultiPeriod - DASH, 4k, HEVC",
|
||||
"uri": "https://media.axprod.net/TestVectors/v7-Clear/Manifest_MultiPeriod.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": []
|
||||
},
|
||||
{
|
||||
"name": "DASH-IF simulated live",
|
||||
"uri": "https://livesim.dashif.org/livesim/testpic_2s/Manifest.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "Tears of Steal - Widevine (Unified Streaming)",
|
||||
"uri": "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel-dash-widevine.ism/.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.widevine.alpha": "https://widevine-proxy.appspot.com/proxy"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Tears of Steal - PlayReady (Unified Streaming)",
|
||||
"uri": "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel-dash-playready.ism/.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.microsoft.playready": "https://test.playready.microsoft.com/service/rightsmanager.asmx"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Unified Streaming Live DASH",
|
||||
"uri": "https://live.unified-streaming.com/scte35/scte35.isml/.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "Unified Streaming Live HLS",
|
||||
"uri": "https://live.unified-streaming.com/scte35/scte35.isml/.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "DOESN'T WORK - Bayerrischer Rundfunk Recorded Loop - DASH, may not always be available",
|
||||
"uri": "https://irtdashreference-i.akamaihd.net/dash/live/901161/keepixo1/manifestBR2.mpd",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "DOESN'T WORK - Bayerrischer Rundfunk Recorded Loop - HLS, may not always be available",
|
||||
"uri": "https://irtdashreference-i.akamaihd.net/dash/live/901161/keepixo1/playlistBR2.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": ["live"]
|
||||
},
|
||||
{
|
||||
"name": "Big Buck Bunny - Azure - DASH, Widevine, PlayReady",
|
||||
"uri": "https://amssamples.streaming.mediaservices.windows.net/622b189f-ec39-43f2-93a2-201ac4e31ce1/BigBuckBunny.ism/manifest(format=mpd-time-csf)",
|
||||
"mimetype": "application/dash+xml",
|
||||
"features": [],
|
||||
"keySystems": {
|
||||
"com.widevine.alpha": "https://amssamples.keydelivery.mediaservices.windows.net/Widevine/?KID=1ab45440-532c-4399-94dc-5c5ad9584bac",
|
||||
"com.microsoft.playready": "https://amssamples.keydelivery.mediaservices.windows.net/PlayReady/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Big Buck Bunny Audio only, groups have same uri as renditons",
|
||||
"uri": "https://d2zihajmogu5jn.cloudfront.net/audio-only-dupe-groups/prog_index.m3u8",
|
||||
"mimetype": "application/x-mpegurl",
|
||||
"features": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user