DroidCam OBS Camera

DroidCam OBS Camera 2.4.0

dev47

Member
dev47 updated DroidCam OBS Camera with a new update entry:

2.4.0

  • Added arm64 builds for Windows, to go along with OBS 31.1.
    • Note: USB support is limited due to lack of drivers for many devices.
  • Custom Resolutions:
    • You can now input custom values into the 'Resolution' field of your DroidCam OBS source. This lets you take better advantage of the options your device supports.
    • Requires the latest update for the DroidCam app (v8.x)
    • Use the 'Camera Information' / 'Camera Probe' option in the DroidCam app...

Read the rest of this update entry...
 

jamieH

New Member
I had seen on another thread something about using the DroidCam API to directly change some camera settings. My application requires different camera zoom level in different scenes. Rather than transform the camera feed for each scene, I'm using Advanced Scene Switcher to send the commands to one phone to zoom in or out (at 3 levels right now), depending on the scene. It seems to be working well, but I fiddled for a long time to find the correct approach with Advanced Scene Switcher. I'm writing to save someone else a lot to time.
The simplest approach seemed to be to use the HTML action to send a "PUT" to the camera (e.g. phoneIP:4747/v3/camera/zoom/3.0). However, I could not get this to work. The PUT request never gets to the phone, at least not in the right way.

Instead, I use the RUN action to run /usr/bin/curl (on MacOS) with 3 parameters (it doesn't work if they are given as a single parameter):
-X
RUN

I have no need right now, but this approach would work with any of the other api commands (I'm listing them here because I could not find them anywhere except in the remote web page javascript file):
/v3/camera/zoom/
/v3/camera/ev/
/v3/camera/wb/
/v3/camera/mf/
/v1/camera/autofocus_mode/
/v1/camera/wb_mode/
/v1/camera/torch_toggle
/v1/camera/el_toggle
/v1/camera/wbl_toggle
/v1/camera/active/

The values that go with each request can be seen in the remote if you run http://cameraIP:4747/

DroidCam continues to work very well for us with four donated (and ancient--5,6,7) iPhones. This little bit of automation is the icing on the cake!
 
Top