[TIMOB-1032] Android: Audio dies when switching between tabs
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T02:41:59.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | Android |
| Labels | android |
| Reporter | Scott Robinson |
| Assignee | Don Thorp |
| Created | 2011-04-15T02:41:58.000+0000 |
| Updated | 2017-03-02T18:59:34.000+0000 |
Description
When switching between tabs on android the audio stops playing. Is there any way to keep this playing?
Currently im using the below.
var url = "http://radiosonar.solent.ac.uk:8000/streamhi.mp3"">http://radiosonar.solent.ac.uk:8000/streamhi.mp3";
var streamer =
Titanium.Media.createAudioPlayer({url:url,preload:true});
Please don't use the defect tracking system for support requests.
Thanks.
You want allowBackground : true it only works on android as of 1.3.0. It's documented.
Closing as invalid.