{ "id": "119207", "key": "TIMOB-16119", "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": null, "resolutiondate": null, "created": "2013-08-28T20:04:59.000+0000", "priority": null, "labels": [ "android" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:44.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This is in reference to a crash bug when viewing a video in android. It seems to be caused by a timing issue that used to be handled with a state-checking piece of logic that has been commented out in the following file between lines 650-658. \r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/3_1_X/android/modules/media/src/java/android/widget/TiVideoView8.java\r\n\r\nWas there a specific reason that this logic was commented out because it would fix the specific error we are seeing in the attached crash log?\r\n\r\n\r\n\r\n", "attachment": [ { "id": "41950", "filename": "crashLog.txt", "author": { "name": "jlb6134", "key": "jlb6134", "displayName": "Jason Bettencourt", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T20:04:59.000+0000", "size": 1777, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Intermittent crash with Video Timing and State", "creator": { "name": "jlb6134", "key": "jlb6134", "displayName": "Jason Bettencourt", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jlb6134", "key": "jlb6134", "displayName": "Jason Bettencourt", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "android\r\n", "comment": { "comments": [ { "id": "271698", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello Jason Bettencourt,\r\n\r\nCan you post test code and test case for this issue that we can reproduce? \r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-18T08:18:32.000+0000", "updated": "2013-09-18T08:18:32.000+0000" }, { "id": "286146", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~jlb6134] We tried to reproduce your issue with our sample test case. We were not able to reproduce it with Titanium SDK 3.2.0 GA. Please upgrade to the latest Titanium stack and let us know if you continue to see this problem.\r\n\r\nh5. Test Environment:\r\n\r\nAndroid SDK: 4.2.2\r\nTitanium SDK: 3.2.0.GA\r\nTitanium CLI: 3.2.0\r\n\r\n\r\nh5. Test Code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : \"Video Player\",\r\n\tnavBarHidden : false\r\n});\r\n\r\nvar videoURL = '/etc/black.mp3';\r\n\r\nvar Video = Ti.Media.createVideoPlayer({\r\n\turl : videoURL, //This is a URL to a streaming mp4 video file (or http live streaming video file on ios)\r\n\tfullscreen : true,\r\n\tautoplay : true,\r\n\tbackgroundColor : '#000',\r\n\tmediaControlStyle : Ti.Media.VIDEO_CONTROL_DEFAULT,\r\n\tscalingMode : Ti.Media.VIDEO_SCALING_ASPECT_FIT\r\n});\r\n\r\nwin.add(Video);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh5. Step to reproduce\r\n\r\n# Create a simple Ti mobile project \r\n# Update app.js file to test code\r\n# Change video URL \r\n# Run on android emulator / device ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T06:12:16.000+0000", "updated": "2013-12-30T20:53:34.000+0000" }, { "id": "286450", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering for further evaluation. We have not been able to reproduce the issue but it is an intermittent issue with the timing and the reporter has pointed to the specific lines of Titanium Video View code causing the issue and potential fix.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-02T07:20:24.000+0000", "updated": "2014-01-02T07:20:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }