Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to integrate the widwine Licenceserver #3409

Closed
krishdarling143 opened this issue Sep 16, 2020 · 2 comments
Closed

unable to integrate the widwine Licenceserver #3409

krishdarling143 opened this issue Sep 16, 2020 · 2 comments

Comments

@krishdarling143
Copy link

krishdarling143 commented Sep 16, 2020

hi sir i was integrated this dash.js in Metrological Lightning Platoform to play the drm content.Here with out Drm params it is working fine with test url (.mpd format).but with license server i am getting some errors here i am sharing my code.

window.DRM=dashjs
const protData = {
"com.widevine.alpha": {
"serverURL": "widewine Licence server",
"httpRequestHeaders": {
"X-AxDRM-Message": {"customData":a.drm}
}
}
};
this.tag('MediaPlayer').updateSettings(
{
consumer: this,
stream: { src: b},
videoPos: [0, 0, 1920, 1080],
drm:protData
})

      this._DRM =window.DRM.MediaPlayer().create();        
      this._DRM.initialize(this.videoEl,settings.stream.src,true);  
      this._DRM.setProtectionData(settings.drm);   //protData

Even though here i provided my widewine server url but in console it is showing plaready internal server url

console output

1)dash.all.min.js:5 [813][ProtectionController] DRM: Ignoring initData because we have already seen it!
in console the 1st line was printed nearly 90 times
2)dash.all.min.js:5 POST http://pr-keyos.licensekeyserver.com/core/rightsmanager.asmx 500 (Internal Server Error)//3 times printed
dash.all.min.js:5 [1795][ProtectionController] License request failed (500). Retrying it... Pending retries: 3
3)[5386][Stream] DRM: licenser error! --com.microsoft.playready update, XHR complete. status is "Internal Server Error" (500), readyState is 4. Response is code: 0x8004c604, name: License acquisition failed >> Authentication failed

please help me

@krishdarling143 krishdarling143 changed the title unable to integrate the Licenceserver unable to integrate the widwine Licenceserver Sep 17, 2020
@dsilhavy
Copy link
Collaborator

You might have both Playready and Widevine available on your platform so dash.js uses the first keysystem it finds. However, you can assign a priority, see #3107

@krishdarling143
Copy link
Author

thank you sir, i resolved this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants