Accesso rapido:  

Forum: Video Discussion

Topic: rtmp server

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

Can stream a stand alone rtmp server of my choice. I have built a nginx server via hls and would like to connect to it directly???
 

Inviato Fri 06 Dec 19 @ 3:44 am
If you made sure the nginx version you use come with rtmp support (Gryphon/v1.7.11.3 seem to be the last which incl. rtmp support unless you compiled it in yourself) you simply configure the nginx module, set VDJ to point to the nginx server "rtmp://127.0.0.1/configname" (configname being whatever you want it to be, see config below. Replace localhost ip with the nginx server one), and add a streaming key in VDJ.

An nginx.conf example:


events { }

rtmp {
  server {
listen 1935;
chunk_size 4096;

application configname {
live on;
record off;
}
}
}


From there you can connect a player that support rtmp to the same ip. Be sure to add the streaming key to the URL (i.e. VLC would connect using "rtmp://127.0.0.1/configname/streamkey").

Example: Below configname is "live" (in conf file) and streamingkey is "pvp"

 

Inviato Fri 06 Dec 19 @ 5:17 am


(Vecchi argomenti e forum sono automaticamente chiusi)