{ "id": "86282", "key": "TIMOB-7597", "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": "2012-03-06T14:07:54.000+0000", "created": "2012-02-09T13:35:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15127", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "80475", "key": "TIMOB-5330", "fields": { "summary": "iOS: Ti.Media.Sound delay when using preload tag ", "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 } } } }, { "id": "15126", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "85482", "key": "TIMOB-7410", "fields": { "summary": "Android: V8: Titanium.Media.Sound: play() fails when sound object is local to an event listener", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:20:25.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Steps to Reproduce:\r\n\r\n1. Run the attached files\r\n2. Press the sound buttons 1 and 2 randomly at least 10 times, listen to the sounds.\r\n\r\nExpected Result:\r\n\r\nSounds should play every time \r\n\r\nActual Result:\r\n\r\nSound plays randomly, not after each press\r\n\r\nNote: Tested on 1.8.1 build running rhino. The bug doesn't occur in this build.", "attachment": [ { "id": "25698", "filename": "app.js", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T13:35:25.000+0000", "size": 1157, "mimeType": "text/javascript" }, { "id": "25699", "filename": "dtmf-1.mp3", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T13:35:25.000+0000", "size": 8613, "mimeType": "audio/mp3" }, { "id": "25700", "filename": "dtmf-3.mp3", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T13:35:25.000+0000", "size": 8613, "mimeType": "audio/mp3" } ], "flagged": false, "summary": "Android: Media - Sound plays randomly, not after each press", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.9.0.v20120207124634\r\nJavascript Engine: Rhino\r\nPlatform & version: Android 3.1\r\nDevice Details: Android LG-V909\r\nTitanium Studio Version: 1.0.8.201201262211", "comment": { "comments": [ { "id": "185230", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The delay seems to be a known Android issue. I notice if I keep clicking these 2 buttons very fast, I get error (-19, 0). This is b/c your app is creating multiple mediaPlayer objects at the same time (if you click very fast). You should try to create it once and re-use or clean up your previous media player before creating a new one.\r\nReference article: http://stackoverflow.com/questions/5246898/mediaplayer-dies-android\r\n\r\nP.S: I tried on 1.8.0.1, 1.8.1, 1.8.2 and latest master and this issue persists. ", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T14:06:11.000+0000", "updated": "2012-03-06T14:06:11.000+0000" }, { "id": "185231", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T14:06:25.000+0000", "updated": "2012-03-06T14:06:25.000+0000" }, { "id": "410990", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:20:25.000+0000", "updated": "2017-03-09T23:20:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }