Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5993] iOS: KS Phone>Sound>Record, iPhone audio line type (Ti.Media.audioLineType) reports "headset" when no headset plugged in

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-06T12:54:35.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sRelease 1.8.0
ComponentsiOS
Labelsios110211, regression
ReporterEric Merriman
AssigneeReggie Seagraves
Created2011-11-04T12:22:24.000+0000
Updated2014-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

Comments

  1. Michael Pettiford 2011-12-07

    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

JSON Source