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
cc5e16ec
authored
Aug 17, 2017
by
ojw28
Committed by
GitHub
Aug 17, 2017
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #3157 from dulmandakh/dulmandakh-patch-1
expose setPropertyByteArray, setPropertyString
parents
2f8c31d1
65e212c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
library/core/src/main/java/com/google/android/exoplayer2/drm/OfflineLicenseHelper.java
library/core/src/main/java/com/google/android/exoplayer2/drm/OfflineLicenseHelper.java
View file @
cc5e16ec
...
@@ -185,6 +185,22 @@ public final class OfflineLicenseHelper<T extends ExoMediaCrypto> {
...
@@ -185,6 +185,22 @@ public final class OfflineLicenseHelper<T extends ExoMediaCrypto> {
}
}
return
licenseDurationRemainingSec
;
return
licenseDurationRemainingSec
;
}
}
public
byte
[]
getPropertyByteArray
(
String
key
)
{
return
drmSessionManager
.
getPropertyByteArray
(
key
);
}
public
void
setPropertyByteArray
(
String
key
,
byte
[]
value
)
{
drmSessionManager
.
setPropertyByteArray
(
key
,
value
);
}
public
String
getPropertyString
(
String
key
)
{
return
drmSessionManager
.
getPropertyString
(
key
);
}
public
void
setPropertyString
(
String
key
,
String
value
)
{
drmSessionManager
.
setPropertyString
(
key
,
value
);
}
private
byte
[]
blockingKeyRequest
(
@Mode
int
licenseMode
,
byte
[]
offlineLicenseKeySetId
,
private
byte
[]
blockingKeyRequest
(
@Mode
int
licenseMode
,
byte
[]
offlineLicenseKeySetId
,
DrmInitData
drmInitData
)
throws
DrmSessionException
{
DrmInitData
drmInitData
)
throws
DrmSessionException
{
...
...
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