[TIMOB-1733] Android: Reduce Streaming Video Start Delay
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect, performance |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T03:00:50.000+0000 |
Updated | 2011-04-17T01:57:00.000+0000 |
Description
Even on WiFi networks there is a noticeable delay in starting remote streaming video. Some delay is inevitable.
(from [630764c7cc10f2895c744814afad60b22ee537b7]) [#1733 state:fixed-in-qa] moved up creation of VideoView and if play : true is passed as a creation arguement kick of a high priority background thread to start trying to stream. Tested on droid, n1, eris, and emulator and didn't run into any issues. http://github.com/appcelerator/titanium_mobile/commit/630764c7cc10f2895c744814afad60b22ee537b7"> http://github.com/appcelerator/titanium_mobile/commit/630764c7cc10f...
g1 1.6, seemed to load pretty quickly over wifi
It's fast over WiFi, but over 3G it's still too slow (around 10-20 seconds to start).
It seems to buffer like almost 50% of the video before starting to play. So the "start trying to stream" is happening fast now, but the kick off for "start trying to play it" is at fault.
The other issue is that it's not only slow, the user hasn't a way to know that a video is loading (no indicator) so it looks like its frozen. (Should I open another ticket about this?)
The SDK does not provide buffering control at this time. I'm not even sure we get a notification as to when it starts loading. I added #1853