Using Larix SRT as input to OBS

Tangential

Member
I've been experimenting with using the Larix Broadcaster app and SRT to use a phone as a camera for OBS. Right now I am just experimenting on my local (non routable IP 192.168.20.X) network but I can't get it to work. Apparently I am missing something. My OBS box is 192.168.20.235 and my phone is 192.168.20.125)

In the Larix app on my phone I set up a new connection called "Inside" and a URL of srt://192.168.20.235:11000.

In OBS I set up a media source called InsideTest and I uncheked inside file and gave it an input of srt://127.0.0.1:11000?mode=listener

I didn't adjust any other settings and I disabled the firewall on the PC, but I cannot get a connection from the phone to OBS established. As soo as I start streaming from the phone, it tells me it cannot connect and will try again in 3 seconds. NDI and UPDeck work fine from this phone to the OBS PC so I know that I have connectivity.

Any help would be appreciated. This is just a test, but we may have a WAN need for SRT in the future and I need to be able to use it.
 

H4ndy

Forum Moderator
Better late then never - do not use localhost or 127.0.0.1 as listener address.
You must specify your real local IP, e.g. 192.168.x.x (use ipconfig to see your IP or check your router DHCP server page)
 

Tangential

Member
Better late then never - do not use localhost or 127.0.0.1 as listener address.
You must specify your real local IP, e.g. 192.168.x.x (use ipconfig to see your IP or check your router DHCP server page)
I’ll try that. Thanks
 

DannyTom

New Member
Ive tried teh real local IP and I also get canot connect to server ... ideas?
On OBS, I have media source set to srt://192.168.2.202:49992?mode=listener
and on my phone, i have outgoing connection of srt://192.168.2.202:49992 | mode audio + video | SRT sender mode : caller
what am i missing?
 

doobre

New Member
camera should have a fixed (static ip) for future use (there is no need to kept changing the settings)
phone cam IP should be something within your range, like >>>> 192.168.nnn.NNN
phone GATEWAY should be same but replace .NNN with ".1" >>>> 192.168.nnn.1
DNS 1 should be same as gateway above >>> 192.168.nnn.1

camera SRT output url IN LARIX CONNECTION MENU should be the phone gateway and add a port # chosen by you
>>> srt:\\192.168.nnn.NNN:PPPP

OBS MEDIA SOURCE should be as above url but with "?mode=listener" >>>> 192.168.nnn.NNN:PPPP?mode=listener

Note/Tip >> if you are using OBS on a laptop >> set up the wifi hotspot for the phone connection with the fixed IP then no changes are necessary.... every time you connect it is the same set of addresses.
 

ov10fac

Member
I am having the same issue. I have my Larix set up to broadcast rstp with the following configuration:
Name: iphone
URL: ip address of the computer hosting OBS (192.168.XXX.YYY):1935
Mode: Video Only
Login and Password fields left blank.

On my computer hosting OBS with an ip address of 192.168.XXX.YYY) I selected a "Media Source" and configured as followes:
Local File Box - Unchecked
Restart Playback ... box - checked
Network Buffering - Left at Default
Input: rtsp://192.168.XXX.YYY:1935?mode=listner
Input Format RSTP
All other fields left at default.

When I start a Larix broadcast I get an error "Iphone: could not connect to server ...."
And of course no image on OBS studion Media Source screen.

Any suggestions will be appreciated. It's probably something dumb I have missed. I did try with username and password of the OBS computer in the Larix Login and Password fields too with same result. I also tried it with the firewall disabled on my OBS computer.
 

ov10fac

Member
I also ran these commands on the OBS Computer

nmap 192.168.XXX.YYY (Iphone ip address)
Here are the results:

Starting Nmap 7.80 ( https://nmap.org ) at 2022-03-19 11:18 CDT
Nmap scan report for iPhone.ABC.com (192.168.XXX.YYY)
Host is up (0.0052s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
62078/tcp open iphone-sync

So the port 1935 does not appear to be open which the following command confirmed:

netstat -ano -p UDP | grep 1935 which returned nothing

However the following command gave a different result:
netstat -ano -p TCP | grep 1935
tcp 0 1 192.168.AAA.BBB:39148 192.168.XXX.YYY:1935 SYN_SENT 56421/obs on (15.07/4/0)
where AAA.BBB is my obs platform and the XXX.YYY is my iphone.

So it seems the ports are open and things should be running. Have I chosen the wrong protocol (RTSP)? Should I be using SRT or RMTP instead?
 

pmania

New Member
A good way to test that worked for me is to download MonaServer which is a small SRT/RTMP and more server it runs in DOS/CMD window so you can easily see if the connection is going to the machine which is running obs. It worked for me because I had nimble streamer running so nimble streamer would occupy the ports so it wouldn't go through OBS forgot about it so I couldn't get it to work for weeks / months I already was thinking it would be because I switched from Windows 10 to 11 or something and I had it dualboot but have win 11 dual boot now atm. Need to go back to 10 & 11 again. I tried different mobile streaming clients like Larix broad en screen caster, streamlabs and prism live mobile. So it is very easy to see if port forwarding firewall and other networking stuff like that is configured correctly. BTW you can easy test monaserver first by sending an obs stream to monaserver, so you see first that monaserver works for you, and then go step by step like troubleshooting or something. https://www.monaserver.ovh/ They have a 1 and 2 version 1 is no longer maintained but it still works also.
 

Erico 007

New Member
I've been experimenting with using the Larix Broadcaster app and SRT to use a phone as a camera for OBS. Right now I am just experimenting on my local (non routable IP 192.168.20.X) network but I can't get it to work. Apparently I am missing something. My OBS box is 192.168.20.235 and my phone is 192.168.20.125)

In the Larix app on my phone I set up a new connection called "Inside" and a URL of srt://192.168.20.235:11000.

In OBS I set up a media source called InsideTest and I uncheked inside file and gave it an input of srt://127.0.0.1:11000?mode=listener

I didn't adjust any other settings and I disabled the firewall on the PC, but I cannot get a connection from the phone to OBS established. As soo as I start streaming from the phone, it tells me it cannot connect and will try again in 3 seconds. NDI and UPDeck work fine from this phone to the OBS PC so I know that I have connectivity.

Any help would be appreciated. This is just a test, but we may have a WAN need for SRT in the future and I need to be able to use it.
Hola disculpa que no escriba en inglés, pero no manejo bien el idioma, así que te daré la respuesta en castellano y posteriormente traduces.
Entiendo que el IP de la computadora que tiene OBS es 192.168.20.23 y del teléfono es 192.168.20.125. Dado esto te explico como tienes que configurar ambos equipos sin necesidad de abrir puertos en el router o desactivar el firewall de tu computadora.
En el teléfono debes hacer esto:
1) Ingresas a Larix Broadcaster, te vas al ícono de la figura con engranaje y seleccionas "Connections", posteriormente seleccionas: "New conecction"
2) Se despliega la pantalla donde primero debes darle un nombre a tu conexión, en mi caso "En vivo"
3) La URL a usar en tu caso es: srt://192.168.20.23
4) SRT sender mode debe estar en Caller
5) La latencia puedes dejarla como está o bajarla a 50 como hice, ya que al ser una red local la latencia es mínima.
6) Guardas la configuración en el teléfono
7) Selecciona la nueva conexión creada, en este caso "En vivo"presionas el botón de transmitir y abres OBS.
7) En OBS creas una escena nueva y en fuentes agregas una entrada multimedia.
8) En la ventana desmarcas la casilla archivo local, y en la sección entrada colocas esto: srt://192.168.8.23:11000?mode=listener&latency=50
Verás que se conecta, a menor latencia, más fluida la imagen, pero recomiendo usar entre 50 y 200.
Espero te haya servido, cualquier cosa estaré a tus órdenes.
 

Erico 007

New Member
Hola disculpa que no escriba en inglés, pero no manejo bien el idioma, así que te daré la respuesta en castellano y posteriormente traduces.
Entiendo que el IP de la computadora que tiene OBS es 192.168.20.23 y del teléfono es 192.168.20.125. Dado esto te explico como tienes que configurar ambos equipos sin necesidad de abrir puertos en el router o desactivar el firewall de tu computadora.
En el teléfono debes hacer esto:
1) Ingresas a Larix Broadcaster, te vas al ícono de la figura con engranaje y seleccionas "Connections", posteriormente seleccionas: "New conecction"
2) Se despliega la pantalla donde primero debes darle un nombre a tu conexión, en mi caso "En vivo"
3) La URL a usar en tu caso es: srt://192.168.20.23
4) SRT sender mode debe estar en Caller
5) La latencia puedes dejarla como está o bajarla a 50 como hice, ya que al ser una red local la latencia es mínima.
6) Guardas la configuración en el teléfono
7) Selecciona la nueva conexión creada, en este caso "En vivo"
8) Presionas el botón de color blanco para transmitir, verás que ahora se coloca un botón cuadrado rojo y abres OBS.
9) En OBS creas una escena nueva y en fuentes agregas una entrada multimedia.
10) En la ventana desmarcas la casilla archivo local, y en la sección entrada colocas esto: srt://192.168.8.23:11000?mode=listener&latency=50
11) Haces click en aceptar y luego amplías la fuente al tamaño de la escena.
Verás que se conecta, a menor latencia, más fluida la imagen, pero recomiendo usar entre 50 y 200, sobre el sonido, al ser una fuent muntimedia, no necesitas configurar absolutamente nada, todo el sonido que capte el teléfono será transmitido a OBS.
Espero te haya servido, cualquier cosa estaré a tus órdenes.
 

Erico 007

New Member
I've been experimenting with using the Larix Broadcaster app and SRT to use a phone as a camera for OBS. Right now I am just experimenting on my local (non routable IP 192.168.20.X) network but I can't get it to work. Apparently I am missing something. My OBS box is 192.168.20.235 and my phone is 192.168.20.125)

