[Android] VideoTexture
stop to work after some time with low-performance devices
#2934
Labels
VideoTexture
stop to work after some time with low-performance devices
#2934
Problem Description
VideoTexture
stop to work after some time with low-performance Android devices. After 5-13 minutes video renders stops (one frame displayed) or just display black/white or even green color instead ofVideoTexture
.In this issue video just playing in a loop and "end" defines by
onPlayStatus
, notNetStream.Play.Stop
. If you will useNetStream.Play.Failed
- there will be similar issue with similar error logs but with another actual result.May be
onPlayStatus
should be deprecated and removed at all. Discussed here: #1943 (comment)Tested with multiple AIR 50.2.x versions, even with latest AIR 50.2.3.8 with different AIR applications, different low-performance devices and videos.
Tested with armv7 architecture cause "problem" devices firmwares dosn't support armv8.
Tested with multiple Android TV boxes (x96mini and similar) with Amlogic CPUs. Also tested with Android price checkers with Rockchip RK3229. All devices tested with different firmwares.
All "problem" devices has Android 7.1.2.
Tested with pure
Stage3D
and with Starling.Same issue in all cases.
There is no such issue using
Video
.Also there is no such issues with high-performance devices.
Also there is no such issue with other, non-AIR video players.
Related issues:
#2910
#2268
#1939
#1174
#1159
#587
#93
#92
#82
#16
Steps to Reproduce
Launch application with code below with any low-performance Andoird devices and wait up to 30 minutes. It just play video using
VideoTexture
in a loop.Note: disable screen guard to avoid display going to sleep.
Application example with sources and video attached. Also Scout and LogCat logs from multiple devices attached.
android_videotexture_onplaystatus_render_stop_bug.zip
Actual Result:
After 5-13 minutes video renders stops. One frame will be displayed or just display black/white or even green color instead of
VideoTexture
.Usually no errors at all in Scout logs. In Scout all looks like video played without any issues. Only once we have got
NetStream.Play.Failed
. Logs attached above.When visually video playback stops somehow in LogCat you will see continuous errors:
or
#2910
or
or
or
or
or
Full LogCat logs attached above.
*After long time period 1-2+ hours sample could cause
NetStream.Play.Failed
error or application crash (may be memory leak?). May be it not related to this one.Expected Result:
Application playback video in a loop without errors/stops.
Known Workarounds
none
The text was updated successfully, but these errors were encountered: