{ "id": "128494", "key": "TIMOB-16803", "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": "16092", "description": "2014 Sprint 08", "name": "2014 Sprint 08", "archived": true, "released": true, "releaseDate": "2014-04-24" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-04-17T21:48:24.000+0000", "created": "2014-03-31T09:51:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "audio", "ios", "video", "videocapture", "volume" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2017-03-22T21:33:58.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": "h2. Problem\r\n\r\nOn iOS if you playback a movie and lower volume to mute; then record a video using Titanium.Media.showCamera() and play it back the video audio cannot be heard and you have no way of turing up the volume using the device volume buttons. \r\n\r\nThis is a niche scenario but is causing issues for our enterprise client with an app that is centred around capturing video experiences on mobile. The concern is that users will think the video is broken as the audio cannot be heard when playing back / trimming the video so discard the entry.\r\n\r\nA user should be able to turn up / down the volume within the video trimming / playback section of the Titanium.Media.showCamera() method. \r\n\r\nh2. Test case\r\nVerify using the Kitchen sink app. \r\nPlayback a video using https://github.com/appcelerator/KitchenSink/blob/master/Resources/ui/common/phone/movie_local.js and set the volume to zero using device buttons.\r\n\r\nThen record a video using https://github.com/appcelerator/KitchenSink/blob/master/Resources/ui/common/phone/record_video.js and play it back. You'll notice there is no audio and no ability to turn the volume up using the device buttons.", "attachment": [], "flagged": false, "summary": "iOS: Unable to adjust volume for video capture playback", "creator": { "name": "davehudson", "key": "davehudson", "displayName": "Dave Hudson", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "davehudson", "key": "davehudson", "displayName": "Dave Hudson", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium Mobile SDK 3.2.2, iOS 7.1", "comment": { "comments": [ { "id": "299318", "author": { "name": "skingaby", "key": "skingaby", "displayName": "Steven Kingaby", "active": false, "timeZone": "Europe/London" }, "body": "Shak,I am being asked by Dave Hudson and Dogfish what the status is for this issue.\nCan you please update me.\nThanks, Steve", "updateAuthor": { "name": "skingaby", "key": "skingaby", "displayName": "Steven Kingaby", "active": false, "timeZone": "Europe/London" }, "created": "2014-03-31T16:06:11.000+0000", "updated": "2014-03-31T16:06:11.000+0000" }, { "id": "299844", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the KitchenSink sample. \r\n\r\nI tried setting useApplicationAudioSession to false but that did not make a difference.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-04T05:09:25.000+0000", "updated": "2014-04-04T05:09:25.000+0000" }, { "id": "300844", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-14T18:37:41.000+0000", "updated": "2014-04-14T18:37:41.000+0000" }, { "id": "301290", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "body": "After doing some testing we have confirmed this happening and reviewing the explanation from Vishal the way to prevent this from happening will be to set a volume prior to call the Ti.Media.showCamera(), a full working sample can be found at https://gist.github.com/cotaman/11060487.\r\n\r\n{code}\r\nTi.Media.appMusicPlayer.volume=1.0;\t\r\nTi.Media.showCamera({\r\n //Your camera settings\r\n});\r\n{code}\r\n\r\nRegarding the \"user should be able to turn up / down the volume within the video trimming / playback section of the Titanium.Media.showCamera() method\" the native behaviour of the camera uses the volume buttons to trigger the video recording.\r\n", "updateAuthor": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-17T19:11:58.000+0000", "updated": "2014-04-18T19:31:13.000+0000" }, { "id": "301328", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "The code posted shows the correct way to use the audio controllers and how to achieve the desire functionality, this is not a bug.", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-04-17T21:48:24.000+0000", "updated": "2014-04-17T21:48:24.000+0000" }, { "id": "302004", "author": { "name": "applification", "key": "applification", "displayName": "Dave Hudson", "active": true, "timeZone": "Europe/London" }, "body": "I have implemented the suggested method, seems like a hack around the issue to me. \r\n\r\nUsing this solution means that every time the user opens the camera app they will see the iOS modal volume UI setting the volume to 100%. Apart from being a bad user experience for the user this also obscures any camera overlay (which we happen to use). \r\n\r\nSurely there is something better that can be done natively to support capturing and playing back of video with full volume through Titanium....\r\n", "updateAuthor": { "name": "applification", "key": "applification", "displayName": "Dave Hudson", "active": true, "timeZone": "Europe/London" }, "created": "2014-04-22T08:29:05.000+0000", "updated": "2014-04-22T08:29:05.000+0000" }, { "id": "415013", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:33:58.000+0000", "updated": "2017-03-22T21:33:58.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }