ipfs-live-streaming icon indicating copy to clipboard operation
ipfs-live-streaming copied to clipboard

Push RTMP to HTTP (non-IPFS) streaming cluster

Open benhylau opened this issue 6 years ago • 2 comments

@ASoTNetworks can you describe what is required from your end since you are providing the servers?

benhylau avatar Jun 26 '18 23:06 benhylau

To stream to the non-IPFS cluster the IPFS RTMP server will push an RTMP stream to rtmp://10.100.80.1/tomesh/ournetworks over the OpenVPN connection.

Make sure there are only one device connected to the VPN or there will be conflict issues.

To connect to the VPN copy the OpenVPN file provided to /etc/openvpn/stream-client-tomesh.conf then run: systemctl enable openvpn@stream-client-tomesh systemctl start openvpn@stream-client-tomesh There should now be a tun interface with 10.100.80.x/24 IP address.

To push from NGINX RTMP module add the following lines in the application live section under allow play all; in nginx.conf. push rtmp://10.100.80.1 app=tomesh playpath=ournetworks; push_reconnect 1s;

After reloading NGINX the stream will be pushed to the streaming cluster.

ASoTNetworks avatar Jun 28 '18 00:06 ASoTNetworks

This is manually configured on rtmp-server to @ASoTNetworks's HLS cluster. Leaving open in case we want to document this later on.

benhylau avatar Jul 13 '18 03:07 benhylau