mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Handle new signaling for E-AC3 JOC in DASH
Issue: #6636 PiperOrigin-RevId: 279666771
This commit is contained in:
parent
ed6eb3aa58
commit
2b1c2171e7
2 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# 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
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue