{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/62","repository_url":"https://api.github.com/repos/apache/cordova-plugin-media","labels_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/62/comments","events_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/62/events","html_url":"https://github.com/apache/cordova-plugin-media/pull/62","id":97877220,"number":62,"title":"Streaming & Background threading on play","user":{"login":"ghenry22","id":7463213,"avatar_url":"https://avatars.githubusercontent.com/u/7463213?v=3","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":65,"created_at":"2015-07-29T07:20:00Z","updated_at":"2016-02-29T14:49:13Z","closed_at":"2016-01-29T23:48:15Z","pull_request":{"url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/62","html_url":"https://github.com/apache/cordova-plugin-media/pull/62","diff_url":"https://github.com/apache/cordova-plugin-media/pull/62.diff","patch_url":"https://github.com/apache/cordova-plugin-media/pull/62.patch"},"body":"This fixes 2 issues in the Cordova Jira, both with iOS.  It enables streaming support for media playback from URLs while retaining the existing playback for local media.\r\n\r\nThe second part is the simply background thread the play function so it doesn't block the ui or lock up the app on load.  Gets rid of some of those pesky warnings in xcode too.\r\n\r\nTested with simulator and on iphone 5 and iphone 6 and ipad 2, with iOS 8.1, 8.3 & 8.4\r\n\r\nPlease merge these and bump the version of the media plugin so I can stop installing them from my own fork :)\r\n\r\nFix for CB-57\r\nUpdated to use avplayer when url starts with http:// or https:// for\r\nfull streaming support.\r\n\r\nAll other urls will use the standard AVAudioplayer\r\n\r\nFix for CB-8222\r\nBackground thread on play to prevent locking during initial load of\r\nmedia."},"comment":{"url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/comments/190242215","html_url":"https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-190242215","issue_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/62","id":190242215,"user":{"login":"Taewa","id":10694180,"avatar_url":"https://avatars.githubusercontent.com/u/10694180?v=3","gravatar_id":"","url":"https://api.github.com/users/Taewa","html_url":"https://github.com/Taewa","followers_url":"https://api.github.com/users/Taewa/followers","following_url":"https://api.github.com/users/Taewa/following{/other_user}","gists_url":"https://api.github.com/users/Taewa/gists{/gist_id}","starred_url":"https://api.github.com/users/Taewa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taewa/subscriptions","organizations_url":"https://api.github.com/users/Taewa/orgs","repos_url":"https://api.github.com/users/Taewa/repos","events_url":"https://api.github.com/users/Taewa/events{/privacy}","received_events_url":"https://api.github.com/users/Taewa/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T14:49:13Z","updated_at":"2016-02-29T14:49:13Z","body":"My streaming player got much faster. Thank you.\r\nBut I had to install this version through \r\n`sudo cordova plugin add cordova-plugin-media@2.2`\r\n\r\nI originally tried with\r\n`sudo cordova plugin add cordova-plugin-media`\r\n\r\nBut didn't work."}}