Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dbfc101e
authored
Oct 21, 2019
by
olly
Committed by
Oliver Woodman
Oct 30, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove no-op enabling of multi-session
PiperOrigin-RevId: 275856697
parent
3bb97f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
library/core/src/main/java/com/google/android/exoplayer2/drm/DefaultDrmSessionManager.java
library/core/src/main/java/com/google/android/exoplayer2/drm/DefaultDrmSessionManager.java
View file @
dbfc101e
...
...
@@ -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
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment