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 @changcdn |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |
It's not streaming and it's decoding the RTMP urlWhat does this actually do?
As the Pi does not have HDMI in what is it streaming?
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 @changcdn |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |
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 @changcdn |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |
I've cleaned up your code a bit and put some sanity check in, auto omxplayer installer and added some comments to help people understand what each line is doing. I also corrected some syntax errors in your code
Code:#!/bin/sh clear stty -isig echo "For Details Visit: https://www.worldofiptv.com/" # omxplayer sanity check command -v omxplayer >/dev/null 2>&1 || { sudo apt-get install -y -qq omxplayer; } >> $LOG # dont flood the system sleep 2 # check online status ping -c1 -s1 www.google.com pingStatus=$? # results of online status check if [ $pingStatus = "0" ] then # we are online, lets stream #clear the screen contents clear echo "Stream Starting Please wait..." # launch the stream omxplayer -o hdmi --no-keys --vol 600 rtmp://localhost:1935/live/mystream else # internet appears offline, launch mp4 placeholder #clear the screen contents clear echo "Internet disconnected. Please check Internet" # dont flood the system sleep 1 echo "Starting Promo" # dont flood the system sleep 1 # launch mp4 placeholder omxplayer -o hdmi --no-keys --vol 600 /home/pi/promo.mp4 fi