{ "id": "62340", "key": "TIMOB-1708", "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": "11235", "name": "Release 1.6.0 M02", "archived": true, "released": true, "releaseDate": "2010-12-27" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:00:07.000+0000", "created": "2011-04-15T03:00:06.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "audio", "background", "defect", "ios", "iphone", "release-1.6.0", "video" ], "versions": [], "issuelinks": [], "assignee": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-02T19:32:31.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}
The VideoPlayer doesn't honor the application's audio session\nmode.
\nThis can be tested with the KitchenSink app by setting the\ndefaultAudioSessionMode to AUDIO_SESSION_MODE_AMBIENT on one of the\nmovie examples (I just copied the line from the sound/local\nexample). Once the movie starts playing the iPod audio fades\nout.
I wanted to update this with my latest attempt. Using iOS 4.1\nand Titanium SDK 1.4.0, this still occurs. Add the line
\nTitanium.Media.defaultAudioSessionMode =\nTitanium.Media.AUDIO_SESSION_MODE_AMBIENT;
\nto the top of 'examples\\movie_embed.js' in the KitchenSink 4.0\napp. Once the movie starts playing the iPod audio fades out.
\nAm I missing something, or shouldn't the audio from both be\nmixed?
Feature request for useApplicationAudioSession property access.\nWe do not autoenable background audio at this time; you will need\nto manually edit your Info.plist file generated in the build\nprocess to include the setting for background audio.
\nBackground mode specification will go into Titanium in the near\nfuture. Please watch ticket #2632 for updates.
The requested feature already exists. Please use the\n'useApplicationAudioSession' property on video player objects. This\nfeature is covered in documentation if you need further\ndetails.