{ "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.

\n

This 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.

{html}", "attachment": [], "flagged": false, "summary": "VideoPlayer audio session not honoring application audio session", "creator": { "name": "dhpublic(atgmail)", "key": "dhpublic(atgmail)", "displayName": "dhpublic (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhpublic(atgmail)", "key": "dhpublic(atgmail)", "displayName": "dhpublic (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126412", "author": { "name": "dhpublic(atgmail)", "key": "dhpublic(atgmail)", "displayName": "dhpublic (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

\n

Titanium.Media.defaultAudioSessionMode =\nTitanium.Media.AUDIO_SESSION_MODE_AMBIENT;

\n

to the top of 'examples\\movie_embed.js' in the KitchenSink 4.0\napp. Once the movie starts playing the iPod audio fades out.

\n

Am I missing something, or shouldn't the audio from both be\nmixed?

{html}", "updateAuthor": { "name": "dhpublic(atgmail)", "key": "dhpublic(atgmail)", "displayName": "dhpublic (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:07.000+0000", "updated": "2011-04-15T03:00:07.000+0000" }, { "id": "126413", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

\n

Background mode specification will go into Titanium in the near\nfuture. Please watch ticket #2632 for updates.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:07.000+0000", "updated": "2011-04-15T03:00:07.000+0000" }, { "id": "126414", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:07.000+0000", "updated": "2011-04-15T03:00:07.000+0000" }, { "id": "408484", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:32:31.000+0000", "updated": "2017-03-02T19:32:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }