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

直接录音不进入选择界面无法获取到录音文件,没走文件回调 #2422

Closed
zouliujun opened this issue Jul 11, 2022 · 0 comments

Comments

@zouliujun
Copy link

Current use version?

当前使用的版本是多少?

3.10.5

Will this problem occur in demo?

Demo能否复现这问题?

能复现

Describe the problem or provide an error log?

描述问题或提供错误log?

直接录音不进去选择界面无法获取录音文件, picSelectResultCallback回调没走, recordAudioInterceptListener是调用系统录音逻辑
pictureSelectionModel.openCamera(SelectMimeType.ofAudio())
                    .setRecordAudioInterceptListener(recordAudioInterceptListener)
                    .forResult(picSelectResultCallback)

如果进入选择界面再录制语音,选择是正常的,走了回调
pictureSelectionModel.openGallery(SelectMimeType.ofAudio())
                    .setRecordAudioInterceptListener(recordAudioInterceptListener)
                    .forResult(picSelectResultCallback)

现在我想达到的效果是只允许录制不允许选本地的路由文件

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