sdl_java_suite icon indicating copy to clipboard operation
sdl_java_suite copied to clipboard

Video streaming screen visualization problem

Open kocburak opened this issue 7 years ago • 4 comments

Bug Report

I'm developing a navigation app for Ford SYNC. My app is running smoothly on Android API 23, 25, 26 with various phones. But when I tested with Huawei P8 Lite (API 21), screens acts strange. First image is how it supposed to work and the second image is how it works.

I'm using Ford SYNC TDK X2.1 for tests. I tried different X2.1 TDK but same problem occurs.

Reproduction Steps
  1. When the application has started it can be observed
Expected Behavior

Screenshot

Observed Behavior

Some colors are somewhere else of the screen

Screenshot

OS & Version Information
  • Android Version: Huawei P8 Lite - Android version: 5.0.1 (API 21)
  • SDL Android Version: 4.5
  • Testing Against: It can be seen in navigation apps first screen

kocburak avatar May 15 '18 05:05 kocburak

Hi @bkoc4,

Is there a possibility to try on another phone running 21? I'm taking a look at the code for the Remote display stream (i assume you are using that, please correct me if I'm wrong) and the minimum API for that is 19.

I personally do not have a phone running that version to test on. It seems that the library is working properly, but the phone may be running out of memory rendering that view.

Something you could try is to manually set the video streaming parameters and see if a lesser value allows that to load properly. If SDL was broken, there's a good chance that stream wouldn't even start.

Let me know how that goes and we can troubleshoot from there.

Thanks

BrettyWhite avatar May 15 '18 13:05 BrettyWhite

Hello @brettywhite,

Thank you for your answer. Unfortunately, I don't have another phone with API 21. And yes I am using proxy.startRemoteDisplayStream() with 25fps, 800px width, 348px height, 450000bps stream rate (I also tried 180000bps), 240 display density, interval 5, protocol RAW and H264 as codec.

Best regards, Burak KOÇ

kocburak avatar May 15 '18 14:05 kocburak

If you slow down to like 15-20fps on that phone does it make a noticeable difference?

BrettyWhite avatar May 15 '18 15:05 BrettyWhite

Sorry for late response. I tried to reduce fps but nothing changed

kocburak avatar May 31 '18 13:05 kocburak