mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Remove no-op enabling of multi-session
PiperOrigin-RevId: 275856697
This commit is contained in:
parent
3bb97f4bbf
commit
dbfc101e04
1 changed files with 0 additions and 7 deletions
|
|
@ -417,13 +417,6 @@ public class DefaultDrmSessionManager<T extends ExoMediaCrypto>
|
|||
if (prepareCallsCount++ == 0) {
|
||||
Assertions.checkState(exoMediaDrm == null);
|
||||
exoMediaDrm = exoMediaDrmProvider.acquireExoMediaDrm(uuid);
|
||||
if (multiSession && C.WIDEVINE_UUID.equals(uuid) && Util.SDK_INT >= 19) {
|
||||
// TODO: Enabling session sharing probably doesn't do anything useful here. It would only be
|
||||
// useful if DefaultDrmSession instances were aware of one another's state, which is not
|
||||
// implemented. Or if custom renderers are being used that allow playback to proceed before
|
||||
// keys, which seems unlikely to be true in practice.
|
||||
exoMediaDrm.setPropertyString("sessionSharing", "enable");
|
||||
}
|
||||
exoMediaDrm.setOnEventListener(new MediaDrmEventListener());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue