The progress and plan on SRT(Secure Reliable Transport) integration?

iampegram

New Member
In fact mode=listener is the way to go. I was able to get it work with larix broadcaster. Only problem is that for some reason you have to leave open properties window to make it work. If you close it it will freeze source. I assume this is a bug.

Also I having trouble to add a second SRT source. On the properties window I can see video source, but it wont appear in preview view.

If you don't mind, how did you set up the Larix app for this to work? I'm trying to get this exact set up working, and can't figure it out...
 

bOMBA

New Member
After setting up the program (OBS), you may need to restart it.
+ You need to add the program and ports to the firewall exceptions.
+ For Linux (and MacOS?) you need to install 'libsrt' (NOT libsrtp) library and reconfigure ffmbeg with '--enable-libsrt' flag.
+ You MUST use your PC's ip-address on both devices.
+ OBS just ignores a stream key now.
+ You must disable any checkboxes in media capture sources with SRT. Otherwise, when switching the scene, the picture may disappear.
+ There may be a noticeable delay in display on the first connection. Just wait.

Smartphone ->OBS -> OBS SRT sceenshots (sorry for russian letters):
Larix_Screencaster_step1_2_3_4_5.jpg
Smartphone_to_OBS_to_OBS.jpg
 

iampegram

New Member
Thank you so much! I was missing the bit about unchecking all the boxes in the media source window. This should be added to the wiki page for clarification!
 

OscarParzon

New Member
Hello everyone.
Work on Linux (Ubuntu)
I have OBS v25.0.8
FFmpeg compiled with SRT
can i tx srt with ffmpeg
I can't Tx SRT with OBS. The notice says "Invalid Path or Connection URL. Please check your settings to confirm that they are valid."
Can someone guide me on what I am missing?

Thank you very much for the help.


screen_luna-30-05-20-18-51-41.jpg
 

taokaka

New Member
Hello everyone.
Work on Linux (Ubuntu)
I have OBS v25.0.8
FFmpeg compiled with SRT
can i tx srt with ffmpeg
I can't Tx SRT with OBS. The notice says "Invalid Path or Connection URL. Please check your settings to confirm that they are valid."
Can someone guide me on what I am missing?

Thank you very much for the help.


View attachment 56935
Same situation, every URL I enter with the srt:// protocol fails with this error message.
 

3dcandy

New Member
In fact mode=listener is the way to go. I was able to get it work with larix broadcaster. Only problem is that for some reason you have to leave open properties window to make it work. If you close it it will freeze source. I assume this is a bug.

Also I having trouble to add a second SRT source. On the properties window I can see video source, but it wont appear in preview view.

try adding mpegts in input format
 

Ussah

New Member
Hi, using OBS 26.1.1 (win64bit) SRT (listener) works nicely with Larix Broadcast app (iOS) used as camera to stream using srt (caller)

Anyhow I am having two issues
#2 of all opening stream takes randomly long. This is not real issue if streams are stable and no need to reopen. Have not tried yet for extensive times since focusing fixing multi camera issue

#1 issue is when setting up multiple srt cameras as input - looks like delay for each camera varies over time to time restarting stream or restarting OBS. I have seen in my quick testing 200-450ms

Any help on this topic? Delaying one stream is not solution due to random delay generated somewhere...
 

Ussah

New Member
I did some further testing on topic and looks like VLC player with playing two separate sources have constant delay.
When using OBS either as media source or VLC source delay gets random.

Is this noted as issue & any updates for possible rectification?


Other thread seemed to propose using gStreamer. Maybe that approach helps but still would be good to use existing sources
 

Attachments

  • OBS.zip
    879.2 KB · Views: 63
  • vlc.zip
    894.1 KB · Views: 42

doobre

New Member
Hi there All.
I am using multiple (3) SRT streams from android mobile phones using LARIX broadcaster into OBS.
The only issue I have is that these streams are not in sync with each other, and not by a fixed amount.
Gstreamer has been mentioned on other threads and one or two have got it to work/sync successfully, and having followed their steps I am unable to see the option to "ADD" a Gstreamer source in the dropdown list of source options in OBS.
Any one here been able to get Gstreamer working in OBS in this way???
Any ideas, suggestions, help would be much appreciated..

