{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1552","repository_url":"https://api.github.com/repos/facebook/AsyncDisplayKit","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1552/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1552/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1552/events","html_url":"https://github.com/facebook/AsyncDisplayKit/pull/1552","id":149332617,"number":1552,"title":"[ASVideoNode] Re-enables HLS support","user":{"login":"chourobin","id":438742,"avatar_url":"https://avatars.githubusercontent.com/u/438742?v=3","gravatar_id":"","url":"https://api.github.com/users/chourobin","html_url":"https://github.com/chourobin","followers_url":"https://api.github.com/users/chourobin/followers","following_url":"https://api.github.com/users/chourobin/following{/other_user}","gists_url":"https://api.github.com/users/chourobin/gists{/gist_id}","starred_url":"https://api.github.com/users/chourobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chourobin/subscriptions","organizations_url":"https://api.github.com/users/chourobin/orgs","repos_url":"https://api.github.com/users/chourobin/repos","events_url":"https://api.github.com/users/chourobin/events{/privacy}","received_events_url":"https://api.github.com/users/chourobin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T02:44:00Z","updated_at":"2016-04-19T02:49:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/1552","html_url":"https://github.com/facebook/AsyncDisplayKit/pull/1552","diff_url":"https://github.com/facebook/AsyncDisplayKit/pull/1552.diff","patch_url":"https://github.com/facebook/AsyncDisplayKit/pull/1552.patch"},"body":"According to AVFoundation [guide](https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/02_Playback.html) on playback, we can't use an AVAsset directly for HTTP live stream media. The latest changes unifying the API under `AVAsset` broke HLS for me.\r\n\r\nThis change: \r\n1. first checks if there are tracks loaded on the `AVAsset`\r\n2. if not, creates an `AVPlayerItem` directly from URL\r\n\r\nLet me know your thoughts on this change. Thanks!"},"comment":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments/211703098","html_url":"https://github.com/facebook/AsyncDisplayKit/pull/1552#issuecomment-211703098","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1552","id":211703098,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T02:49:11Z","updated_at":"2016-04-19T02:49:11Z","body":"Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!"}}