mirror of
https://github.com/samsonjs/media.git
synced 2026-04-16 13:05:46 +00:00
Handle new signaling for E-AC3 JOC in DASH
Issue: #6636 PiperOrigin-RevId: 279666771
This commit is contained in:
parent
be03c08410
commit
0351177611
2 changed files with 6 additions and 2 deletions
|
|
@ -109,6 +109,8 @@
|
|||
the extension's readme.
|
||||
* Add support for subtitle files to the demo app
|
||||
([#5523](https://github.com/google/ExoPlayer/issues/5523)).
|
||||
* Handle new signaling for E-AC3 JOC audio in DASH
|
||||
([#6636](https://github.com/google/ExoPlayer/issues/6636)).
|
||||
|
||||
### 2.10.7 (2019-11-12) ###
|
||||
|
||||
|
|
|
|||
|
|
@ -1477,8 +1477,10 @@ public class DashManifestParser extends DefaultHandler
|
|||
for (int i = 0; i < supplementalProperties.size(); i++) {
|
||||
Descriptor descriptor = supplementalProperties.get(i);
|
||||
String schemeIdUri = descriptor.schemeIdUri;
|
||||
if ("tag:dolby.com,2014:dash:DolbyDigitalPlusExtensionType:2014".equals(schemeIdUri)
|
||||
&& "ec+3".equals(descriptor.value)) {
|
||||
if (("tag:dolby.com,2018:dash:EC3_ExtensionComplexityIndex:2018".equals(schemeIdUri)
|
||||
&& "JOC".equals(descriptor.value))
|
||||
|| ("tag:dolby.com,2014:dash:DolbyDigitalPlusExtensionType:2014".equals(schemeIdUri)
|
||||
&& "ec+3".equals(descriptor.value))) {
|
||||
return MimeTypes.AUDIO_E_AC3_JOC;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue