Re:Turn your phone into a space monitoring tool
by DarthNebo on Thursday March 31, 2022 @03:15AM
(#30864664)
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.
[ Parent
| on HN ]
Re:Turn your phone into a space monitoring tool
by feymese on Thursday March 31, 2022 @03:28AM
(#30864724)
android 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_...
Re:Turn your phone into a space monitoring tool
by detaro on Thursday March 31, 2022 @03:17AM
(#30864673)
and that's relevant how?
Re:Turn your phone into a space monitoring tool
by charcircuit on Thursday March 31, 2022 @05:21AM
(#30865299)
scrcpy + an app like opencamera works great for me
Re:Turn your phone into a space monitoring tool
by DarthNebo on Thursday March 31, 2022 @06:08AM
(#30865530)
That'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.
Re:Turn your phone into a space monitoring tool
by charcircuit on Thursday March 31, 2022 @07:44AM
(#30866097)
>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.