0

I'm having a problem when making video apps for android tv using exoplayer. In android 6 (Api 23), I can make the aspect ratio like this:

But somehow in android 7+ (API 24), the result is like this:

I don't know where is the problem because I'm using the same code and version. I already implement:

playerView.setResizeMode(AspectRatioFrameLayout.RESIZE_MODE_FILL);
player.setVideoScalingMode(C.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING);

But the result still same. Please some help. Thank you.

Note: I'm using exoplayer version: 2.8.4

1 Answer 1

0

I just figure it out that the problem is with the STB device. When I try in another STB device with the same version (Android 7.1.2), its working fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.