Remove 3 Seconds delay from Monaserver/Monatiny

2,284 views
Skip to first unread message

Bert Aufdemkamp

unread,
Mar 23, 2022, 4:40:57 AM3/23/22
to MonaServer
Hello,
I am using Monatiny for experiments on GoPro and OBS-Streaming.

There is a delay in pulishing rtmp-streams of 3-4 seconds.
Regardless whether the sender is GoPro or OBS-Studio.

Ther is this delay of 3-4 seconds regardles whether the receiver is OBS-Studo or ffmplay-client.

When a client subscribes to my stream "office", Monatiny writes in the protocoll window something about 3000ms Buffer time. Regardless who is the sender and regardless who is the consumer of the stream.


MonaTiny.cpp[176] RTMP 10.69.94.103:59317 subscribe to office
FlashStream.cpp[126] setBufferTime 3000ms on stream office
Server.cpp[119] 7 clients

This 3000ms match perfectly to the observed delay.

How can I set this 3000ms to a lower (or higher) value?
Is there a Parameter in the ini-file?
Can it be set within the rtmp-string?

Thank you in andvance
Best Regards
Bert

MonaServer

unread,
Mar 30, 2022, 1:16:10 AM3/30/22
to MonaServer
Hi Bert!

Nice to meet you :)

The 3s buffer time is set on the client side, for example with ffplay you can change this value with the property rtmp_buffer : https://www.ffmpeg.org/ffplay-all.html#toc-rtmp
By the way this does not change anything on the server side, there is no buffering done in MonaServer/MonaTiny.

With OBS we have never been able to get better latency though, if you find something to reduce it every information is welcome!

I hope this will help you, 

Regards

Thomas

Bert Aufdemkamp

unread,
Mar 30, 2022, 3:49:44 AM3/30/22
to MonaServer

Hello,

Thank you very  much for your answer.

 

I tried ffplay directly.

 

 

I could specifiy rtmp_buffer, and it will show in Monatiny-Log

 

 

But the latency remaines the same 3 seconds as before.

 

Who (in Monatiny) is displaying the value „3000“ or „11“ obtained from rtmp-call?

Is it only displayed or are there any Actions taken from this number?

 

Thanks so far and

Best Regards

Bert

--
You received this message because you are subscribed to a topic in the Google Groups "MonaServer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/monaserver/6AXRrklU2co/unsubscribe.
To unsubscribe from this group and all its topics, send an email to monaserver+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/monaserver/52e1d400-25d0-4323-a957-6d2f7b292bdfn%40googlegroups.com.

 

Reply all
Reply to author
Forward
Message has been deleted
0 new messages