Description
NOTE: For bugs, if you delete this template, we will send it again and ask you to fill it out.
Have you read the FAQ and checked for duplicate open issues?:yes
What version of Shaka Player are you using?:2.3.3
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?:both
If custom app, can you reproduce the issue using our demo app?:yes
What browser and OS are you using?:Chrome MAV
What are the manifest and license server URIs?:Demo asset- 'Angel One (multicodec, multilingual)
What did you do? Using selectTextTrack (with all the tracks listed), setting selectAudioLanguage auto switches the text track.
Reproduce in sample app by doing
- Text track does not list all the texttracks. Hence made changes to list all the tracks without any language or role
- Switched audio language using selectAudioLanguage resulted in track change
- Observed that in streaming_engine.js assertions fails.
if (!mediaState && stream.type == ContentType.TEXT &&
this.config_.ignoreTextStreamFailures) {//this was set to false
this.loadNewTextStream(stream);
return;
}
goog.asserts.assert(mediaState, 'switch: expected mediaState to exist');
What did you expect to happen? It should not switch text track
What actually happened? changes text track