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

第三方拍照视频报错 #264

Open
minorlai opened this issue Jan 28, 2020 · 6 comments
Open

第三方拍照视频报错 #264

minorlai opened this issue Jan 28, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@minorlai
Copy link

2020-01-29 01:24:28.111 23107-23107/com.shengshi.tongzhou.push I/CJT: JCameraView SurfaceCreated
2020-01-29 01:24:28.111 1806-22796/? I/CameraService: CameraService::connect call (PID -1 "com.shengshi.tongzhou.push", camera ID 0) for HAL version default and Camera API version 1
2020-01-29 01:24:28.112 1806-22796/? E/CameraService: CameraService::connect X (PID 23107) rejected (invalid camera ID 0)
2020-01-29 01:24:28.112 23107-23897/com.shengshi.tongzhou.push W/CameraBase: An error occurred while connecting to camera 0: Status(-8): '4: validateConnectLocked:850: No camera device with ID "0" available'
2020-01-29 01:24:28.112 23107-23897/com.shengshi.tongzhou.push W/System.err: java.lang.RuntimeException: Fail to connect to camera service
2020-01-29 01:24:28.113 23107-23897/com.shengshi.tongzhou.push W/System.err: at android.hardware.Camera.(Camera.java:546)
2020-01-29 01:24:28.113 23107-23897/com.shengshi.tongzhou.push W/System.err: at android.hardware.Camera.open(Camera.java:392)
2020-01-29 01:24:28.113 23107-23897/com.shengshi.tongzhou.push W/System.err: at com.cjt2325.cameralibrary.CameraInterface.openCamera(CameraInterface.java:313)
2020-01-29 01:24:28.113 23107-23897/com.shengshi.tongzhou.push W/System.err: at com.cjt2325.cameralibrary.CameraInterface.doOpenCamera(CameraInterface.java:300)
2020-01-29 01:24:28.113 23107-23897/com.shengshi.tongzhou.push W/System.err: at com.cjt2325.cameralibrary.JCameraView$7.run(JCameraView.java:307)

@imndx imndx added the bug Something isn't working label Jan 28, 2020
@minorlai
Copy link
Author

这个bug还存在哦 @imndx

@imndx
Copy link
Contributor

imndx commented Apr 5, 2020

@minorlai 这个问题是在什么手机复现的?

@RookieBro
Copy link

Vivo手机,华为手机这个问题也都会复现,我这里也复现了

@mankind-evolve
Copy link

这个android的音视频录制一直没有比价成熟的库 就连谷歌出的camerax感觉也是有很多问题。 这块问题困扰很久了

@imndx
Copy link
Contributor

imndx commented Jan 19, 2022

#581

@mankind-evolve
Copy link

推荐一个第三方的国外库 https://github.com/natario1/CameraView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants