by DarthNebo · 4y ago · 0 comments
afaik newer device kernels in android implements f_uvc function for it's usb gadget interface but i'm not sure you can use this without root. so, apps can't create this functionality without root.
also i'm not sure it's works even apps can get root. i didn't tried yet because my phone not support f_uvc and released kernel sources sucks.
src: https://android.googlesource.com/kernel/msm/+/android-5.0.2_...
Yeah it does. You send it to a v4l2 loopback (scrcpy --v4l2-sink) and then it shows up in stuff like Firefox or chrome as a webcam.