mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Ignore all-zero defaultKid
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168259911
This commit is contained in:
parent
f9661b5373
commit
0adb4502f6
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ public class DashManifestParser extends DefaultHandler
|
|||
if ("urn:mpeg:dash:mp4protection:2011".equals(schemeIdUri)) {
|
||||
schemeType = xpp.getAttributeValue(null, "value");
|
||||
String defaultKid = xpp.getAttributeValue(null, "cenc:default_KID");
|
||||
if (defaultKid != null) {
|
||||
if (defaultKid != null && !"00000000-0000-0000-0000-000000000000".equals(defaultKid)) {
|
||||
UUID keyId = UUID.fromString(defaultKid);
|
||||
data = PsshAtomUtil.buildPsshAtom(C.COMMON_PSSH_UUID, new UUID[] {keyId}, null);
|
||||
uuid = C.COMMON_PSSH_UUID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue