ExoPlayer
ExoPlayer copied to clipboard
Frame rendered incorrectly when switching to lower resolution on one of our devices.
This issue can be reproduced on 2.12.3
on android api level 24 with the demo app. To reproduce, you'll need to be able to slow down your network connection speed. From the demo app menu select HLS
-> Apple 4x3 basic stream (TS)
to start the video stream. Start with a fast network connection and then slow it down. After a bit the app should switch a lower video resolution. As it switches resolution, you can see the first frame that is rendered is sized incorrectly. The frame doesn't fit correctly on the screen and is cut off. This only happens on one of our devices so I think it's an issue with how the OS is rendering the view on this specific device. I've attached a video that shows the issue.
https://user-images.githubusercontent.com/1555192/105761080-a5315d00-5f20-11eb-9763-da6d45a9444a.mp4
What is the device on which you are seeing this? Are you seeing this on HLS/TS only or also with other adaptive format samples of the demo app?
@marcbaechinger The device is a custom android device built on api level 24. Considering that there might be something configuration related or even at the OS level on our device is there any steps you suggest to help us debug? As for other formats I haven't been able to reproduce it using the DASH videos but the switching between resolutions is slightly different. When slowing down the network speed, the video often times just freezes before it switches and I think that might be why I'm not seeing it.
I'm facing a similar issue but on my app it's not only the first frame but the whole remaining video that does not scale properly.