Niftiest
lvl.2
Flight distance : 279705 ft
United States
Offline
|
Here's how I would do it (keep in mind there are probably WAY more efficient ways to do this, and I'm not sure how latency would be, I've not tested this at all). This would be an android idea/setup.
- Download/Run scrcpy (windows) and connect to your phone.
- Have OBS screen-grab the display that scrcpy gives you back, and use that as your feed/input.
I use scrcpy constantly for various tasks and for quick-plug-n-go I made a batch file to do what's needed for me. Hopefully it'll help you.
(This is the .bat file code)
adb devices
adb tcpip 5555
echo Disconnect USB, Connect to Wifi!
pause
adb connect 192.168.2.9
scrcpy.exe
- So I plug my phone in to my PC, run the .bat file, disconnect when it prompts you to, and it then connects via wifi. Change the internal address to whatever your phones address is (most likely 192.168.0.x). Cheers! |
|