[TIMOB-23455] Android: Support for requesting Audio Focus
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-03-23T20:59:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0 |
Components | Android |
Labels | AudioPlayer, android |
Reporter | Jonas Thoor |
Assignee | Frankie Merzadyan |
Created | 2016-05-25T18:11:25.000+0000 |
Updated | 2017-03-31T17:43:45.000+0000 |
Description
It would be a great with a method for requesting [Audio Focus](https://developer.android.com/training/managing-audio/audio-focus.html) making it possible for the
Ti.Media.AudioPlayer
to grab focus from other audio sources.
Hello [~jonasthoor], Thanks for reaching out. Our engineering team will look into it. However we would request a little bit more information. Please add some details about the feature you what and its use case. Thanks in advance
Hi [~jonasthoor]! Just wondering, are you developing using the
Ti.Media.AudioPlayer
and facing a scenario that requires you to grab the Audio Focus? Could you elaborate more?master: https://github.com/appcelerator/titanium_mobile/pull/8896. NOTE: Ticket asks to have audioFocus as a property however I think this should be default behavior and not a property. Let me know if we want to change this.
Verified Improvement in SDK 6.1.0.v20170330151255. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8896