Based on what I have read, I have installed the Gstreamer ( gstreamer-1.0-msvc-x86_64-1.18.5.msi ) in windows, set the bin location in the windows PATH ENVIRONMENT VARIABLES settings ("bin" location here means where the folder called "bin" in the gstreamer folder structure lives, which in my case is > C:\Program Files (x86)\gstreamer\1.0\msvc_x86_64\bin, and I have copied the file "obs-gstreamer.dll" into the OBS folder at > C:\Program Files (x86)\obs-studio\obs-plugins\64bit..
What did I miss..?

gstreamer path in windows environ AGAIN cutout.jpg
 

PedjaS

Member
I am testing simple setup using Larix Broadcaster on Android and OBS. Everything goes fine except quite big delay of video. Streamed video usually lags about 4 to 5 seconds, and 2 to 2.5 seconds at the best.

Android is connected to local network to the WiFi that is on the same switch as OBS PC. Ping shows 1ms round-trip time between PC and Android. I reduced latency in connection settings on Larix Broadcaster to 100ms (default is 2000) with not much improvement.

Android is Xiaomi Redmi Note 10 Pro and should be more than powerful enough for this to work. PC is also sufficiently powerful. With all whistles and bells turned on, it rarely goes over 7% of CPU usage.

I found several tutorials here on forum about setting this up and found no hint how to fix it.

I also tried several other methods to stream video from this Android to this PC but there is always this to big delay.

I would expect not to have lag at all in this configuration I have.

Any hints what could I try more?
 

3dcandy

New Member
I am testing simple setup using Larix Broadcaster on Android and OBS. Everything goes fine except quite big delay of video. Streamed video usually lags about 4 to 5 seconds, and 2 to 2.5 seconds at the best.

Android is connected to local network to the WiFi that is on the same switch as OBS PC. Ping shows 1ms round-trip time between PC and Android. I reduced latency in connection settings on Larix Broadcaster to 100ms (default is 2000) with not much improvement.

Android is Xiaomi Redmi Note 10 Pro and should be more than powerful enough for this to work. PC is also sufficiently powerful. With all whistles and bells turned on, it rarely goes over 7% of CPU usage.

I found several tutorials here on forum about setting this up and found no hint how to fix it.

I also tried several other methods to stream video from this Android to this PC but there is always this to big delay.

I would expect not to have lag at all in this configuration I have.

Any hints what could I try more?
Hi ya, your latency is that at the destination? Or at the OBS pc? If you are going phone>obs pc>destination and the destination protocol is rtmp for example then you will still get 4-5 seconds.
 

PedjaS

Member
Hi ya, your latency is that at the destination? Or at the OBS pc? If you are going phone>obs pc>destination and the destination protocol is rtmp for example then you will still get 4-5 seconds.

At the OBS. I do not expect to have no delays on a stream. I use OBS for local recordings and video conferencing.

I am testing usage of phone camera as a secondary camera.
 

3dcandy

New Member
I've never had that kind of latency, I easily get sub 1 second on my setup here with a new android phone over a decent wifi network
 

Erico 007

New Member
Estoy probando una configuración simple usando Larix Broadcaster en Android y OBS. Todo va bien, excepto un retraso bastante grande del video. El video transmitido generalmente se retrasa de 4 a 5 segundos, y de 2 a 2.5 segundos en el mejor de los casos.

Android está conectado a la red local al WiFi que está en el mismo interruptor que OBS PC. Ping muestra 1 ms de tiempo de ida y vuelta entre PC y Android. Reduje la latencia en la configuración de conexión en Larix Broadcaster a 100 ms (el valor predeterminado es 2000) sin mucha mejora.

Android es Xiaomi Redmi Note 10 Pro y debería ser lo suficientemente potente como para que esto funcione. La PC también es lo suficientemente potente. Con todos los silbatos y campanas encendidos, rara vez supera el 7% del uso de la CPU.

Encontré varios tutoriales aquí en el foro sobre cómo configurar esto y no encontré ninguna pista sobre cómo solucionarlo.

También probé varios otros métodos para transmitir video desde este Android a esta PC, pero siempre hay un gran retraso.

Esperaría no tener retraso en absoluto en esta configuración que tengo.

Alguna pista, ¿qué podría probar más?

Hola sobre tu problema, debes bajar la latencia a 30 ms en ambos equipos, tanto en el teléfono con android como en la fuente multimedia que capturas en tu OBS. En la ventana de OBS, en la sección que dice entrada donde escribes la URL del srt, debes aumentar eso: &latency=30
Con eso asunto arreglado, habrá muy poco retrase, pero si usas una red 4G para conectarte remotamente, tendrías que probar de subir la latencia a 50 o 100, porque ya sabes que la conexión con datos móviles es más lenta que por fibra o ADSL.
Un saludo desde Potosí - Bolivia
 
Top