Hello,
In it, it mentions that latency can be reduced by outputting the incoming stream via the SRT protocol instead of regular RTMP. Unfortunately it does not contain configuration snippets it ultimately used. I have no prior experience with any of these protocols, nor with monaserver and its configuration syntax and am struggling to have any intuitive feeling for what makes sense here, so please bear with me.
The configuration file contains these sample configurations:
; UDP/TS input on port 1234 will be recorded in a mp4 file
; [test=Publication]
; IN 0.0.0.0:1234 UDP/TS
; OUT record.mp4
The documentation lists
UDP/TCP/SRT/RTP/HTTP/FILE as possible protocols. But my input is RTMP, so what am I supposed to use?
Looking at the logs I noticed that just streaming to
rtmp://
127.0.0.1:1935/live seems to use the publication "stream" (is it just the stream key?), so I attempted to simply add an OUT directive for that:
But if I do this, or for anything else I tried, I always get "stream not supported" log messages at startup, for example:
If I still try to connect to the stream:
ffplay just gives me the following errors and hangs:
ffplay version git-2020-05-10-fc99a24 Copyright (c) 2003-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200328
configuration:<snip>
00:26:36.098000*E:SRT.d: epoll/update: IPE: update struck EID 1 which is NOT SUBSCRIBED to @427389682
00:26:36.201000*E:SRT.d: epoll/update: IPE: update struck EID 1 which is NOT SUBSCRIBED to @427389682
00:26:36.303000*E:SRT.d: epoll/update: IPE: update struck EID 1 which is NOT SUBSCRIBED to @427389682
...
I am sure I already made many mistakes, but using the examples and documentation I have available I am unable to progress any further with this and would appreciate your help.
Best Regards,
Felix