Use your phone as a camera
Send your phone's camera and microphone to this computer, over Wi-Fi or a USB cable, as one more source.
Step by step
- Add a phone sourcePress + in Sources and choose Phone (network stream). This computer starts listening for the phone.
- Choose SRTLeave the protocol on SRT: it copes best with Wi-Fi. Choose RTMP only if your phone app offers nothing else.
- Note the addressUnder the protocol is the address to send to, such as srt://192.168.0.20:9000. Copy puts it on the clipboard.
- Note the passphraseThe source made a passphrase, and only a phone that has it gets in. Type it into the app's passphrase field; for an app without one, the source shows an address with the passphrase in it.
- Start streaming from the phoneOn an iPhone, the free app Moblin works well (Larix Broadcaster too, with a subscription for some features). Add a stream with that address and passphrase, choose 1080p at 30 or 60, and start it. The picture and sound appear in a second or two.
Your phone is a camera. Its sound has a channel of its own in the mixer, already in step with the picture.
Good to know
- For the steadiest picture, use a cable: turn on Personal Hotspot and plug the phone in. The computer sees it as a wired network; send to the address the source shows for it (often 172.20.10.something). The phone charges as it streams.
- Over a cable, lower Latency to about 50 ms for less delay. Over weak Wi-Fi, raise it.
- If the source says the firewall will block the phone, run the command it shows once, in a terminal.
- A phone needs the passphrase to send here. On SRT what it sends is encrypted too. RTMP puts the passphrase in the address and encrypts nothing, so someone watching the network can read it: prefer SRT.
- If an app cannot do any of this, clear the passphrase. Then anyone who can reach the port can send a picture and sound, on air if the source is showing, so keep that to networks you trust.
- The phone sends H.264 or HEVC, which the graphics card decodes, so even 4K costs the processor almost nothing.
- An iPhone cannot be a plain USB webcam on Linux, so a streaming app is the way. Any app that sends SRT or RTMP works, on Android too.
See also
In this film
- Add a phone source+ in Sources, Phone (network stream). This computer starts listening
- Leave it on SRTIt copes best with Wi-Fi. RTMP only if the phone's app offers nothing else
- Note the address and the passphraseGive both to the app on your phone, so only your phone can send a picture
- Start streaming from the phoneThe picture shows here a moment later