Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1032] Android: Audio dies when switching between tabs

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:41:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid
ReporterScott Robinson
AssigneeDon Thorp
Created2011-04-15T02:41:58.000+0000
Updated2017-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});

Comments

  1. Don Thorp 2011-04-15

    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.

  2. Lee Morris 2017-03-02

    Closing as invalid.

JSON Source