{ "id": "145509", "key": "AC-395", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-11-30T11:26:30.000+0000", "created": "2015-03-06T07:29:12.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-30T11:26:30.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "We are creating application that helps people find a great partner to spend evening together. First app version will be for iPhone. \r\nThe important application feature – give users the ability to call without disclosing their real numbers. We have found Sinch SDK as a solution (https://www.sinch.com/docs/ios/user-guide/). \r\nWe are trying to use Sinch SDK and Titanium (http://appcelerator.com/). We cannot found SDK for Titanium and have created Titanium module based on this https://github.com/ludolphus/rebtel-sdk-titanium. We have used latest SDK from sinch.com - 3.4.2. \r\nWe can implement this solution for iPhones 5,6 – call quality is good. \r\nBut if one of the callers has iPhone 4/4s – call quality is very bad. \r\nWe have checked CPU usage on iPhone 4 (when calling), result is about 60% for Sinch+Titanium app, and about 25% for Sinch xcode sample app.\r\nWe think this difference is a cause of our problem. Now we trying to find workaround for this. \r\nIn our iPhone 5,6 is installed iOS8, this devices has high-performance vs. iphone 4 therefore we don’t have this problem.\r\nHowever if we test this case with two xcode app – call quality is good. \r\nLet us know if you have any ideas on it, thank you. \r\nDetailed problem description: \r\nTitanium and Sinch integration problem: call quality on iPhone 4s is very bad. \r\nEnvironment: \r\n- Titanium SDK 3.5.0, \r\n- Mac OS 10.9.4, \r\n- Xcode 6.1, \r\n- iPhone 4s with iOS 7.1.2. \r\n- Sinch SDK 3.4.2. \r\nHow to reproduce this issue: \r\n- Start first app on simulator, connect to Sinch and play any music on your MAC. \r\n- Start second app on iPhone 4, connect to Sinch and call first app. \r\n- Answer call in first app, on iPhone you can hear sound from your MAC. \r\nResult: sound is interrupted, call quality is very bad \r\n\r\nVideo example: http://youtu.be/nq8ztcNtiLc, also see attached logs. \r\nBut if we use xcode sample from sinch.com sound is good, example: http://youtu.be/mTvcpAqfz3E \r\nIf you follow link below you can found all sources for test app. The sources contain: Titanium test project, Sinch module in folder ModulesSrc and Sinch SDK 3.4.2. After build Titanium makes xcode project that contains in build folder. \r\nhttps://www.dropbox.com/s/we5reayb972kbev/emptyproject.zip?dl=0\r\n", "attachment": [ { "id": "54331", "filename": "2015-03-06_133729.jpg", "author": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-06T07:42:59.000+0000", "size": 229311, "mimeType": "image/jpeg" }, { "id": "54330", "filename": "2015-03-06_133938.jpg", "author": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-06T07:42:59.000+0000", "size": 224497, "mimeType": "image/jpeg" }, { "id": "54328", "filename": "iphone4_log.txt", "author": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-06T07:32:01.000+0000", "size": 33330, "mimeType": "text/plain" }, { "id": "54329", "filename": "simulator_log.txt", "author": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-06T07:32:01.000+0000", "size": 28904, "mimeType": "text/plain" } ], "flagged": false, "summary": "High CPU Usage when use Sinch module", "creator": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "Mikhail", "key": "mikhail", "displayName": "Mikhail Beregovoi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.5.0", "comment": { "comments": [ { "id": "371650", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThis is a module issue, not appcelerator's bug.\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-30T11:20:30.000+0000", "updated": "2015-11-30T11:26:12.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }