{ "id": "139326", "key": "TIMOB-17996", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-11-10T18:34:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "audioplayer", "ios", "media", "qe-3.4.1" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:49.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Ti.Media.AudioPlayer.setTime() is an Android only method. However, when it is used on iOS, it will force the AudioPlayer to stop playing at the time passed in.\r\n\r\n*Steps to reproduce issue*:\r\n1. Create a new project involving the below code:\r\n{code}\r\nvar audioPlayer = Ti.Media.createAudioPlayer({\r\n\turl: 'http://www.tonycuffe.com/mp3/tail%20toddle.mp3',\r\n}); \r\naudioPlayer.setTime(25500);\r\naudioPlayer.start();\r\n{code}\r\n2. Run the app on an Android device and notice that the playback begins from the specified time location.\r\n3. Run the app on an iOS device and notice that the playback begins from 0:00 and plays until the specified time location.\r\n\r\n*Expected Results*:\r\nEither setTime() should work on iOS the same way that it is described in the docs for Android (doesn't seem possible due to TIMOB-14552), the setTime() on iOS should be a different method to indicate its current behavior (endTime()?), or calling setTime() on iOS should have no effect.", "attachment": [], "flagged": false, "summary": "iOS: Ti.Media.AudioPlayer.setTime() stops playback at specified time; should be unsupported", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio 3.4.0.201409261245\r\nTitanium SDK 3.4.0.GA\r\nCLI 3.4.0\r\nXcode 6.1.0\r\niPhone 6, iOS 8.1\r\niPhone 5 Simulator, iOS 8.1", "comment": { "comments": [ { "id": "352776", "author": { "name": "Pablex05", "key": "pablex05", "displayName": "Juan Pablo Gonzalez Barrientos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "HI, does somebody has a workaround for this issue? I need to set the Time on IOS. The audio is 45 minutes long and i need to set a method to make the audioplayer start from minute 23 to 45.", "updateAuthor": { "name": "Pablex05", "key": "pablex05", "displayName": "Juan Pablo Gonzalez Barrientos", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-17T22:52:10.000+0000", "updated": "2015-05-17T22:53:18.000+0000" }, { "id": "359190", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2015-08-06T15:06:20.000+0000", "updated": "2015-08-06T15:06:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }