{"action":"created","issue":{"url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/417","labels_url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/417/comments","events_url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/417/events","html_url":"https://github.com/WhisperSystems/RedPhone/issues/417","id":95806110,"number":417,"title":"Ringtone sometimes does not play","user":{"login":"Juul","id":122752,"avatar_url":"https://avatars.githubusercontent.com/u/122752?v=3","gravatar_id":"","url":"https://api.github.com/users/Juul","html_url":"https://github.com/Juul","followers_url":"https://api.github.com/users/Juul/followers","following_url":"https://api.github.com/users/Juul/following{/other_user}","gists_url":"https://api.github.com/users/Juul/gists{/gist_id}","starred_url":"https://api.github.com/users/Juul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juul/subscriptions","organizations_url":"https://api.github.com/users/Juul/orgs","repos_url":"https://api.github.com/users/Juul/repos","events_url":"https://api.github.com/users/Juul/events{/privacy}","received_events_url":"https://api.github.com/users/Juul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-18T09:11:42Z","updated_at":"2015-08-19T09:55:52Z","closed_at":null,"body":"Sometimes the ringtone does not play. \r\n\r\nI have not figured out how to consistently replicate this issue. I've looked at IncomingRinger.java and I noticed that requestAudioFocus is being called on STREAM_MUSIC instead of STREAM_RING. I have compiled a version that calls requestAudioFocus on STREAM_RING instead and will use it for the next few weeks to see if the issue goes away.\r\n\r\nThis is on Android 5.0.2 (Cyanogen OS 12.0-YNG1TAS17L) on a OnePlus One."},"comment":{"url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/comments/132521951","html_url":"https://github.com/WhisperSystems/RedPhone/issues/417#issuecomment-132521951","issue_url":"https://api.github.com/repos/WhisperSystems/RedPhone/issues/417","id":132521951,"user":{"login":"Juul","id":122752,"avatar_url":"https://avatars.githubusercontent.com/u/122752?v=3","gravatar_id":"","url":"https://api.github.com/users/Juul","html_url":"https://github.com/Juul","followers_url":"https://api.github.com/users/Juul/followers","following_url":"https://api.github.com/users/Juul/following{/other_user}","gists_url":"https://api.github.com/users/Juul/gists{/gist_id}","starred_url":"https://api.github.com/users/Juul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juul/subscriptions","organizations_url":"https://api.github.com/users/Juul/orgs","repos_url":"https://api.github.com/users/Juul/repos","events_url":"https://api.github.com/users/Juul/events{/privacy}","received_events_url":"https://api.github.com/users/Juul/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T09:55:52Z","updated_at":"2015-08-19T09:55:52Z","body":"The issue is still there but not reliably replicable. "}}