Releases: Eyevinn/dash-validator-js
Releases · Eyevinn/dash-validator-js
Browser compiled version
This release includes a browser compiled version of the library
<script src="/dist/dashvalidator.min.js"></script>
<script>
var validator = new DashValidator("http://example.com/test.mpd");
validator.load().then(function() {
return validator.validateDynamicManifest(2);
}).then(function(result) {
var status = document.getElementById("status");
if (result.ok == result.iterations) {
status.innerHtml = "All OK";
}
});
</script>
Spotcheck functionality
This release includes the possibility to spot-check a random subset of segments.
const validator = new DashValidator("http://example.com/example.mpd");
validator.load().then(() => {
return validator.spotcheckSegments(null, 200);
}).then((result) => {
console.log(result);
});
Above example will pick 200 random segments specified in example.mpd
and perform a verification on each (using a default verify function in this case).
First release
This is the very first real release of MPEG DASH Validator JS. A Javascript library for validating MPEG DASH live and VOD streams. Including the following features:
- Verify that the timestamp of the last segment in an MPEG DASH live stream does not differ from the actual time.
- Verify that the list of segments in an MPEG DASH VOD stream all have the correct HTTP headers and can be downloaded.
- Verify that an MPEG DASH manifest has the correct HTTP headers and can be downloaded.
- Verify that a dynamic MPEG DASH manifest is updating correctly
Both available as a NPM package and a minified browser version