Skip to content

Can't change audio language when DASH content has short periods #797

Closed
@tdaines

Description

@tdaines
  • What version of Shaka Player are you using? 2.1.1

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

    • Can you reproduce the issue with the latest code from master? Yes

  • Are you using the demo app or your own custom app? Custom

  • What browser and OS are you using? Chrome on Win10

  • What did you do?

  • What did you expect to happen? After calling shakaPlayer.selectAudioLanguage('sp') I expected the audio language to change.

  • What actually happened? Nothing.

I believe this is cause by the playhead being in a different period than the period the StreamingEngine is downloading from. Stepping through the code, inside Player.chooseStreams_() StreamingEngine.getActiveStreams() returns streams with a presentationTimeOffset different from those in the currentPeriod.variants objects. This prevents the activeVariant from changing to the new language.

Metadata

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions