You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using OfflineLicenseHelper.newWidevineInstance in Media3 to download an offline license. While streaming works correctly and includes custom headers in the license request, offline license downloading ignores them.
val offlineLicenseHelper =OfflineLicenseHelper.newWidevineInstance(
drmConfiguration!!.licenseUri.toString(),
drmConfiguration.forceDefaultLicenseUri,
dataSourceFactory,
mutableMapOf("Test" to "Test value"),
DrmSessionEventListener.EventDispatcher()
)
Devices that reproduce the issue
Oppo A33
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Create an instance of OfflineLicenseHelper.newWidevineInstance with custom headers.
Stream DRM-protected content and verify that the license request includes the headers. (I use
Attempt to download an offline license and observe that the headers are missing.
Expected result
The license request for offline downloading should include the provided custom headers, just like in streaming.
Actual result
While streaming includes custom headers in the license request, offline license downloading does not send them.
Could you clarify which headers are not set correctly? As far as I understand, the headers given as mutableMapOf("Test" to "Test value") in the example should end up as key request parameters for the license, similar to how this works during playback. Is that what you are observing?
Version
Media3 1.5.1
More version details
I am using OfflineLicenseHelper.newWidevineInstance in Media3 to download an offline license. While streaming works correctly and includes custom headers in the license request, offline license downloading ignores them.
Devices that reproduce the issue
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Expected result
The license request for offline downloading should include the provided custom headers, just like in streaming.
Actual result
While streaming includes custom headers in the license request, offline license downloading does not send them.
Media
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: