Commit 2b1c2171 by andrewlewis Committed by Oliver Woodman

Handle new signaling for E-AC3 JOC in DASH

Issue: #6636
PiperOrigin-RevId: 279666771
parent ed6eb3aa
# Release notes # # Release notes #
### 2.10.8 (2019-11-18) ###
* Handle new signaling for E-AC3 JOC audio in DASH
([#6636](https://github.com/google/ExoPlayer/issues/6636)).
### 2.10.7 (2019-11-12) ### ### 2.10.7 (2019-11-12) ###
* HLS: Fix detection of Dolby Atmos to match the HLS authoring specification. * HLS: Fix detection of Dolby Atmos to match the HLS authoring specification.
......
...@@ -1417,8 +1417,10 @@ public class DashManifestParser extends DefaultHandler ...@@ -1417,8 +1417,10 @@ public class DashManifestParser extends DefaultHandler
for (int i = 0; i < supplementalProperties.size(); i++) { for (int i = 0; i < supplementalProperties.size(); i++) {
Descriptor descriptor = supplementalProperties.get(i); Descriptor descriptor = supplementalProperties.get(i);
String schemeIdUri = descriptor.schemeIdUri; String schemeIdUri = descriptor.schemeIdUri;
if ("tag:dolby.com,2014:dash:DolbyDigitalPlusExtensionType:2014".equals(schemeIdUri) if (("tag:dolby.com,2018:dash:EC3_ExtensionComplexityIndex:2018".equals(schemeIdUri)
&& "ec+3".equals(descriptor.value)) { && "JOC".equals(descriptor.value))
|| ("tag:dolby.com,2014:dash:DolbyDigitalPlusExtensionType:2014".equals(schemeIdUri)
&& "ec+3".equals(descriptor.value))) {
return MimeTypes.AUDIO_E_AC3_JOC; return MimeTypes.AUDIO_E_AC3_JOC;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment