Skip to content

how to implement verimatrix drm #3

@kevinbol

Description

@kevinbol

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions