Apply workaround for Android 13 and newer
At least some Android 14 devices still have the same invalid URL issue when using ClearKey DRM, so might as well apply the check to newer versions of Android as well.
This commit is contained in:
parent
ad40db4489
commit
ad7b12e56f
@ -246,7 +246,7 @@ public final class FrameworkMediaDrm implements ExoMediaDrm {
|
||||
private static String adjustLicenseServerUrl(String licenseServerUrl) {
|
||||
if (MOCK_LA_URL.equals(licenseServerUrl)) {
|
||||
return "";
|
||||
} else if (Util.SDK_INT == 33 && "https://default.url".equals(licenseServerUrl)) {
|
||||
} else if (Util.SDK_INT >= 33 && "https://default.url".equals(licenseServerUrl)) {
|
||||
// Work around b/247808112
|
||||
return "";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user