{"action":"created","issue":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/963","repository_url":"https://api.github.com/repos/alexa/avs-device-sdk","labels_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/963/comments","events_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/963/events","html_url":"https://github.com/alexa/avs-device-sdk/issues/963","id":360436731,"node_id":"MDU6SXNzdWUzNjA0MzY3MzE=","number":963,"title":"Running avs always ties up the mic, stopping other apps from access the mic (especially on Android)...","user":{"login":"wjennings","id":16354159,"node_id":"MDQ6VXNlcjE2MzU0MTU5","avatar_url":"https://avatars0.githubusercontent.com/u/16354159?v=4","gravatar_id":"","url":"https://api.github.com/users/wjennings","html_url":"https://github.com/wjennings","followers_url":"https://api.github.com/users/wjennings/followers","following_url":"https://api.github.com/users/wjennings/following{/other_user}","gists_url":"https://api.github.com/users/wjennings/gists{/gist_id}","starred_url":"https://api.github.com/users/wjennings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjennings/subscriptions","organizations_url":"https://api.github.com/users/wjennings/orgs","repos_url":"https://api.github.com/users/wjennings/repos","events_url":"https://api.github.com/users/wjennings/events{/privacy}","received_events_url":"https://api.github.com/users/wjennings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T20:03:18Z","updated_at":"2018-09-14T23:51:19Z","closed_at":null,"author_association":"NONE","body":"## Briefly summarize your issue:\r\nWe run this on our Android device (among others), and we are only using push-to-talk.  However, the mic was always capturing via AVS, and no-one else was able to use the mic (no android apps, etc.).  This is not acceptable to us, and it would be great if there was an option to only enable the mic when required.\r\n\r\n## What is the expected behavior?\r\nIf there was an option to only create and enable the mic when required, it would alleviate this issue.\r\nWe had to make changes such that the microphone was only created and used when \"listening\" (in this case by passing the openSlEngine to UIManager and calling createMicrophoneRecorder() and startStreamingMicrophoneData() since the create function opens the mic). And close the mic when thinking (mic_wrapper.reset()).\r\n\r\n## What behavior are you observing?\r\nNo other apps can use the mic if the avs program is running.\r\n\r\n## Provide the steps to reproduce the issue, if applicable:\r\nrun avs on android.  Try to use the mic on another Android application, it fails to open.\r\n\r\n## Tell us about your environment:\r\n### What version of the AVS Device SDK are you using?\r\n      1.9 running on Android \r\n\r\n### Tell us what hardware you're using:\r\n- [ ] Desktop / Laptop\r\n- [ ] Raspberry Pi\r\n- [x ] Other - tell us more: \r\n\r\n\r\n### Tell us about your OS (Type & version):\r\n- [x ] Linux\r\n- [ ] MacOS \r\n- [ ] Raspbian Stretch\r\n- [ ] Raspbian Jessy\r\n- [ ] Other - tell us more:\r\n"},"comment":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/comments/421512428","html_url":"https://github.com/alexa/avs-device-sdk/issues/963#issuecomment-421512428","issue_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/963","id":421512428,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTUxMjQyOA==","user":{"login":"kclchan","id":29764360,"node_id":"MDQ6VXNlcjI5NzY0MzYw","avatar_url":"https://avatars3.githubusercontent.com/u/29764360?v=4","gravatar_id":"","url":"https://api.github.com/users/kclchan","html_url":"https://github.com/kclchan","followers_url":"https://api.github.com/users/kclchan/followers","following_url":"https://api.github.com/users/kclchan/following{/other_user}","gists_url":"https://api.github.com/users/kclchan/gists{/gist_id}","starred_url":"https://api.github.com/users/kclchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kclchan/subscriptions","organizations_url":"https://api.github.com/users/kclchan/orgs","repos_url":"https://api.github.com/users/kclchan/repos","events_url":"https://api.github.com/users/kclchan/events{/privacy}","received_events_url":"https://api.github.com/users/kclchan/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T23:51:19Z","updated_at":"2018-09-14T23:51:19Z","author_association":"CONTRIBUTOR","body":"Hi @wjennings, thank you for this suggestion. We will look into adding it for a future release of the SDK.  Thanks!"}}
{"actor":{"display_login":"kclchan"}}