In the Larix app on my phone I set up a new connection called "Inside" and a URL of srt://192.168.20.235:11000.

In OBS I set up a media source called InsideTest and I uncheked inside file and gave it an input of srt://127.0.0.1:11000?mode=listener

I didn't adjust any other settings and I disabled the firewall on the PC, but I cannot get a connection from the phone to OBS established. As soo as I start streaming from the phone, it tells me it cannot connect and will try again in 3 seconds. NDI and UPDeck work fine from this phone to the OBS PC so I know that I have connectivity.

Any help would be appreciated. This is just a test, but we may have a WAN need for SRT in the future and I need to be able to use it.
Hola disculpa que no escriba en inglés, pero no manejo bien el idioma, así que te daré la respuesta en castellano y posteriormente traduces.
Entiendo que el IP de la computadora que tiene OBS es 192.168.20.23 y del teléfono es 192.168.20.125. Dado esto te explico como tienes que configurar ambos equipos sin necesidad de abrir puertos en el router o desactivar el firewall de tu computadora.
En el teléfono debes hacer esto:
1) Ingresas a Larix Broadcaster, te vas al ícono de la figura con engranaje y seleccionas "Connections", posteriormente seleccionas: "New conecction"
2) Se despliega la pantalla donde primero debes darle un nombre a tu conexión, en mi caso "En vivo"
3) La URL a usar en tu caso es: srt://192.168.20.23
4) SRT sender mode debe estar en Caller
5) La latencia puedes dejarla como está o bajarla a 50 como hice, ya que al ser una red local la latencia es mínima.
6) Guardas la configuración en el teléfono
7) Selecciona la nueva conexión creada, en este caso "En vivo"
8) Presionas el botón de color blanco para transmitir, verás que ahora se coloca un botón cuadrado rojo y abres OBS.
9) En OBS creas una escena nueva y en fuentes agregas una entrada multimedia.
10) En la ventana desmarcas la casilla archivo local, y en la sección entrada colocas esto: srt://192.168.8.23:11000?mode=listener&latency=50
11) Haces click en aceptar y luego amplías la fuente al tamaño de la escena.
Verás que se conecta, a menor latencia, más fluida la imagen, pero recomiendo usar entre 50 y 200, sobre el sonido, al ser una fuente multimedia, no necesitas configurar absolutamente nada, todo el sonido que capte el teléfono será transmitido a OBS.
Espero te haya servido, cualquier cosa estaré a tus órdenes.
 

dbbrito

New Member
Larix's problem is the lack of synchronization when we use several cameras, there are several other srt apps that the synchronization is perfect and you don't need to keep synchronizing anything on obs. If anyone knows a way to solve this he will be the best srt on the market!
 

DonVi

New Member
Hola disculpa que no escriba en inglés, pero no manejo bien el idioma, así que te daré la respuesta en castellano y posteriormente traduces.
Entiendo que el IP de la computadora que tiene OBS es 192.168.20.23 y del teléfono es 192.168.20.125. Dado esto te explico como tienes que configurar ambos equipos sin necesidad de abrir puertos en el router o desactivar el firewall de tu computadora.
En el teléfono debes hacer esto:
1) Ingresas a Larix Broadcaster, te vas al ícono de la figura con engranaje y seleccionas "Connections", posteriormente seleccionas: "New conecction"
2) Se despliega la pantalla donde primero debes darle un nombre a tu conexión, en mi caso "En vivo"
3) La URL a usar en tu caso es: srt://192.168.20.23
4) SRT sender mode debe estar en Caller
5) La latencia puedes dejarla como está o bajarla a 50 como hice, ya que al ser una red local la latencia es mínima.
6) Guardas la configuración en el teléfono
7) Selecciona la nueva conexión creada, en este caso "En vivo"
8) Presionas el botón de color blanco para transmitir, verás que ahora se coloca un botón cuadrado rojo y abres OBS.
9) En OBS creas una escena nueva y en fuentes agregas una entrada multimedia.
10) En la ventana desmarcas la casilla archivo local, y en la sección entrada colocas esto: srt://192.168.8.23:11000?mode=listener&latency=50
11) Haces click en aceptar y luego amplías la fuente al tamaño de la escena.
Verás que se conecta, a menor latencia, más fluida la imagen, pero recomiendo usar entre 50 y 200, sobre el sonido, al ser una fuente multimedia, no necesitas configurar absolutamente nada, todo el sonido que capte el teléfono será transmitido a OBS.
Espero te haya servido, cualquier cosa estaré a tus órdenes.
Hola Erico, sigo los pasos tal cual y me ocurre lo mismo no establece conexion en mi movil android. Ayer lo probe con un compañero en la calle haciendo un streaming y funcionaba de lujo. Hoy he intentado hacerlo en casa y no me sale. Hay que abrir puertos o algo de eso?
 
Top