Fix typo
This commit is contained in:
parent
142521bc0e
commit
cca2744542
@ -524,7 +524,7 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
// DRM initialization must run on a different thread
|
// DRM initialization must run on a different thread
|
||||||
DRMSessionManager drmSessionManager = initializePlayerDrm(self);
|
DrmSessionManager drmSessionManager = initializePlayerDrm(self);
|
||||||
if (drmSessionManager == null) {
|
if (drmSessionManager == null) {
|
||||||
// Failed to intialize DRM session manager - cannot continue
|
// Failed to intialize DRM session manager - cannot continue
|
||||||
return;
|
return;
|
||||||
@ -646,6 +646,10 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
startBufferCheckTimer();
|
startBufferCheckTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private DrmSessionManager buildDrmSessionManager(UUID uuid, String licenseUrl, String[] keyRequestPropertiesArray) throws UnsupportedDrmException {
|
||||||
|
return buildDrmSessionManager(uuid, licenseUrl, keyRequestPropertiesArray, 0);
|
||||||
|
}
|
||||||
|
|
||||||
private DrmSessionManager buildDrmSessionManager(UUID uuid, String licenseUrl, String[] keyRequestPropertiesArray, int retryCount) throws UnsupportedDrmException {
|
private DrmSessionManager buildDrmSessionManager(UUID uuid, String licenseUrl, String[] keyRequestPropertiesArray, int retryCount) throws UnsupportedDrmException {
|
||||||
if (Util.SDK_INT < 18) {
|
if (Util.SDK_INT < 18) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user