{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/512","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/512/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/512/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/512","id":68978605,"number":512,"title":"Subtitles error on Uncaught TypeError","user":{"login":"Varun9160","id":11081694,"avatar_url":"https://avatars.githubusercontent.com/u/11081694?v=3","gravatar_id":"","url":"https://api.github.com/users/Varun9160","html_url":"https://github.com/Varun9160","followers_url":"https://api.github.com/users/Varun9160/followers","following_url":"https://api.github.com/users/Varun9160/following{/other_user}","gists_url":"https://api.github.com/users/Varun9160/gists{/gist_id}","starred_url":"https://api.github.com/users/Varun9160/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varun9160/subscriptions","organizations_url":"https://api.github.com/users/Varun9160/orgs","repos_url":"https://api.github.com/users/Varun9160/repos","events_url":"https://api.github.com/users/Varun9160/events{/privacy}","received_events_url":"https://api.github.com/users/Varun9160/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-16T18:05:34Z","updated_at":"2015-04-20T19:55:51Z","closed_at":null,"body":"Pulling the latest development code, I get an \"Uncaught TypeError: Cannot read property 'Media Segment' of undefined\" when subtitles segments are requested by the player. I was not seeing this as of a couple of commits ago. Code is crashing on Line 90 of streaming/utils/VirtualBuffer.js\r\n\r\nI briefly looked at this, but didn't see anything that popped out. I think it might be better if someone more knowledgeable took a look at it.\r\n\r\n\r\n\r\n--Varun"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/94553108","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/512#issuecomment-94553108","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/512","id":94553108,"user":{"login":"Varun9160","id":11081694,"avatar_url":"https://avatars.githubusercontent.com/u/11081694?v=3","gravatar_id":"","url":"https://api.github.com/users/Varun9160","html_url":"https://github.com/Varun9160","followers_url":"https://api.github.com/users/Varun9160/followers","following_url":"https://api.github.com/users/Varun9160/following{/other_user}","gists_url":"https://api.github.com/users/Varun9160/gists{/gist_id}","starred_url":"https://api.github.com/users/Varun9160/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varun9160/subscriptions","organizations_url":"https://api.github.com/users/Varun9160/orgs","repos_url":"https://api.github.com/users/Varun9160/repos","events_url":"https://api.github.com/users/Varun9160/events{/privacy}","received_events_url":"https://api.github.com/users/Varun9160/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T19:55:51Z","updated_at":"2015-04-20T19:55:51Z","body":"@KozhinM, thanks for looking into this. Your commit does get rid of the error I was seeing above. However, subtitles are still not showing. I just noticed that the CC icon at the bottom of the player is missing(for both code with & without your commit), while my older js file shows it. So it looks like the newer code may not be detecting the presence of subtitles(although the fragmentedText requests are being made)."}}