{ "id": "171903", "key": "TIMOB-26196", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-10-25T10:54:29.000+0000", "created": "2018-07-10T19:44:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "debt", "ti.media" ], "versions": [], "issuelinks": [ { "id": "56675", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "168684", "key": "TIMOB-24909", "fields": { "summary": "iOS: Move Ti.Media.AudioPlayer to AVPlayer internally, remove external library-dependency", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-10-25T14:25:13.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": "iOS should be using AVAudioRecorder for mic recording related APIs, but is using a very, very old 3rd-party library: [SCListener|https://github.com/stephencelis/sc_listener]. Full affected list of API's:\r\n- startMicrophoneMonitor()\r\n- stopMicrophoneMonitor()\r\n- peakMicrophonePower (property)\r\n- averageMicrophonePower (property)\r\n\r\nThis does not have to be a breaking change as the newer API's are pretty solid to use. We should also add an example for this into our KitchenSink (cc [~topener])", "attachment": [], "flagged": false, "summary": "iOS: Move Ti.Media microphone related APIs to AVAudioRecorder and remove 3rd-party library", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "439105", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10166\r\n\r\nTest-Case: https://gist.github.com/hansemannn/1414ea2d11238d1ce99d0528cc4d0cc7", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-10T21:32:41.000+0000", "updated": "2018-07-11T02:00:27.000+0000" }, { "id": "442554", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On SDK Version {{7.4.1.v20181008103750}} everything seems to be working fine using the test case mentioned above but on SDK version {{7.5.0.v20181010051919}} I see the following error:\r\n{code:java}\r\n[ERROR] : Script Error {\r\n[ERROR] : column = 62;\r\n[ERROR] : line = 31;\r\n[ERROR] : message = \"-[MediaModule hasAudioRecorderPermissions:]: unrecognized selector sent to instance 0x101029400\";\r\n[ERROR] : nativeStack = \"3 CoreFoundation 0x00000001b9a837e8 + 1412\\n4 CoreFoundation 0x00000001b9a8548c _CF_forwarding_prep_0 + 92\\n5 Ti8 0x00000001009db578 Ti8 + 636280\\n6 CoreFoundation 0x00000001b9a85630 + 144\\n7 CoreFoundation 0x00000001b9963560 + 292\\n8 Ti8 0x0000000100958fbc Ti8 + 102332\\n9 Ti8 0x00000001009576a0 Ti8 + 95904\\n10 Ti8 0x00000001009c5d00 Ti8 + 548096\\n11 Ti8 0x00000001009573c0 Ti8 + 95168\\n12 JavaScriptCore 0x00000001c16a6b58 + 348\\n13 JavaScriptCore 0x00000001c1d90f5c + 352\\n14 JavaScriptCore 0x00000001c167ddd8 + 29992\\n15 JavaScriptCore 0x00000001c16766b4 + 308\\n16 JavaScriptCore 0x00000001c1cee1ac + 424\\n17 JavaScriptCore 0x00000001c1ea4d1c _ZN3JSC12profiledCallEPNS_9ExecStateENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 188\\n18 JavaScriptCore 0x00000001c16ac08c JSObjectCallAsFunction + 368\\n19 Ti8 0x0000000100a63244 Ti8 + 1192516\";\r\n[ERROR] : sourceURL = \"file:///var/containers/Bundle/Application/21AB9986-4D22-4DB1-8F33-27A196B6BC87/Ti8.app/app.js\";\r\n[ERROR] : stack = \" at [native code]\\n at buttonHandler(/app.js:31:62)\";\r\n[ERROR] : toJSON = \"\";\r\n[ERROR] : }\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-12T12:16:50.000+0000", "updated": "2018-10-12T12:16:50.000+0000" }, { "id": "442900", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR for fixing mentioned issue - https://github.com/appcelerator/titanium_mobile/pull/10398", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-24T08:47:29.000+0000", "updated": "2018-10-24T08:47:29.000+0000" }, { "id": "442902", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build and CR.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-24T09:06:16.000+0000", "updated": "2018-10-24T09:06:24.000+0000" }, { "id": "442933", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "CR passed, Jenkins build is also ready", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-25T10:53:15.000+0000", "updated": "2018-10-25T10:53:15.000+0000" }, { "id": "442946", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Verified fix in SDK version {{7.5.0.v20181025051112}}.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/10398", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-25T14:25:05.000+0000", "updated": "2018-10-25T14:25:05.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }