TUTORIAL: How to add youtube & twitch streams to your Xtream Codes panel
If you just can't paste youtube link or twitch link and create new stream, this is fix for you.
All you have to do is install youtube-dl on load balancer (server) you will use to start your stream.
1) Download youtube-dl to your stream servers and make it executable
Code:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
Code:
sudo chmod a+rx /usr/local/bin/youtube-dl
2) add link on panel sream channel exemple
youtube
$(youtube-dl -q -f best -g "https://youtube.com/address")
twitch
$(youtube-dl -q -f best -g "https://www.twitch.tv/address")