{"action":"created","issue":{"url":"https://api.github.com/repos/ruebel/waveform-react/issues/2","repository_url":"https://api.github.com/repos/ruebel/waveform-react","labels_url":"https://api.github.com/repos/ruebel/waveform-react/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ruebel/waveform-react/issues/2/comments","events_url":"https://api.github.com/repos/ruebel/waveform-react/issues/2/events","html_url":"https://github.com/ruebel/waveform-react/issues/2","id":277660953,"number":2,"title":"How to use it for audio file from remote.","user":{"login":"kalyanpkumar","id":11042372,"avatar_url":"https://avatars3.githubusercontent.com/u/11042372?v=4","gravatar_id":"","url":"https://api.github.com/users/kalyanpkumar","html_url":"https://github.com/kalyanpkumar","followers_url":"https://api.github.com/users/kalyanpkumar/followers","following_url":"https://api.github.com/users/kalyanpkumar/following{/other_user}","gists_url":"https://api.github.com/users/kalyanpkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kalyanpkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalyanpkumar/subscriptions","organizations_url":"https://api.github.com/users/kalyanpkumar/orgs","repos_url":"https://api.github.com/users/kalyanpkumar/repos","events_url":"https://api.github.com/users/kalyanpkumar/events{/privacy}","received_events_url":"https://api.github.com/users/kalyanpkumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-29T08:00:23Z","updated_at":"2017-12-04T12:04:17Z","closed_at":null,"author_association":"NONE","body":"When i try to give a remote url below, i receive following error -  Cannot read property 'decodeAudioData' of null... \r\n\r\n```\r\ngetAudioBuffer = async (path, context) => {\r\n        console.log(\"get audio buffer\", path);\r\n\r\n  const response = await fetch(**remote url**);\r\n  console.log('audio response', response);\r\n  const audioData = await response.arrayBuffer();\r\n  return new Promise((resolve, reject) => {\r\n    context.decodeAudioData(audioData, buffer => {\r\n      return resolve(buffer);\r\n    });\r\n  });\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/ruebel/waveform-react/issues/comments/348943306","html_url":"https://github.com/ruebel/waveform-react/issues/2#issuecomment-348943306","issue_url":"https://api.github.com/repos/ruebel/waveform-react/issues/2","id":348943306,"user":{"login":"ruebel","id":12202277,"avatar_url":"https://avatars3.githubusercontent.com/u/12202277?v=4","gravatar_id":"","url":"https://api.github.com/users/ruebel","html_url":"https://github.com/ruebel","followers_url":"https://api.github.com/users/ruebel/followers","following_url":"https://api.github.com/users/ruebel/following{/other_user}","gists_url":"https://api.github.com/users/ruebel/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebel/subscriptions","organizations_url":"https://api.github.com/users/ruebel/orgs","repos_url":"https://api.github.com/users/ruebel/repos","events_url":"https://api.github.com/users/ruebel/events{/privacy}","received_events_url":"https://api.github.com/users/ruebel/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T12:04:17Z","updated_at":"2017-12-04T12:04:17Z","author_association":"OWNER","body":"You would need to use another method to play the audio.  You could use another module, or an audio tag, or the WebAudioAPI, it's up to you.  To update the marker position just update the `position` prop."}}
{"actor":{"display_login":"ruebel"}}