{"action":"created","issue":{"url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/20","repository_url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera","labels_url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/20/comments","events_url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/20/events","html_url":"https://github.com/lelandg/Raspberry-Pi-Security-Camera/issues/20","id":135572008,"number":20,"title":"Fix problem of \"one-way-audio\"","user":{"login":"lelandg","id":1042943,"avatar_url":"https://avatars.githubusercontent.com/u/1042943?v=3","gravatar_id":"","url":"https://api.github.com/users/lelandg","html_url":"https://github.com/lelandg","followers_url":"https://api.github.com/users/lelandg/followers","following_url":"https://api.github.com/users/lelandg/following{/other_user}","gists_url":"https://api.github.com/users/lelandg/gists{/gist_id}","starred_url":"https://api.github.com/users/lelandg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelandg/subscriptions","organizations_url":"https://api.github.com/users/lelandg/orgs","repos_url":"https://api.github.com/users/lelandg/repos","events_url":"https://api.github.com/users/lelandg/events{/privacy}","received_events_url":"https://api.github.com/users/lelandg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"lelandg","id":1042943,"avatar_url":"https://avatars.githubusercontent.com/u/1042943?v=3","gravatar_id":"","url":"https://api.github.com/users/lelandg","html_url":"https://github.com/lelandg","followers_url":"https://api.github.com/users/lelandg/followers","following_url":"https://api.github.com/users/lelandg/following{/other_user}","gists_url":"https://api.github.com/users/lelandg/gists{/gist_id}","starred_url":"https://api.github.com/users/lelandg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelandg/subscriptions","organizations_url":"https://api.github.com/users/lelandg/orgs","repos_url":"https://api.github.com/users/lelandg/repos","events_url":"https://api.github.com/users/lelandg/events{/privacy}","received_events_url":"https://api.github.com/users/lelandg/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-22T22:58:19Z","updated_at":"2016-03-19T15:02:19Z","closed_at":null,"body":"Right now, you can transmit your voice to the camera system (if you have a speaker on it) but you cannot receive audio. "},"comment":{"url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/comments/198718784","html_url":"https://github.com/lelandg/Raspberry-Pi-Security-Camera/issues/20#issuecomment-198718784","issue_url":"https://api.github.com/repos/lelandg/Raspberry-Pi-Security-Camera/issues/20","id":198718784,"user":{"login":"lelandg","id":1042943,"avatar_url":"https://avatars.githubusercontent.com/u/1042943?v=3","gravatar_id":"","url":"https://api.github.com/users/lelandg","html_url":"https://github.com/lelandg","followers_url":"https://api.github.com/users/lelandg/followers","following_url":"https://api.github.com/users/lelandg/following{/other_user}","gists_url":"https://api.github.com/users/lelandg/gists{/gist_id}","starred_url":"https://api.github.com/users/lelandg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelandg/subscriptions","organizations_url":"https://api.github.com/users/lelandg/orgs","repos_url":"https://api.github.com/users/lelandg/repos","events_url":"https://api.github.com/users/lelandg/events{/privacy}","received_events_url":"https://api.github.com/users/lelandg/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T15:02:19Z","updated_at":"2016-03-19T15:02:19Z","body":"I got a reply from Alex on the Linphone-developers mailing list. He gave me more information to track down and use the correct audio device (for other microphone). For posterity, and for everyone else to findi in searches and be able to see, here's what he said:\r\n\r\nRegarding your question: To get audio input from a mic you will need a soundcard with such capacity. I used a cheap USB sound card. Some devices tested on the PI can be find here:\r\nhttp://elinux.org/RPi_VerifiedPeripherals#USB_Sound_Cards\r\n\r\nFirst, check that with your device that you are able to record sounds (e.g. arecord). You can easily find posts about this. Once you have the sound card configured, it should be easy to use in your python script. \r\n\r\nIn the script you are based on from https://wiki.linphone.org/wiki/index.php/Raspberrypi:start, I just had to change the snd_capture parameter with the id string related to my sound device (snd_capture=id_device) . You can find the id_device string in alsamixer, or just in the first lines of the log output when running the python script. In my case I had to set \"snd_capture='ALSA: USB PnP Sound Device'\". Hope this helps.\r\n\r\nBest\r\nAlex\r\n"}}