LuckSiege / LuckSiege/PictureSelector

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

Open
#2,915 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## 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");
}
});
```

```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the PictureSelector.create(...).openCamera(SelectMimeType.ofVideo()) entry point and trace setRecordVideoMaxSecond(5) through the non-custom-camera path. Reproduce the report with version 3.11.1 and verify that a five-second maximum is enforced without a custom camera.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.