{"action":"created","issue":{"url":"https://api.github.com/repos/zmxv/react-native-sound/issues/228","repository_url":"https://api.github.com/repos/zmxv/react-native-sound","labels_url":"https://api.github.com/repos/zmxv/react-native-sound/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/zmxv/react-native-sound/issues/228/comments","events_url":"https://api.github.com/repos/zmxv/react-native-sound/issues/228/events","html_url":"https://github.com/zmxv/react-native-sound/issues/228","id":242436461,"number":228,"title":"getDuration() not working","user":{"login":"dereksweet","id":955108,"avatar_url":"https://avatars3.githubusercontent.com/u/955108?v=4","gravatar_id":"","url":"https://api.github.com/users/dereksweet","html_url":"https://github.com/dereksweet","followers_url":"https://api.github.com/users/dereksweet/followers","following_url":"https://api.github.com/users/dereksweet/following{/other_user}","gists_url":"https://api.github.com/users/dereksweet/gists{/gist_id}","starred_url":"https://api.github.com/users/dereksweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereksweet/subscriptions","organizations_url":"https://api.github.com/users/dereksweet/orgs","repos_url":"https://api.github.com/users/dereksweet/repos","events_url":"https://api.github.com/users/dereksweet/events{/privacy}","received_events_url":"https://api.github.com/users/dereksweet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-12T16:14:02Z","updated_at":"2017-08-25T08:09:45Z","closed_at":null,"body":"I am trying to use getDuration() to determine when the user is at the end of their playback, but it is returning incorrect values. For example I have a 7 minute 12 second recording for which it should be returning something in the vicinity of 432 seconds, but it is currently returning approximately 410.5. This is on iOS, have not tested on Android. I know for sure the recording is 7 minutes and 12 seconds because I can sit there and listen to it, and watch the timer based on getCurrentTime() count all the way up.. \r\n\r\nEDIT: To add some more context for this, I was playing an .aac audio file recorded using the package `react-native-audio`"},"comment":{"url":"https://api.github.com/repos/zmxv/react-native-sound/issues/comments/324852635","html_url":"https://github.com/zmxv/react-native-sound/issues/228#issuecomment-324852635","issue_url":"https://api.github.com/repos/zmxv/react-native-sound/issues/228","id":324852635,"user":{"login":"gvenk","id":9460,"avatar_url":"https://avatars0.githubusercontent.com/u/9460?v=4","gravatar_id":"","url":"https://api.github.com/users/gvenk","html_url":"https://github.com/gvenk","followers_url":"https://api.github.com/users/gvenk/followers","following_url":"https://api.github.com/users/gvenk/following{/other_user}","gists_url":"https://api.github.com/users/gvenk/gists{/gist_id}","starred_url":"https://api.github.com/users/gvenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvenk/subscriptions","organizations_url":"https://api.github.com/users/gvenk/orgs","repos_url":"https://api.github.com/users/gvenk/repos","events_url":"https://api.github.com/users/gvenk/events{/privacy}","received_events_url":"https://api.github.com/users/gvenk/received_events","type":"User","site_admin":false},"created_at":"2017-08-25T08:09:44Z","updated_at":"2017-08-25T08:09:44Z","body":"I currently don't have a setup with react-native-audio, so it's a bit difficult for me to test it. I'll test it with a 'normal' aac-file, to see if it's happing with this also."}}
{"actor":{"display_login":"gvenk"}}