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
我发现横竖屏切换时,录屏的尺寸不会跟着修改,如何修改service?
The text was updated successfully, but these errors were encountered:
因为编码器在初始化的时候就已经设置好分辨率了,如果录制时很竖屏切换很可能会因为分辨率不同导致流的编码出问题,但其实官方似乎已经对这个问题做了workaround,在横屏的时候会自动把流进行通分辨率的黑边适配; MediaRecorder 有 setOrientationHint 这个属性,你可以试试在录制过程中设置是否生效,实在不行在动态改编码器的参数吧
Sorry, something went wrong.
No branches or pull requests
我发现横竖屏切换时,录屏的尺寸不会跟着修改,如何修改service?
The text was updated successfully, but these errors were encountered: