{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1647","repository_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1647/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1647/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1647/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1647","id":186255839,"number":1647,"title":"Video dash js multiple resolutions","user":{"login":"balajinunna","id":5021841,"avatar_url":"https://avatars.githubusercontent.com/u/5021841?v=3","gravatar_id":"","url":"https://api.github.com/users/balajinunna","html_url":"https://github.com/balajinunna","followers_url":"https://api.github.com/users/balajinunna/followers","following_url":"https://api.github.com/users/balajinunna/following{/other_user}","gists_url":"https://api.github.com/users/balajinunna/gists{/gist_id}","starred_url":"https://api.github.com/users/balajinunna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balajinunna/subscriptions","organizations_url":"https://api.github.com/users/balajinunna/orgs","repos_url":"https://api.github.com/users/balajinunna/repos","events_url":"https://api.github.com/users/balajinunna/events{/privacy}","received_events_url":"https://api.github.com/users/balajinunna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T10:55:31Z","updated_at":"2016-11-01T21:10:57Z","closed_at":null,"body":"In my website, Am using dash.js streaming technique with the support of video.js.\r\n\r\nVersions am using:\r\ndash.js - 2.2.0\r\nvideo.js - 5.9.2\r\nIs there a way to change the quality of video without passing the video source? I mean, I have multiple videos resolutions like 360p, 480p, 720p, 1080p. Default resolution is 360p. Now, If the user chooses any other resolution how can I change the quality of the video without passing video source for respective resolution?"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/257698643","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1647#issuecomment-257698643","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1647","id":257698643,"user":{"login":"AkamaiDASH","id":7864462,"avatar_url":"https://avatars.githubusercontent.com/u/7864462?v=3","gravatar_id":"","url":"https://api.github.com/users/AkamaiDASH","html_url":"https://github.com/AkamaiDASH","followers_url":"https://api.github.com/users/AkamaiDASH/followers","following_url":"https://api.github.com/users/AkamaiDASH/following{/other_user}","gists_url":"https://api.github.com/users/AkamaiDASH/gists{/gist_id}","starred_url":"https://api.github.com/users/AkamaiDASH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkamaiDASH/subscriptions","organizations_url":"https://api.github.com/users/AkamaiDASH/orgs","repos_url":"https://api.github.com/users/AkamaiDASH/repos","events_url":"https://api.github.com/users/AkamaiDASH/events{/privacy}","received_events_url":"https://api.github.com/users/AkamaiDASH/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T21:10:57Z","updated_at":"2016-11-01T21:10:57Z","body":"Dash.js operates in two modes.  Auto bitrate switching and manual.  We also have API to set Initial bitrate and to cap bitrates by various means,  Like view port size, aspect ratio, and bitrate caps.  \r\n\r\nRegardless of this,  manual or auto,  the MPD must have multiple representations defining each resolution for you be able to switch on demand without loading a new MPD. \r\n```xml\r\n<AdaptationSet mimeType=\"video/mp4\" contentType=\"video\" subsegmentAlignment=\"true\" subsegmentStartsWithSAP=\"1\" par=\"16:9\">\r\n   <SegmentTemplate duration=\"120\" timescale=\"30\" media=\"$RepresentationID$/$RepresentationID$_$Number$.m4v\" startNumber=\"1\" initialization=\"$RepresentationID$/$RepresentationID$_0.m4v\"/>\r\n   <Representation id=\"bbb_30fps_1024x576_2500k\" codecs=\"avc1.64001f\" bandwidth=\"3134488\" width=\"1024\" height=\"576\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_1280x720_4000k\" codecs=\"avc1.64001f\" bandwidth=\"4952892\" width=\"1280\" height=\"720\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_1920x1080_8000k\" codecs=\"avc1.640028\" bandwidth=\"9914554\" width=\"1920\" height=\"1080\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_320x180_200k\" codecs=\"avc1.64000d\" bandwidth=\"254320\" width=\"320\" height=\"180\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_320x180_400k\" codecs=\"avc1.64000d\" bandwidth=\"507246\" width=\"320\" height=\"180\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_480x270_600k\" codecs=\"avc1.640015\" bandwidth=\"759798\" width=\"480\" height=\"270\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_640x360_1000k\" codecs=\"avc1.64001e\" bandwidth=\"1254758\" width=\"640\" height=\"360\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_640x360_800k\" codecs=\"avc1.64001e\" bandwidth=\"1013310\" width=\"640\" height=\"360\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_768x432_1500k\" codecs=\"avc1.64001e\" bandwidth=\"1883700\" width=\"768\" height=\"432\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n   <Representation id=\"bbb_30fps_3840x2160_12000k\" codecs=\"avc1.640033\" bandwidth=\"14931538\" width=\"3840\" height=\"2160\" frameRate=\"30\" sar=\"1:1\" scanType=\"progressive\"/>\r\n  </AdaptationSet>\r\n```\r\n "}}
{"actor":{"display_login":"AkamaiDASH"}}