{ "id": "61664", "key": "TIMOB-1032", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:41:59.000+0000", "created": "2011-04-15T02:41:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T18:59:34.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

When switching between tabs on android the audio stops playing.\nIs there any way to keep this playing?

\n

Currently im using the below.

\n

var url = \"http://radiosonar.solent.ac.uk:8000/streamhi.mp3\";
\nvar streamer =\nTitanium.Media.createAudioPlayer({url:url,preload:true});

{html}", "attachment": [], "flagged": false, "summary": "Android: Audio dies when switching between tabs", "creator": { "name": "scottrobinson", "key": "scottrobinson", "displayName": "Scott Robinson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "scottrobinson", "key": "scottrobinson", "displayName": "Scott Robinson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124609", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Please don't use the defect tracking system for support\nrequests.

\n

Thanks.

\n

You want allowBackground : true it only works on android as of\n1.3.0. It's documented.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:41:59.000+0000", "updated": "2011-04-15T02:41:59.000+0000" }, { "id": "408395", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T18:59:34.000+0000", "updated": "2017-03-02T18:59:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }