[TIMOB-5993] iOS: KS Phone>Sound>Record, iPhone audio line type (Ti.Media.audioLineType) reports "headset" when no headset plugged in
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-06T12:54:35.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Release 1.8.0 |
Components | iOS |
Labels | ios110211, regression |
Reporter | Eric Merriman |
Assignee | Reggie Seagraves |
Created | 2011-11-04T12:22:24.000+0000 |
Updated | 2014-06-19T12:44:07.000+0000 |
Description
Description:
While testing KS, KS Phone>Sound>Record, I noted that both test devices had the audio line type set as "headset". While I somewhat expected this for the iPad, I was not expecting this for the iPhone. Using SDK 1.7.5, Ti.Media.audioLineType reports "unknown" on the iPad 2 and reports "receiver/mic" on the iPhone 4s.
Steps to reproduce:
1) Install KS 1.8.0 on device
2) Navigate to Phone>Sound>Record
3) note the "audio line type" data
Result:
Audio line type shows "headset" for both devices tested
Expected:
Audio line type varies based on device capabilities
Note:
This does not occur on SDK 1.7.5 with KS 1_7_X
Tested on Ti Studio 1.0.7.201112061404 Ti Mob SDK 1.8.0.1.v20111207091653 OSX Lion iPhone 4S OS 5.0.1 Expected behavior of correct audio line type is shown