amateurolz.blogg.se

Rtmp server live tv list
Rtmp server live tv list











If you do not have an SSL certificate for your domain, you can use Let's Encrypt to receive a free certificate. The listen statements for that should be as follows: listen 80 SSL # HTTP IPv4 force SSL You will then also need to edit/add the listen to statements to listen on port 443 (the https port) and optionally force usage of SSL. The certificate must be for the domain that you have specified in the server_name statement. Ssl_certificate_key /path/to/privkey.pem To configure the RTMP service, you need to add an RTMP section to your Nginx configuration file, which should be /etc/nginx/nf by default.Īdd an RTMP section to the conf file as follows: rtmp block with the following statements: ssl_certificate /path/to/certificate.pem Start and enable Nginx systemctl start nginx configure -with-http_ssl_module -add-module=./nginx-rtmp-module Run the configuration script to add SSL and the RTMP module Update the -add-module file path as necessary to point to where you cloned the nginx-rtmp-module. Move into your downloaded Nginx folder cd nginx-1.17.0/ Get the latest version of Nginx from here wget Ĭlone the Nginx RTMP Module from here git clone Install dependencies yum install -y wget git unzip perl perl-devel perl-ExtUtils-Embed libxslt libxslt-devel libxml2 libxml2-devel gd gd-devel PCRE-devel GeoIP GeoIP-develĪdd ffmpeg GPG key, and install ffmpeg rpm -v -import Ĭreate or go to a working directory cd /usr/local/src/ Install EPEL repository yum install -y epel-release Install CentOS development tools yum groupinstall -y 'Development Tools Nginx + RTMP can be configured on other Linux distributions and follows the same instructions, using the other distributions' package manager and default file paths. This guide uses CentOS 7 as the operating system of the server. RTMP stands for Real-Time Messaging Protocol and is a common, standardized way many services (such as YouTube, Twitch, etc.) use, or at least offer, to broadcast video online.

rtmp server live tv list

Reducing the bitrate of the video encoding can reduce your bandwidth usage at the cost of video quality.

rtmp server live tv list

The exact bandwidth uses on the number of streams, as well as their bitrate.

rtmp server live tv list

Whether you want a server to act as a relay for you to be able to stream to multiple services at once, re-encode your video stream into different formats, resolutions, or bitrates, or to stream from pre-recorded videos, a good method to do so is with a server running Nginx compiled with the RTMP module.













Rtmp server live tv list