{ "id": "88011", "key": "TIMOB-8670", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2012-03-15T10:51:46.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13270", "description": "Release 1.8 Service Pack 3 (CI for 1_8_X)", "name": "Release 1.8.3", "archived": true, "released": false } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:19.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Expected Behavior:*\r\n\r\nIf a user is playing music (ipod,pandora,etc) and I play a sound in my code using Ti.Media.CreateSound I would expect the music to fade to a lower volume, play my sound, then music volume fade back in.\r\n\r\n*Actual Behavior:*\r\nUnfortunately what happens (assuming you are using AMBIENT as audioSessionMode) is they are played together which sounds pretty bad.\r\n\r\n\r\n*Example*\r\nTo see an example of this first hand. Please do the following:\r\n1. Download RunKeeper from the AppStore\r\n2. Make sure music is playing from ipod or pandora or another 3rd party app.\r\n3. Click 'Start Activity' button in RunKeeper.\r\n\r\nYou can see that RunKeeper will fade out the music, play there sound clip, then fade back in the music.", "attachment": [], "flagged": false, "summary": "iOS: When playing sound over existing audio (user playing ipod,pandora,etc) it should lower volume of audio until sound if complete then raise volume back to same level.", "creator": { "name": "aroyce", "key": "aroyce", "displayName": "Andrew Royce", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "aroyce", "key": "aroyce", "displayName": "Andrew Royce", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK version: 1.7.5\r\nPlatform OS: iOS\r\nPlatform OS Version: 5.1\r\nDevice Details: iPhone 4s Device\r\nHost Operating System: OSX 10.6.8\r\nTitanium Studio Build 1.0.9.201202141208", "comment": { "comments": [ { "id": "211189", "author": { "name": "gklka", "key": "gklka", "displayName": "Gruber Kristóf", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm this bug on 1.8.2 too.", "updateAuthor": { "name": "gklka", "key": "gklka", "displayName": "Gruber Kristóf", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-02T07:45:55.000+0000", "updated": "2012-08-02T07:45:55.000+0000" }, { "id": "216841", "author": { "name": "shockoe", "key": "shockoe", "displayName": "SHOCKOE TEAM", "active": true, "timeZone": "America/New_York" }, "body": "And still happening on 2.1.1\r\nAny ideas if this will be done at some point?", "updateAuthor": { "name": "shockoe", "key": "shockoe", "displayName": "SHOCKOE TEAM", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-29T11:38:26.000+0000", "updated": "2012-08-29T11:38:26.000+0000" }, { "id": "234985", "author": { "name": "lluisgerard", "key": "lluisgerard", "displayName": "Lluis Gerard", "active": true, "timeZone": "Europe/Berlin" }, "body": "Low priority ? oh well... still happening on 3.0.0.GA", "updateAuthor": { "name": "lluisgerard", "key": "lluisgerard", "displayName": "Lluis Gerard", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-01-18T16:09:54.000+0000", "updated": "2013-01-18T16:09:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }