How to play DRM content in JW Player Android ?
I want Play video and audio files which are DRM protected.For DRM service we have used EZDRM. For Android, we are using the Widevine provider.
I am able to play Video content in JW stream tester player tools from https://developer.jwplayer.com/tools/stream-tester/ .I have given Widevine Url and File URL in the link and its playing(Working).
Now I want to integrate this thing in Android so I follow MediaDrmCallback adding related process from this URL https://goo.gl/ZoKBVb
But compare to Stream Tester Tools and Android MediaDrmCallback sample code both have different options. So can anyone please help me out what we need to pass in extra parameters. Are those parameters are optional? If not then can I get the details or link where it contains any description?
eg. Android WidevineMediaDrmCallback sample code from above link
WIDEVINE_LICENSE_SERVER_BASE_URI = https://widevine-dash.ezdrm.com/proxy?pX=GENERATED_KEY
contentId >> What is content id ?
provider >> What is provder ? EZDRM or WIDEVINE ?
Can anyone from JW player team provide sample code or help guide where these things are defined for Android?
I tried with below things
WidevineMediaDrmCallback widevineMediaDrmCallback = new WidevineMediaDrmCallback("MyDRMContentId", "EZDRM");
Where MyDRMContentId is the content id which is used when genereating widevine ServerUrl from EZDRM
Note: My user type is Free, But before purchasing license just wants to make sure DRM process will work from JW player