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

录制视频最大长度与选择视频最大长度限制不一致 #2392

Closed
ZDZN opened this issue Jun 13, 2022 · 1 comment
Closed

录制视频最大长度与选择视频最大长度限制不一致 #2392

ZDZN opened this issue Jun 13, 2022 · 1 comment

Comments

@ZDZN
Copy link

ZDZN commented Jun 13, 2022

Current use version?

当前使用的版本是多少?

v3.10.2

Will this problem occur in demo?

Demo能否复现这问题?

Describe the problem or provide an error log?

描述问题或提供错误log?

使用自定义相机指定录制视频最大时长 30 秒,图库选择视频最大长度 30 秒,
当录制满 30 秒,图库显示视频长度为 31 秒,导致无法选择录制为 30 秒的视频,建议秒数取整时向下取整。

.setRecordVideoMaxSecond(30)
.setSelectMaxDurationSecond(30)
@ZDZN
Copy link
Author

ZDZN commented Jul 14, 2022

截止至 v3.10.5 ,依然没有修复
重现方式,demo 的 MainActivity 中添加如下两处代码,并且选择自定义相机,长按录像直至满 30 秒自动结束拍摄
image
image

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

2 participants