We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use surfaceViewRender to render my remote webRTC stream, and I want to make the remote stream fill my device screen. I try this code:
pipRenderer.setScalingType(ScalingType.SCALE_ASPECT_FILL); but actually the display size would over my screen size,
I try to scale the width to fit it:
pipRenderer.setScaleX(0.8f); but the result become more strange,
does anybody can tell how to do this? I want make the stream auto fit the screen size but do not over screen, I will very appreciate to you!!
The text was updated successfully, but these errors were encountered:
I face the same issue. Does anyone know how to fix it???
Sorry, something went wrong.
same problem here, did anyone fixed it?
I think that If you set the layout_width and layout_height of SurfaceViewRenderer are match_parent, you need to change to wrap_content
You were right. I managed to solve the problem
No branches or pull requests
I use surfaceViewRender to render my remote webRTC stream, and I want to make the remote stream fill my device screen. I try this code:
pipRenderer.setScalingType(ScalingType.SCALE_ASPECT_FILL);
but actually the display size would over my screen size,
I try to scale the width to fit it:
pipRenderer.setScaleX(0.8f);
but the result become more strange,
does anybody can tell how to do this? I want make the stream auto fit the screen size but do not over screen, I will very appreciate to you!!
The text was updated successfully, but these errors were encountered: