{ "id": "162910", "key": "TIMOB-23847", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-01T07:48:38.000+0000", "created": "2016-08-31T12:39:10.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "52578", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123038", "key": "TIMOB-15883", "fields": { "summary": "iOS: Ti.Media.openPhotoGallery() does not obey videoQuality parameter", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-22T17:53:22.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": "1. property is set only if value is not equal to 0.\r\nfile : MediaModule.m\r\n...\r\n if (videoQuality != 0.0)\r\n{\r\n [picker setVideoQuality:videoQuality];\r\n}\r\n2. Default value is 1 (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImagePickerController_Class/#//apple_ref/c/tdef/UIImagePickerControllerQualityType)\r\n\r\n3. So user is never able to set value to 0 and reach out the HIGH quality.\r\n\r\nPlease take a look on attached image.\r\n\r\n \r\n\r\n", "attachment": [ { "id": "60169", "filename": "bug_MediaModule.png", "author": { "name": "office@smartbit.rs", "key": "office@smartbit.rs", "displayName": "Igor Stojanovic", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-31T12:31:02.000+0000", "size": 91231, "mimeType": "image/png" } ], "flagged": false, "summary": "VideoQuality - User is not able to set camera property to QUALITY_HIGH ", "creator": { "name": "office@smartbit.rs", "key": "office@smartbit.rs", "displayName": "Igor Stojanovic", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "office@smartbit.rs", "key": "office@smartbit.rs", "displayName": "Igor Stojanovic", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX\r\nSDK 5.4.0.GA (as the same as for any 5.2.x+ SDK-s)\r\nfile: MediaModule.m", "closedSprints": [ { "id": 704, "state": "closed", "name": "2016 Sprint 18 SDK", "startDate": "2016-08-27T00:18:36.960Z", "endDate": "2016-09-10T00:18:00.000Z", "completeDate": "2016-09-09T20:26:13.865Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "394939", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Gooooood catch! Will move to TIMOB and schedule it.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-31T18:51:07.000+0000", "updated": "2016-08-31T18:51:07.000+0000" }, { "id": "394946", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, I fixed it and also added the missing quality-constants.\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/8293\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"#fff\"\r\n});\r\nvar btn = Ti.UI.createButton({\r\n title: \"Take video with high quality\"\r\n});\r\n \r\nbtn.addEventListener(\"click\", function() {\r\n Ti.Media.showCamera({\r\n mediaTypes: [Ti.Media.MEDIA_TYPE_VIDEO],\r\n videoQuality: Ti.Media.QUALITY_HIGH\r\n });\r\n});\r\n \r\nwin.add(btn);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-31T19:19:15.000+0000", "updated": "2016-08-31T19:19:15.000+0000" }, { "id": "395011", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. Please do a back port for 6.0.0 and change the apidocs min version to 6.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-01T05:24:27.000+0000", "updated": "2016-09-01T05:24:27.000+0000" }, { "id": "396963", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\nMacOS 10.12 (16A323)\r\nStudio 4.7.1.201609100950\r\nTi SDK 6.0.0.v20160921004951\r\nAppc NPM 4.2.7\r\nAppc CLI 6.0.0-7\r\nAlloy 1.9.1\r\nXcode 8.0 (8A218a)\r\n\r\nVideo quality can be correctly set to high, without issue. Tested by using the provided test code as well as changing it to record at medium quality then comparing video size/quality in the container.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T17:53:22.000+0000", "updated": "2016-09-22T17:53:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }