0

I am trying to stream to telegram using nginx and stunnel
the stream come from rtmp and i need to send it as rtmps to the telegram. the config of the nginx :

`rtmp {
    server {
        listen 1935;
        chunk_size 4096;

        application live {
            live on;

            record off;
             push rtmp://127.0.0.1:19350/rtmp/<telgeram key>;
        
        }
    }
}`

the config on the stunnel :

`[telgeram]
client = yes
accept = 127.0.0.1:19350
connect = dc4-1.rtmp.t.me/s/
verifyChain = no`

when i open vlc I can see the stream but the stunnel is giving me the error : Unknown TCP service "dc4-1.rtmp.t.me/s/"

I try to change the connect URL(in the stunnel config ) by using dc4-1.rtmp.t.me/s/ instead of rtpms://dc4-1.rtmp.t.me/s/ that didnt work .

assaf
  • 1
  • 2

0 Answers0