Rollback of https://github.com/google/ExoPlayer/commit/ee8df7afcb7982519b9375b590f8bdb086f0b08c
*** Original commit *** Ensure MediaSourceFactory instances can be re-used This fixes DefaultDrmSessionManager so it can be used by a new Player instance (by nulling out its reference to the playback thread, which is unique per-Player instance). This only works if the DefaultDrmSessionManager is 'fully released' before being used by the second Player instance, meaning that the reference count of the manager and all its sessions is zero. #exofixit Issue: #9099 *** PiperOrigin-RevId: 396861138
Showing
with
8 additions
and
124 deletions
Please
register
or
sign in
to comment