{"action":"created","issue":{"url":"https://api.github.com/repos/google/shaka-player/issues/1299","repository_url":"https://api.github.com/repos/google/shaka-player","labels_url":"https://api.github.com/repos/google/shaka-player/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-player/issues/1299/comments","events_url":"https://api.github.com/repos/google/shaka-player/issues/1299/events","html_url":"https://github.com/google/shaka-player/issues/1299","id":296676907,"number":1299,"title":"Selecting Audio language auto switches the text track(using selectAudioLanguage, selectTextTrack API)","user":{"login":"shanmugapriyaEK","id":19346548,"avatar_url":"https://avatars2.githubusercontent.com/u/19346548?v=4","gravatar_id":"","url":"https://api.github.com/users/shanmugapriyaEK","html_url":"https://github.com/shanmugapriyaEK","followers_url":"https://api.github.com/users/shanmugapriyaEK/followers","following_url":"https://api.github.com/users/shanmugapriyaEK/following{/other_user}","gists_url":"https://api.github.com/users/shanmugapriyaEK/gists{/gist_id}","starred_url":"https://api.github.com/users/shanmugapriyaEK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanmugapriyaEK/subscriptions","organizations_url":"https://api.github.com/users/shanmugapriyaEK/orgs","repos_url":"https://api.github.com/users/shanmugapriyaEK/repos","events_url":"https://api.github.com/users/shanmugapriyaEK/events{/privacy}","received_events_url":"https://api.github.com/users/shanmugapriyaEK/received_events","type":"User","site_admin":false},"labels":[{"id":159144978,"url":"https://api.github.com/repos/google/shaka-player/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/google/shaka-player/milestones/15","html_url":"https://github.com/google/shaka-player/milestone/15","labels_url":"https://api.github.com/repos/google/shaka-player/milestones/15/labels","id":2812197,"number":15,"title":"v2.4.0","description":"Focus areas:\r\n  - Apple products: desktop Safari, iOS browsers, FairPlay support, etc.\r\n  - Smoother transition for legacy broadcast technologies: CEA 608/708, etc.\r\n  - Adopt modern web APIs: Fetch, add background fetch to PWA, Network information API, etc.\r\n  - Regressions: AdaptationSetSwitching support in DASH, etc.","creator":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars0.githubusercontent.com/u/6843156?v=4","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":35,"state":"open","created_at":"2017-10-03T20:29:12Z","updated_at":"2018-02-22T17:27:35Z","due_on":"2018-02-15T08:00:00Z","closed_at":null},"comments":6,"created_at":"2018-02-13T10:00:15Z","updated_at":"2018-02-22T17:27:49Z","closed_at":null,"author_association":"NONE","body":"## NOTE: For bugs, if you delete this template, we will send it again and ask you to fill it out.\r\n\r\n**Have you read the [FAQ](https://goo.gl/JE1Sy5) and checked for duplicate open issues?**:yes\r\n\r\n**What version of Shaka Player are you using?**:2.3.3\r\n\r\n**Can you reproduce the issue with our latest release version?**:yes\r\n\r\n**Can you reproduce the issue with the latest code from `master`?**:yes\r\n\r\n**Are you using the demo app or your own custom app?**:both\r\n\r\n**If custom app, can you reproduce the issue using our demo app?**:yes\r\n\r\n**What browser and OS are you using?**:Chrome MAV\r\n\r\n**What are the manifest and license server URIs?**:Demo asset- 'Angel One (multicodec, multilingual)\r\n\r\n**What did you do?**  Using selectTextTrack (with all the tracks listed), setting selectAudioLanguage auto switches the text track.\r\nReproduce in sample app by doing\r\n1. Text track does not list all the texttracks. Hence made changes to list all the tracks without any language or role\r\n2. Switched audio language using selectAudioLanguage resulted in track change\r\n3. Observed that in streaming_engine.js assertions fails.\r\n  if (!mediaState && stream.type == ContentType.TEXT &&\r\n      this.config_.ignoreTextStreamFailures) {//this was set to false\r\n    this.loadNewTextStream(stream); \r\n    return;\r\n  }\r\n  goog.asserts.assert(mediaState, 'switch: expected mediaState to exist');\r\n  \r\n\r\n**What did you expect to happen?** It should not switch text track\r\n\r\n**What actually happened?** changes text track\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/shaka-player/issues/comments/367756726","html_url":"https://github.com/google/shaka-player/issues/1299#issuecomment-367756726","issue_url":"https://api.github.com/repos/google/shaka-player/issues/1299","id":367756726,"user":{"login":"ismena","id":4951304,"avatar_url":"https://avatars3.githubusercontent.com/u/4951304?v=4","gravatar_id":"","url":"https://api.github.com/users/ismena","html_url":"https://github.com/ismena","followers_url":"https://api.github.com/users/ismena/followers","following_url":"https://api.github.com/users/ismena/following{/other_user}","gists_url":"https://api.github.com/users/ismena/gists{/gist_id}","starred_url":"https://api.github.com/users/ismena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismena/subscriptions","organizations_url":"https://api.github.com/users/ismena/orgs","repos_url":"https://api.github.com/users/ismena/repos","events_url":"https://api.github.com/users/ismena/events{/privacy}","received_events_url":"https://api.github.com/users/ismena/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T17:27:49Z","updated_at":"2018-02-22T17:27:49Z","author_association":"MEMBER","body":"@shanmugapriyaEK I made the changes to accommodate your use case. It should be working now (in the latest master). We'll add it to the next release."}}
{"actor":{"display_login":"ismena"}}