How to add ssl to hls link for player ??
like this https://yourip:443/hls/live.m3u8 please tutorial
Thankyou
like this https://yourip:443/hls/live.m3u8 please tutorial
Thankyou
With
+23k members
+11k threads
+106k posts
we are the most popular IPTV community on the web.
IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.
Join now to the World of IPTV
Muito obrigado, vou testar... Thank you, I'm test...RTMP is great for serving live content. When RTMP is paired with FFmpeg, streams can be converted into various qualities. Streaming-Servers.com is great for these applications as they provide fast and dedicated CPU performance. Streaming-Servers.com global network also ensures that you can deliver high quality live content with minimal delay.
Lets get started!
1. Connect with putty to your Server with preinstalled Ubuntu 14.04.x LTS 64 Bit
2. Enter following commands in your Shell (exclude the lines with #)
Bash:apt-get install build-essential libpcre3 libpcre3-dev libssl-dev unzip software-properties-common mkdir /usr/build #Download the Nginx and Nginx-RTMP source. wget http://nginx.org/download/nginx-1.7.8.tar.gz wget https://github.com/arut/nginx-rtmp-module/archive/master.zip #Extract the Nginx and Nginx-RTMP source. tar -zxvf nginx-1.7.8.tar.gz unzip master.zip #Switch to the Nginx directory. cd nginx-1.7.8 #Add modules that Nginx will be compiled with. Nginx-RTMP is included. ./configure --with-http_ssl_module --with-http_stub_status_module --with-http_secure_link_module --with-http_flv_module --with-http_mp4_module --add-module=../nginx-rtmp-module-master #Compile and install Nginx with Nginx-RTMP make make install #Install the Nginx init scripts. wget https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O /etc/init.d/nginx chmod +x /etc/init.d/nginx update-rc.d nginx defaults #Start and stop Nginx to generate configuration files. service nginx start service nginx stop #Add the FFmpeg PPA and Installing FFmpeg apt-add-repository ppa:jon-severinsson/ffmpeg apt-get update apt-get install ffmpeg
3. Once the installation is, lets configure Nginx-RTMP and FFmpeg
Open the Nginx configuration file.
Bash:nano /usr/local/nginx/conf/nginx.conf
Append the following
Bash:rtmp { server { listen 1935; chunk_size 4096; application live { live on; record off; exec ffmpeg -i rtmp://localhost/live/$name -threads 1 -c:v libx264 -profile:v baseline -b:v 1200K -s 720x576 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://localhost/live720p/$name; } application live720p { live on; record off; } } }
After you've added the above, you can customize settings such a video bitrate, audio bitrate and resolution. These changes will only be applied to the lower quality stream. To add more qualities, copy and paste the exec ffmpeg line and change the settings. You'll also need to create a new application. You can do this by copying and pasting the live720 example that has been included. Don't forget to update the exec ffmpeg line with the address of the new application. You can do this by changing the final RTMP address in the exec ffmpeg line.
Save the file by pressing Control and X together. Restart Nginx.
Bash:service nginx restart
Note: For best performance, each stream being converted should have its own CPU core. For example two qualities, 360P and 480P are being created from a 720P stream. A Streaming-Servers.com instance with at least two CPU cores should be used.
Security Note
If you're using a firewall, you'll need to make sure TCP 1935 is allowed.
The current configuartion allows anyone to stream to your server. We can fix this by only allowing certain IP addresses the publish permission. Open the Nginx configuration.
Bash:nano /usr/local/nginx/conf/nginx.conf
Look for the following lines
Bash:live on; record off;
Add the following to each set of the above lines. Change 0.0.0.0 to your IP address.
Bash:allow publish 127.0.0.1; allow publish 0.0.0.0; deny publish all;
The configuration should now look something like this
Bash:rtmp { server { listen 1935; chunk_size 4096; application live { live on; record off; allow publish 127.0.0.1; allow publish 0.0.0.0; deny publish all; exec ffmpeg -i rtmp://localhost/live/$name -threads 1 -c:v libx264 -profile:v baseline -b:v 1200K -s 720x576 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://localhost/live720p/$name; } application live720p { live on; record off; allow publish 127.0.0.1; allow publish 0.0.0.0; deny publish all; } } }
Save the file by pressing Control and X together. Restart Nginx.
Bash:service nginx restart
Configuring Software to Work with Nginx-RTMP
Streaming applications typically have two fields for connection information. The first field is usually for the server information and the second field is usually for the stream name or key. The information that you should place into each field is listed. The stream name or key can be set to anything.
Bash:Field 1: rtmp://your.server.ip/live/ Field 2: stream-key-you-set
To view streams open the following links in a player (for example VLC Player) supporting RTMP.
Bash:rtmp://your.server.ip/live/stream-key-you-set rtmp://your.server.ip/live720p/stream-key-you-set
Setting up a player to display live video on a website is beyond the scope of this guide.
I need too... ThanksHow to add ssl to hls link for player ??
like this https://yourip:443/hls/live.m3u8 please tutorial
Thankyou
Channels | MatchTime Unblock CDN | Offshore Server | Contact |
100 cnx / 90€ | 5Gbps / 180€ | 48CPU-256GRAM 10Gbps 569€ | Skype live:giefsl |
500 cnx / 350€ | 10Gbps / 350€ | 48CPU-128GRAM 5Gbps / 349€ | TG @changglobize |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |
How to add ssl to hls link for player ??
like this https://yourip:443/hls/live.m3u8 please tutorial
Thankyou
First, you need SSL certificate and key... You can use let's encrypt SSL. After that, you need to use the SSL certificate and key in your RTMP HLS server block. Change the http port to 443 and add your SSL certificate and key in the configuration. That's all.How to add ssl to hls link for player ??
like this https://yourip:443/hls/live.m3u8 please tutorial
Thankyou
Channels | MatchTime Unblock CDN | Offshore Server | Contact |
100 cnx / 90€ | 5Gbps / 180€ | 48CPU-256GRAM 10Gbps 569€ | Skype live:giefsl |
500 cnx / 350€ | 10Gbps / 350€ | 48CPU-128GRAM 5Gbps / 349€ | TG @changglobize |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |
We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising.
For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.