Can't change audio language when DASH content has short periods #797
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
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
? YesAre 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, insidePlayer.chooseStreams_()
StreamingEngine.getActiveStreams()
returns streams with apresentationTimeOffset
different from those in thecurrentPeriod.variants
objects. This prevents theactiveVariant
from changing to the new language.The text was updated successfully, but these errors were encountered: