{ "id": "62303", "key": "TIMOB-1671", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T02:58:59.000+0000", "created": "2011-04-15T02:58:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-31T23:19:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Several premium customers are asking that we support streaming\r\naudio for use in background audio.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Add streaming audio support for background audio, iOS 4", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126324", "author": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I was able to semi hack it use instructions I found here:\n\nhttp://developer.appcelerator.com/question/47291/background-audio-i...

\n

But using the method above means that the audio controls to stop\nyour stream dont work, you have to go back to the app to stop the\nmusic which is not very elegant.

{html}", "updateAuthor": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:58:59.000+0000", "updated": "2011-04-15T02:58:59.000+0000" }, { "id": "126325", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Dupe of #2632.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:58:59.000+0000", "updated": "2011-04-15T02:58:59.000+0000" }, { "id": "126326", "author": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This ticket is NOT a duplicate of #2632.

\n

Titanium 1.6.1 does NOT support background audio properly (with\nremote controls) for STREAMING audio files (it does work properly\nfor local sound files).

\n

Again, when you start() an AudioPlayer, it does play in the\nbackground, but does NOT support remote controls (like when swiping\nleft on the multitasking bar OR double tapping home when the device\nis locked). On the other hand, when you play() a Sound, both\nbackground audio AND the remote controls work correctly.

\n

The FIX should be simple: just add a listener for\nkTiRemoteControlNotification in TiMediaAudioPlayerProxy.m and have\nit call a method similar to remoteControlEvent: in\nTiMediaSoundProxy.m.

\n

Please add Instant Automatic to the list of premium customers\nwho NEED this feature ASAP. Thanks.

{html}", "updateAuthor": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:59:00.000+0000", "updated": "2011-04-15T02:59:00.000+0000" }, { "id": "126327", "author": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Also, remember that you must test background audio on a device\nas it is not supported in the iOS Simulator.

\n

I also opened up a help desk ticket about this:
\nhttp://support.appcelerator.com/tickets/HEX-26948-985/

{html}", "updateAuthor": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:59:00.000+0000", "updated": "2011-04-15T02:59:00.000+0000" }, { "id": "133977", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Another customer is wanting the ability to control audio when in the background (using the multitasking ipod controls) Ticket# APP-818431", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-05-19T07:59:14.000+0000", "updated": "2011-05-19T07:59:14.000+0000" }, { "id": "221107", "author": { "name": "stinum", "key": "stinum", "displayName": "Dustin Hume", "active": true, "timeZone": "America/Chicago" }, "body": "See here on how to add support for Background Streaming controls:\r\nhttp://developer.appcelerator.com/question/47291/background-audio-in-14#answer-248128", "updateAuthor": { "name": "stinum", "key": "stinum", "displayName": "Dustin Hume", "active": true, "timeZone": "America/Chicago" }, "created": "2012-09-26T21:39:46.000+0000", "updated": "2012-09-26T21:53:40.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }