Question on the meaning of drm_license_url field
Hi, I have just a question / doubt about drm_license_url in media.exolist.json. I thought it was the override of licenseUrl.
So, byte[] executeKeyRequest(UUID uuid, KeyRequest request) method in class HttpMediaDrmCallback.java in my opinion should be edited as snippet below:
- String url = request.getDefaultUrl(); - if (TextUtils.isEmpty(url)) { - url = defaultUrl; - } + String url = defaultUrl; + if (TextUtils.isEmpty(url)) { + url = request.getDefaultUrl(); + }
Could you explain me the real meaning of it?
Thank you in advance
The code is correct how it is currently. drm_license_url is the URL to use if there isn't one specified in the KeyRequest.