[TIMOB-16119] Android: Intermittent crash with Video Timing and State
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android |
Reporter | Jason Bettencourt |
Assignee | Unknown |
Created | 2013-08-28T20:04:59.000+0000 |
Updated | 2018-02-28T20:03:44.000+0000 |
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.
https://github.com/appcelerator/titanium_mobile/blob/3_1_X/android/modules/media/src/java/android/widget/TiVideoView8.java
Was 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?
Attachments
File | Date | Size |
---|---|---|
crashLog.txt | 2013-08-28T20:04:59.000+0000 | 1777 |
Hello Jason Bettencourt, Can you post test code and test case for this issue that we can reproduce?
[~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.
Test Environment:
Android SDK: 4.2.2 Titanium SDK: 3.2.0.GA Titanium CLI: 3.2.0Test Code:
Step to reproduce
Create a simple Ti mobile project
Update app.js file to test code
Change video URL
Run on android emulator / device
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.