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
As part of this we will likely remove/deprecate MediaSourceFactory.setDrmUserAgent() and MediaSourceFactory.setDrmHttpDataSourceFactory() since these customisations can be done directly by providing a DrmSessionManagerProvider (the new name for MediaSourceDrmHelper).
We will also probably remove/deprecate MediaSourceFactory.setDrmSessionManager() - a single manager can be used just by passing a provider that always returns the same instance.
The text was updated successfully, but these errors were encountered:
icbaker
changed the title
Customise DrmSessionManager construction inside MediaSourceFactory
Allow custom DrmSessionManager construction inside MediaSourceFactory
Jan 15, 2021
Also move it to the `drm` package, and extract a
`DrmSessionManagerProvider` interface.
I'll add `MediaSourceFactory.setDrmSessionProvider()` in a follow-up
change.
Issue: #8466
PiperOrigin-RevId: 352582559
As suggested by @zilinx in #8108 (comment):
As part of this we will likely remove/deprecate
MediaSourceFactory.setDrmUserAgent()
andMediaSourceFactory.setDrmHttpDataSourceFactory()
since these customisations can be done directly by providing aDrmSessionManagerProvider
(the new name forMediaSourceDrmHelper
).We will also probably remove/deprecate
MediaSourceFactory.setDrmSessionManager()
- a single manager can be used just by passing a provider that always returns the same instance.The text was updated successfully, but these errors were encountered: