Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18290] iOS: Ti.Media audioSessionMode components generate invalid warning messages

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionWon't Fix
Resolution Date2014-12-29T19:05:16.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.5.0
ReporterKajenthiran Velummaylum
AssigneeIngo Muschenetz
Created2014-12-26T15:24:41.000+0000
Updated2017-03-20T17:13:58.000+0000

Description

AudioSessionMode related components are generating invalid warnings. For example:
 [WARN] :   Titanium.Media.AUDIO_SESSION_MODE_SOLO_AMBIENT DEPRECATED in 3.4.2, in favor of Ti.Media.AUDIO_SESSION_CATEGORY_SOLO_AMBIENT. 
Here, We don't have a version called 3.4.2.

Steps To Reproduce

1. Install and launch KitchenSink app 2. Go to Phone -> Record 3. Check the studio console log

Actual Result

Deprecated version should not be 3.4.2 which is a invalid version number
[WARN] :   Deprecated; use 'audioSessionCategory'
[WARN] :   Titanium.Media.AUDIO_SESSION_MODE_SOLO_AMBIENT DEPRECATED in 3.4.2, in favor of Ti.Media.AUDIO_SESSION_CATEGORY_SOLO_AMBIENT.
[WARN] :   Titanium.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD DEPRECATED in 3.4.2, in favor of Ti.Media.AUDIO_SESSION_CATEGORY_PLAY_AND_RECORD.
[WARN] :   Deprecated; use 'audioSessionCategory'
[WARN] :   Titanium.Media.audioLineType DEPRECATED in 3.4.2, in favor of Media.currentRoute: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_HEADSET_INOUT DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_RECEIVER_AND_MIC DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_HEADPHONES_AND_MIC DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_HEADPHONES DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_LINEOUT DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_SPEAKER DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_MICROPHONE DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_MUTED DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_UNAVAILABLE DEPRECATED in 3.4.2: REMOVED in 3.6.0
[WARN] :   Titanium.Media.AUDIO_UNKNOWN DEPRECATED in 3.4.2: REMOVED in 3.6.0

Expected Result

Deprecated version could be 3.5.0

Comments

  1. Vishal Duggal 2014-12-29

    We will not be changing the deprecated message. 3.4.2 is a valid release since it is available on the CI loop
  2. Lee Morris 2017-03-20

    Closing ticket as the issue will not fix.

JSON Source