{ "id": "99376", "key": "AC-2658", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-08-20T10:11:32.000+0000", "created": "2012-08-17T12:41:58.000+0000", "labels": [ "AudioPlayer", "defect", "ios", "parity", "titanbeta" ], "versions": [], "issuelinks": [ { "id": "20053", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "92864", "key": "TIMOB-9409", "fields": { "summary": "iOS: AudioPlayer - Cannot play local mp3 file", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:45.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h4.Problem\r\nUnder iOS, trying to play a local audio file (the MP3 file exists in the Resources directory of the project) using Ti.Media.AudioPlayer fails with the following error message (popup dialog):\r\n\r\n{panel}{noformat}Unable to configure network read stream{noformat}{panel}\r\n\r\nand the song does not play.\r\n\r\nThe same code works correctly on Android. Therefore, it is also a parity issue.\r\n\r\nh4.Testcase\r\n{panel:title=app.js}\r\n{code}\r\nSoundtrackPlayer=Ti.Media.createAudioPlayer({\r\n url:'APopularSong.mp3',\r\n allowBackground:false\r\n });\r\nSoundtrackPlayer.start();\r\n{code}\r\n{panel}", "attachment": [], "flagged": false, "summary": "iOS: Ti.Media.AudioPlayer can't play local audio files (using the url property)", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "- Titanium SDK 2.1.0.v20120608174150\r\n- Titanium Studio 2.0.2.201205311912\r\n- iOS 5.1 (simulator)\r\n- Mac OSX 10.7.2\r\n", "comment": { "comments": [ { "id": "214992", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-17T12:49:03.000+0000", "updated": "2012-08-17T12:49:03.000+0000" }, { "id": "215128", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi Shawn,\r\n\r\nThe only difference I see is the Studio version. So, I think you should watch TIMOB-9409. There should not be a need to have duplicate tickets. \r\n\r\nThanks,\r\nVarun", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-20T09:38:06.000+0000", "updated": "2012-08-20T09:38:06.000+0000" }, { "id": "215131", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-20T09:50:59.000+0000", "updated": "2012-08-20T09:50:59.000+0000" }, { "id": "215136", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Duplicate of TIMOB-9409.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-20T10:11:32.000+0000", "updated": "2012-08-20T10:11:32.000+0000" }, { "id": "255888", "author": { "name": "asiby", "key": "asiby", "displayName": "Abdoulaye Siby", "active": true, "timeZone": "America/Havana" }, "body": "There is a work around. People can simply use the video player.\n\nhttp://developer.appcelerator.com/question/133414/how-to-get-timediacreateaudioplayer-to-play-local-files#answer-263837", "updateAuthor": { "name": "asiby", "key": "asiby", "displayName": "Abdoulaye Siby", "active": true, "timeZone": "America/Havana" }, "created": "2013-06-04T18:31:34.000+0000", "updated": "2013-06-04T18:31:34.000+0000" }, { "id": "281065", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:16.000+0000", "updated": "2013-11-24T22:30:16.000+0000" }, { "id": "281128", "author": { "name": "asiby", "key": "asiby", "displayName": "Abdoulaye Siby", "active": true, "timeZone": "America/Havana" }, "updateAuthor": { "name": "asiby", "key": "asiby", "displayName": "Abdoulaye Siby", "active": true, "timeZone": "America/Havana" }, "created": "2013-11-25T13:06:05.000+0000", "updated": "2013-11-25T13:06:05.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }