lotfi Raghib
lotfi Raghib

Reputation: 514

Camera2 API with external USB camera

I'am working in project to build a WebRTC communication between a Android device and the Web Page, so i used this github WebRTC_Androidrepository to implement the android side, and all work fine with the android device camera, but now i want use a external camera.

After analysing the code i found that it use the Camera2 API to read the camera stream, and i found here that this API support external caméra, but for me the API doesn't even detect the caméra.

I'am asking if the API work with all type of external caméra ?, what type of caméra the API support ?, can i use the UVC Camera Library with WebRTC istead of Camera2 API ?

Thanks

Upvotes: 2

Views: 3775

Answers (1)

Lucian Liu
Lucian Liu

Reputation: 31

Are you working with an Android Pie phone? The camera API to support external USB camera only works for an Android Pie phone with the right porting to support it. As I know, not all Android Pie phone got this ported.

Upvotes: 3

Related Questions