{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/941","repository_url":"https://api.github.com/repos/Bilibili/ijkplayer","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/941/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/941/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/941/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/941","id":134879447,"number":941,"title":"Audio crackling sound on Nexus 5","user":{"login":"laminsk","id":5840633,"avatar_url":"https://avatars.githubusercontent.com/u/5840633?v=3","gravatar_id":"","url":"https://api.github.com/users/laminsk","html_url":"https://github.com/laminsk","followers_url":"https://api.github.com/users/laminsk/followers","following_url":"https://api.github.com/users/laminsk/following{/other_user}","gists_url":"https://api.github.com/users/laminsk/gists{/gist_id}","starred_url":"https://api.github.com/users/laminsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laminsk/subscriptions","organizations_url":"https://api.github.com/users/laminsk/orgs","repos_url":"https://api.github.com/users/laminsk/repos","events_url":"https://api.github.com/users/laminsk/events{/privacy}","received_events_url":"https://api.github.com/users/laminsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-19T14:33:33Z","updated_at":"2016-02-23T12:49:13Z","closed_at":null,"body":"Hi \r\n\r\nI've been testing the player using local mp3 file on the device and randomly getting crackling pops (like having your mobile next to PC speaker!) during the playback. It's completely random and not seeing any error in logcat either. It's noticeable when you have the headphones on.  I'm testing the player purely for audio streaming only. I've tried using both (mediacodec and opensles)  and still no joy. Disable the video options doesnt help either. \r\n         \r\nmMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER,\"vn\",1);\r\nmMediaPlayer).setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER,\"nodisp\",1);\r\n\r\nIt also happens when streaming directly from web.  \r\n\r\nhttp://thesixteendigital.com.s3.amazonaws.com/testfiles/Hallelujah.mp3\r\n\r\nIs there any recommended settings for audio streaming only?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/187686208","html_url":"https://github.com/Bilibili/ijkplayer/issues/941#issuecomment-187686208","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/941","id":187686208,"user":{"login":"laminsk","id":5840633,"avatar_url":"https://avatars.githubusercontent.com/u/5840633?v=3","gravatar_id":"","url":"https://api.github.com/users/laminsk","html_url":"https://github.com/laminsk","followers_url":"https://api.github.com/users/laminsk/followers","following_url":"https://api.github.com/users/laminsk/following{/other_user}","gists_url":"https://api.github.com/users/laminsk/gists{/gist_id}","starred_url":"https://api.github.com/users/laminsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laminsk/subscriptions","organizations_url":"https://api.github.com/users/laminsk/orgs","repos_url":"https://api.github.com/users/laminsk/repos","events_url":"https://api.github.com/users/laminsk/events{/privacy}","received_events_url":"https://api.github.com/users/laminsk/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T12:49:13Z","updated_at":"2016-02-23T12:49:13Z","body":"Thanks for the reply. If I use exoplayer to test it, there's no problem. Please correct me if I'm wrong, but it seems, exoplayer also using AudioTrack. I'm just curious whether upgrading to FFmpeg 3.0 might fix the problem. I completely understand if you don't have time to upgrade to FFmpeg 3.0 for now but I'd be most grateful if you could spare some time in future. Thanks."}}