-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MediaDrm.release not called in all cases #4721
Comments
In the demo app it's application code that both instantiates and releases the We need to figure out what the best thing to do here is. It may tie in with some other DRM changes that we need to make. |
I see, we are indeed now releasing it as part of our cleanup. Curious about the 'other DRM changes' you are referring to, anything you can share? |
I doubt it (but if you want to find out, why don't you just try using |
Nice Idea, will try that out ASAP |
|
@AquilesCanta - It would be good to get this fixed. See the issue duped above for a bit more information on why. |
Allows shared ownership of ExoMediaDrms. Shared ownership will allow users to pre-create ExoMediaDrms in their apps, as opposed to having the DrmSessionManager create the ExoMediaDrm. Issue:#4721 PiperOrigin-RevId: 269305850
Issue:#4721 PiperOrigin-RevId: 269378440
The added methods will manage ExoMediaDrms instances. Issue:#4721 PiperOrigin-RevId: 270335916
Issue:#4721 PiperOrigin-RevId: 270342454
… leaks Inline invocations of these methods, which still leaks the MediaDrms. However, it will be fixed once the DefaultDrmSessionManager API is finalized and ExoMediaDrm.Providers are introduced. Issue:#4721 PiperOrigin-RevId: 270681467
DrmSessionManagers may now be in released state, in which case they may release their MediaDrm. In that case, it would be invalid to forward method calls to the underlying MediaDrms. Users should instead call these methods directly on the MediaDrm. Issue:#4721 PiperOrigin-RevId: 270963393
Issue:#4721 PiperOrigin-RevId: 271127127
The last fix needed for this was submitted in 51711a0. |
While reviewing playback issues with PlayReady DRM on Android TV devices, I noticed that the MediaDRM#release method is never called when the DRM session manager is released.
Not sure it has an impact but for completeness, the DefaultDrmSession#release method should probably do this when it is called?
The text was updated successfully, but these errors were encountered: