question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong role and language after DAI in v3.0+

See original GitHub issue

Hi Shaka Team, We are seeing a regression in 3.0.2 when comparing to 2.5.14 around multi audio detection when there are duplicate lang string, one set with a role, the other no role.

Basically, MPD has two audio tracks both with lang=“en”, but one has the role attribute for descriptive audio. once parsed by shaka, we only see one english track, the one with the role attribute and the normal english audio track is dropped.

Regular English Audio Track, no Role. (track dropped in 3.0.2 but available as expected in 2.5.14.)

<AdaptationSet id="5" contentType="audio" lang="en" segmentAlignment="true">
      <Representation id="5" bandwidth="126477" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="48000">
        <SegmentTemplate timescale="48000" initialization="init.m4v" media="seg_$Number$.m4s" startNumber="1">

Descriptive English Audio Track with Role.

<AdaptationSet id=“5” contentType=“audio” lang=“en” segmentAlignment=“true”>
   <Accessibility schemeIdUri=“urn:tva:metadata:cs:AudioPurposeCS:2007” value=“1"/>
   <Role schemeIdUri=“urn:mpeg:dash:role:2011” value=“description”/>
   <Representation id=“5” bandwidth=“127871" codecs=“mp4a.40.2” mimeType=“audio/mp4" audioSamplingRate=“48000”>
    <AudioChannelConfiguration schemeIdUri=“urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value=“2”/>
    <SegmentTemplate timescale=“48000" presentationTimeOffset=“118966848” initialization=“init.m4v” media=“seg_$Number$.m4s” startNumber=“417">

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? 3.0.2

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master? Have not had time to try yet, but will

If custom app, can you reproduce the issue using our demo app? Both

What browser and OS are you using? Chrome

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
dsparaciocommented, Sep 9, 2020

@joeyparrish Not showing any issue with the media I sent on my side as well. I am sorry for the false alarm. I am looking at notes to find what media did show this (if any) and if that media is valid regarding audio and roles etc.

We had some test media but hoping that did not mix in and mislead me to file this.

For today, can we leave this open? I’ll do more testing then come back and close it tomorrow?

I also noticed that the Endianness change for IE and Edge made it into 3.0.4. So we will look at bailing on our Fork of 2.10.14 and getting on 3.0.4 as well.

Thanks for the effort. I think the xbox decode issue is our last one. We have moved shaka to be default provider in our player as of this release!

0reactions
dsparaciocommented, Jan 14, 2021

Integrating this now and will test but I am sure it is fixed and really appreciate it being looked at. Thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrong role and language after DAI in v3.0+ · Issue #2785
Basically, MPD has two audio tracks both with lang="en", but one has the role attribute for descriptive audio. once parsed by shaka, we...
Read more >
Pediatric traumatic brain injury: Language outcomes and their ...
Pediatric traumatic brain injury (TBI) may result in long-lasting language impairments alongside dysarthria, a motor-speech disorder.
Read more >
Communication Disorders Following Traumatic Brain Injury
According to the American Speech-Language-Hearing Association (ASHA), patients with traumatic brain injury may experience difficulties in finding words to ...
Read more >
Diffuse axonal injury
Diffuse axonal injury (DAI) is a brain injury in which scattered lesions occur over a widespread area in white matter tracts as well...
Read more >
5 Speech Therapy Strategies After Traumatic Brain Injury ...
1. Therapies for Dysarthria · 2. Therapies for Aphasia · 3. Improving Memory · 4. Improving Social Language Skills · 5. Improving Cognitive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found