RTMP Camera is a small Windows app. It sends a picture from the computer to a phone connected by USB. Device Changer or StreamDC uses that picture instead of the phone camera. You do not type a server address. The app writes it into OBS Studio.
What you need
OBS Studio has to be installed first. Connect the phone by USB so adb can see it, then start RtmpStart.exe.
The window
The window is titled RTMP Camera. The address at the top is rtmp://127.0.0.1:1935. The app writes that address into the current OBS profile as a custom RTMP server. If the profile already has a stream key, the key stays.
If OBS has no profile yet, open OBS once and run the app again. If OBS is already open and the address is not this one, close OBS and run the app again. OBS overwrites its settings when it exits.
The app then runs adb reverse tcp:1935 tcp:1935. Port 1935 on the phone points at MonaServer on the computer, so the phone uses the same address. MonaServer and OBS Studio start next. MonaServer has no window.
Status
Four rows show the OBS address, adb, MonaServer, and OBS Studio. The device list refreshes about every two seconds. OBS is marked as publishing. The phone, through adb, is marked as a viewer.
Start again repeats this setup. Stop server turns off only MonaServer. Closing the RTMP Camera window does not stop the server or OBS.
When the scene is ready, start the broadcast in OBS yourself. The app opens the studio and writes the server. It does not press Start Streaming.
On the phone
In Device Changer or StreamDC, choose this RTMP as the camera source. The window language switches between Russian and English. The link in the window opens https://deviceschanger.org.
Download the latest build: https://deviceschanger.org/file?latest=rtmp-camera
StreamDC: https://deviceschanger.org/streamdc