diff --git a/lib/dash/dash_parser.js b/lib/dash/dash_parser.js index 1887c34d01..5ea78abd57 100644 --- a/lib/dash/dash_parser.js +++ b/lib/dash/dash_parser.js @@ -1229,7 +1229,6 @@ shaka.dash.DashParser = class { }); let spatialAudio = false; if (hasJoc) { - context.representation.mimeType = 'audio/eac3-joc'; spatialAudio = true; } diff --git a/test/dash/dash_parser_manifest_unit.js b/test/dash/dash_parser_manifest_unit.js index 0f20add3fe..1232d992e3 100644 --- a/test/dash/dash_parser_manifest_unit.js +++ b/test/dash/dash_parser_manifest_unit.js @@ -447,30 +447,6 @@ describe('DashParser Manifest', () => { expect(stream.closedCaptions).toEqual(expectedClosedCaptions); }); - it('Detects E-AC3 JOC content by SupplementalProperty', async () => { - const idUri = 'tag:dolby.com,2018:dash:EC3_ExtensionType:2018'; - const source = [ - '', - ' ', - ' ', - ' ', - ' ', - ' http://example.com', - ' ', - ' ', - ' ', - ' ', - '', - ].join('\n'); - - fakeNetEngine.setResponseText('dummy://foo', source); - - /** @type {shaka.extern.Manifest} */ - const manifest = await parser.start('dummy://foo', playerInterface); - const stream = manifest.variants[0].audio; - expect(stream.mimeType).toBe('audio/eac3-joc'); - }); - it('Detects spatial audio', async () => { const idUri = 'tag:dolby.com,2018:dash:EC3_ExtensionType:2018'; const source = [