Which source Element is used on Android to stream video of UVC camera?

Hi,

I know that Android built-in camera(MIPI) uses ‘ahcsrc’ to stream video.

What about usb camera which connect to android deivce with usb port?

Still ‘ahcsrc’?
I set ‘device = /dev/video**’ property of ‘ahcsrc’ . But it always comes with build-in camera.

I hope to receive your help.Thank you.

BRs,
Nancy

Hi,

Most Android devices don’t include the driver for USB webcams in their kernels. The only option you’d have is to go for driver USB access, and implement the whole UVC protocol in userspace. I’m not aware on any GStreamer element that does that.

Olivier

Okay, I understand. Thank you.

Nancy