I use these code:
var url = 'https://s3-us-west-1.amazonaws.com/integration-support/public_content/content_a/content_a.m3u8';
var host = 'ott-integration-1.verimatrix.com';
webapis.avplay.open(url);
var drmParam = new Object();
drmParam.CompanyName = CompanyName;
drmParam.IPTV = '';
drmParam.Web = host; //HOST IP
webapis.avplay.setDrm('VERIMATRIX', 'Initialize', JSON.stringify(drmParam));
webapis.avplay.prepareAsync(function(){webapis.avplay.play();});
and I got an error, drmEvent = "VERIMATRIX", drmData = Object {code: "4", message: "Createhandle/getrights/drmwebset/parserurl error", name: "DrmError"}
what does this error mean? how to modify my code to support verimatrix drm?
how to implement verimatrix drm ?
I use these code: var url = 'https://s3-us-west-1.amazonaws.com/integration-support/public_content/content_a/content_a.m3u8'; var host = 'ott-integration-1.verimatrix.com'; webapis.avplay.open(url); var drmParam = new Object(); drmParam.CompanyName = CompanyName; drmParam.IPTV = ''; drmParam.Web = host; //HOST IP webapis.avplay.setDrm('VERIMATRIX', 'Initialize', JSON.stringify(drmParam)); webapis.avplay.prepareAsync(function(){webapis.avplay.play();});
and I got an error, drmEvent = "VERIMATRIX", drmData = Object {code: "4", message: "Createhandle/getrights/drmwebset/parserurl error", name: "DrmError"}
what does this error mean? how to modify my code to support verimatrix drm?