{"action":"created","issue":{"url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/44","labels_url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/44/comments","events_url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/44/events","html_url":"https://github.com/viki-org/VKVideoPlayer/issues/44","id":97498985,"number":44,"title":"How to switch video quality","user":{"login":"anphunl","id":11812805,"avatar_url":"https://avatars.githubusercontent.com/u/11812805?v=3","gravatar_id":"","url":"https://api.github.com/users/anphunl","html_url":"https://github.com/anphunl","followers_url":"https://api.github.com/users/anphunl/followers","following_url":"https://api.github.com/users/anphunl/following{/other_user}","gists_url":"https://api.github.com/users/anphunl/gists{/gist_id}","starred_url":"https://api.github.com/users/anphunl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anphunl/subscriptions","organizations_url":"https://api.github.com/users/anphunl/orgs","repos_url":"https://api.github.com/users/anphunl/repos","events_url":"https://api.github.com/users/anphunl/events{/privacy}","received_events_url":"https://api.github.com/users/anphunl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T16:11:00Z","updated_at":"2015-08-04T08:27:30Z","closed_at":"2015-08-04T03:26:36Z","body":"I have a HLS link (m3u8) with different video quality stream inside. How can I change the video quality?\r\n\r\nThank you very much!"},"comment":{"url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/comments/127523358","html_url":"https://github.com/viki-org/VKVideoPlayer/issues/44#issuecomment-127523358","issue_url":"https://api.github.com/repos/viki-org/VKVideoPlayer/issues/44","id":127523358,"user":{"login":"anphunl","id":11812805,"avatar_url":"https://avatars.githubusercontent.com/u/11812805?v=3","gravatar_id":"","url":"https://api.github.com/users/anphunl","html_url":"https://github.com/anphunl","followers_url":"https://api.github.com/users/anphunl/followers","following_url":"https://api.github.com/users/anphunl/following{/other_user}","gists_url":"https://api.github.com/users/anphunl/gists{/gist_id}","starred_url":"https://api.github.com/users/anphunl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anphunl/subscriptions","organizations_url":"https://api.github.com/users/anphunl/orgs","repos_url":"https://api.github.com/users/anphunl/repos","events_url":"https://api.github.com/users/anphunl/events{/privacy}","received_events_url":"https://api.github.com/users/anphunl/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T08:27:30Z","updated_at":"2015-08-04T08:27:30Z","body":"Thank @jarrold  very much for your answer.\r\n\r\nCurrently, my solution is \r\n* If user play a HSL stream, its quality will be switched automatically based on network\r\n* I also parse the m3u8 file to find all URL for each stream, so that users can select it manually. When they change the stream, I start a new video as normal and after that seek to the last played time.\r\n\r\n"}}