--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/cb0c1dd6-20b9-4238-8ab2-afb7bdfb8b95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/a499e91d-beca-48cb-a628-4abbf678e04f%40googlegroups.com.
var mpdUrl = _url; // input paramiter mpd manifest filevar estimator = new shaka.util.EWMABandwidthEstimator();var source = new shaka.player.DashVideoSource(mpdUrl, interpretContentProtection, estimator);
function interpretContentProtection(contentProtection) {var appLicenserQLatency = currentDate.getTime();if (contentProtection.schemeIdUri == 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed') {var licenseServerUrl = configurationManager.getProperty("app.w3c.widevine.proxyUrl");var keySystem = 'com.widevine.alpha';var licensePreProcessor = function(licenseRequestInfo) {var licenseRequest = licenseRequestInfo.body.slice(0);customData = MediaManager.customData;var newLicenseRequest = String.fromCharCode.apply(null, new Uint8Array(licenseRequest));console.log('license request non encoded: ' + newLicenseRequest);var base64Request = window.btoa(newLicenseRequest);licenseRequestInfo.body = customData+'&payload='+ encodeURIComponent(base64Request);console.log('request: ' + licenseRequestInfo.body);licenseRequestInfo.headers["Content-Type"]='application/x-www-form-urlencoded';};var licensePostProcessor = function(response) {var Uint8ArrayUtils = shaka.util.Uint8ArrayUtils;var str = String.fromCharCode.apply(null, response);var responseStr = Uint8ArrayUtils.toString(response);console.log('licensePostProcessor1: ' + shaka.util.Uint8ArrayUtils.toString(response));var callBackOK = function(object){//Manage OK return Licenseconsole.log('OK: ' + object.bean.license);var lic = window.atob(object.bean.license);var licJqDecoded = AVSJQ.base64Encode(object.bean.license);console.log('License cleary: ' + lic);var license = new Uint8Array(object.bean.license.split('').map(function(char) { return char.charCodeAt(0); }));return license;//return Uint8ArrayUtils.fromBase64(JSON.parse(responseStr).resultObj.license);};var callBackError=function(object){console.log('ERROR: ' + object.avsResp.message);};ManagerBO.checkResultBE(JSON.parse(str), callBackOK, callBackError);};return new shaka.player.DrmSchemeInfo(keySystem, licenseServerUrl,false /* withCredentials */, null /* initData */,licensePostProcessor, licensePreProcessor);}console.warn('Unrecognized scheme: ' + contentProtection.schemeIdUri);return null;};
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
var lic = window.atob(object.bean.license);var license = new Uint8Array(lic.split('').map(function(char) { return char.charCodeAt(0); }));
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/a499e91d-beca-48cb-a628-4abbf678e04f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/b35d3d80-b9dc-453b-b905-ffa9fe54095f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/a499e91d-beca-48cb-a628-4abbf678e04f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
DOMException: Failed to execute 'start' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).
Giovani
Hi,The error
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/a499e91d-beca-48cb-a628-4abbf678e04f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/b35d3d80-b9dc-453b-b905-ffa9fe54095f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/7112715f-fd0d-4b30-b17a-9fbaf8422c4e%40googlegroups.com.
Giovani
Hi,The error
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/a499e91d-beca-48cb-a628-4abbf678e04f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/b35d3d80-b9dc-453b-b905-ffa9fe54095f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.