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

录制视频,最大录制时长设置不生效。 #2915

Open
sunjihai opened this issue Jul 4, 2024 · 1 comment
Open

录制视频,最大录制时长设置不生效。 #2915

sunjihai opened this issue Jul 4, 2024 · 1 comment

Comments

@sunjihai
Copy link

sunjihai commented Jul 4, 2024

Current use version?

当前使用的版本是多少?

3.11.1


Will this problem occur in demo?

Demo能否复现这问题?

不能


Describe the problem or provide an error log?

描述问题或提供错误log?

setRecordVideoMaxSecond这个设置,如果不使用自定义相机不起作用。如下是我的代码,最大录制时长设置不生效。
PictureSelector.create(MainActivity.this)
.openCamera(SelectMimeType.ofVideo())
.setRecordVideoMaxSecond(5)
.forResultActivity(new OnResultCallbackListener() {
@OverRide
public void onResult(ArrayList result) {
Log.d("Picture", "useVideo onResult");
}

                @Override
                public void onCancel() {
                    Log.d("Picture", "useVideo onCancel");
                }
            });

@sunjihai
Copy link
Author

sunjihai commented Jul 8, 2024

我的手机是荣耀 Magic5,型号PGT-AN00,Android 14

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