5 ms·
We don't even have apps to turn an Android/iOS device into a proper native webcam using UVC over USB2.0 & all attempts at RTSP/other sttreaming protocols just f
by DarthNebo 5y ago
We don't even have apps to turn an Android/iOS device into a proper native webcam using UVC over USB2.0 & all attempts at RTSP/other sttreaming protocols just feel hacky & laggy.
- detaro 5y agoand that's relevant how?
- feymese 5y agoandroid dev here. 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_r0.2/drivers/usb/gadget/f_uvc.c https://android.googlesource.com/kernel/msm/+/android-5.0.2_...
- charcircuit 5y agoscrcpy + an app like opencamera works great for me
- DarthNebo 5y agoThat's great for monitoring & setting up shots but still doesn't show up as a native device. What I usually do is hook a stream upto OBS or join via video on the phone & stay muted+silent on my laptop.
- charcircuit 5y ago>still doesn't show up as a native device 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.
- DarthNebo 5y agoOh nice, will try it out with a clean camera feed probably from some WebRTC sample page.