Skip to content
New issue

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

腾讯视频通话视频画面偏大 #46

Open
253192245 opened this issue May 9, 2022 · 0 comments
Open

腾讯视频通话视频画面偏大 #46

253192245 opened this issue May 9, 2022 · 0 comments

Comments

@253192245
Copy link

image
我用的是这个组件出现了视频画面大的问题
正常的画面大小是:
74899c4ed87971a9e7b977cbfc225d0
偏大的视频画面是:
9ca98bb6d156f8f5aee978a6893f45d

设置当前摄像头的缩放比例是有用的,但是设置成最小值1,就是上面偏大的视频画面 ,但是就是回不到以前正常大小的视频画面了,请问怎么把视频大小缩放成正常大小的画面?
image

image
设置竖屏也设置了,清单文件里也加了android:screenOrientation="portrait"

填充模式我门只能设置为 TRTC_VIDEO_RENDER_MODE_FILL 因为

TRTC_VIDEO_RENDER_MODE_FIT有黑边
最后请问怎么在偏大视频画面的基础上,将视频画面变成第一张正常大小画面的视频呢?(中间的大画面)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant