{ "id": "98928", "key": "TIMOB-16209", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-23T20:30:26.000+0000", "created": "2012-08-09T05:23:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "createAudioRecorder", "ios", "iphone", "stop()" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-23T20:30:30.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": "\r\nSteps to reproduce:
\r\n1) Install Kitchen Sink on iPhone or iPhone Simulator\r\n2) Launch Kitchen Sink\r\n3) Choose Phone Tab > Sound > Record\r\n4) Hit Start Recording.\r\n5) Hit Stop Recording.\r\n\r\n\r\nResult:\r\nRecording never stops when Stop Recording button pressed.\r\n\r\nExpected Result:\r\nRecording should stop when Stop Recording button pressed.", "attachment": [], "flagged": false, "summary": "iOS: Kitchen Sink : Cannot stop audio recording", "creator": { "name": "stephenpage", "key": "stephenpage", "displayName": "Stephen Page", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephenpage", "key": "stephenpage", "displayName": "Stephen Page", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 4 (5.1.1)\r\nTitanium Studio, build: 2.1.1.201207271312,3.2.0 GA\r\nSDK versions: 2.0.1.GA2 and 2.1.1.GA", "comment": { "comments": [ { "id": "214029", "author": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works fine on this end with the environment specifications.", "updateAuthor": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T09:51:44.000+0000", "updated": "2012-08-13T09:51:44.000+0000" }, { "id": "221868", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Fails for me using Ti SDK 2.1.3.v20120927181611 and 3.0.0.v20121002103353, Xcode 4.5, iOS6, iPhone5 simulator", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-03T14:17:46.000+0000", "updated": "2012-10-03T14:17:46.000+0000" }, { "id": "222281", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "I just installed a new dev environment on a brand new machine - OS X 10.8.2 - Titanium SDK 2.1.3.GA - iOS6 - iPhone5 simulator and I appear to be unable to record audio in the same way as I have always done on another machine (with 5.1.1) \n\nIt appears to complain that it cant create the audio file. A zero size file is creatd in the simulator's app Documents folder though, where the audio should be created. \n\nI'm getting : \n\nError : AudioFileCreateWithURL failed (-50)\n\n\nIt appears I'm not alone with the urgent issue! (I got the new machine to be able to submit an app!) \n\n", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2012-10-05T18:22:05.000+0000", "updated": "2012-10-05T18:22:05.000+0000" }, { "id": "222336", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "Just to add : This occurs on the simulator. It appears that on the device it's ok. ", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2012-10-05T21:58:09.000+0000", "updated": "2012-10-05T21:58:09.000+0000" }, { "id": "226108", "author": { "name": "tokmakoff", "key": "tokmakoff", "displayName": "Andrew Tokmakoff", "active": true, "timeZone": "Australia/Adelaide" }, "body": "It seems that the simulator has trouble with the URL given to it having spaces and the URL needs to be escaped. If you run the project directly from XCode, it defaults to using a different \"temp url\" for the recorded audio and that one has no spaces. For me, that is: /var/folders/3q/vv7snyc13259jyb_795x2wmw0000gn/T as opposed to something like: \"/Users/onlee/Library/Application Support/iPhone Simulator/\" \n\nI followed the fix outlined here: http://lists.apple.com/archives/coreaudio-api/2010/Aug/msg00210.html and it works now in the simulator and the -50 error code is gone.\n\n", "updateAuthor": { "name": "tokmakoff", "key": "tokmakoff", "displayName": "Andrew Tokmakoff", "active": true, "timeZone": "Australia/Adelaide" }, "created": "2012-11-05T00:35:44.000+0000", "updated": "2012-11-05T00:35:44.000+0000" }, { "id": "243143", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Andrew,\r\n\r\nI was wondering if you adapted the fix for the URL you pass through JavaScript, or if you modified the native code? Is this something we could handle under the hood in Titanium?\r\n\r\nFor now I've marked it as Fixed.\r\n\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T14:35:50.000+0000", "updated": "2013-03-20T14:35:50.000+0000" }, { "id": "288476", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this to engineering for further evaluation and prioritization as we can reproduce this issue with the latest release.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T18:07:40.000+0000", "updated": "2014-01-16T18:07:40.000+0000" }, { "id": "420273", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this version of Kitchen Sink is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-23T20:30:26.000+0000", "updated": "2017-05-23T20:30:26.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }