GitHub Issue | n/a |
Type | New Feature |
Priority | Medium |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 7.5.0 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 API, Release 3.2.0 |
Components | iOS |
Labels | module_media, qe-closed-3.2.0, qe-testadded, regression |
Reporter | Shashi Jain |
Assignee | Unknown |
Created | 2012-10-06T22:45:53.000+0000 |
Updated | 2018-11-16T12:02:14.000+0000 |
When using Titanium.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD, the audio output is routed to the receiver (the speaker in the earpiece of iPhone). This request would allow you to override this behavior to make the audio play out of the speaker (the speakerphone, located near the doc connector on iPhone).
Made a Pull Request on Github for this.
Please could you link the pull request? Thanks.
https://github.com/appcelerator/titanium_mobile/pull/3121
PR merged Created TIDOC-1291 for documentation
Closing ticket as fixed. While setting Ti.Media.audioSessionMode to Ti.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD, verified I was able to route the audio output to either the phone's receiver or to the phone's internal speaker. Tested on: Appcelerator Studio, build: 3.2.0.201312091648 SDK build: 3.2.0.v20131210112451 CLI: 3.2.0-cr Alloy: 1.3.0-cr Xcode: 5.0.2 Device: iphone 5 (7.0.2), iphone 4s (6.0.1) *Note:* Below is the code I used to verify this ticket. And, I attached the missing media files that the below code uses.