i created a 24/7 livestream (to help you study)

About this video

Inspired by 24/7 chill music channels, the host builds his own always-on YouTube TV channel that loops a playlist of video files from a server. The requirements are a Linux computer or server running Ubuntu 18.04, a YouTube channel enabled for live streaming (though other platforms that accept a stream could be used), video files to play, and coffee. In the cloud route, he creates a Linode server using its Marketplace one-click Ant Media Server app, choosing the cheapest shared-CPU 1 gigabyte option at five dollars a month, covered by the sponsor’s hundred dollars of free credit, then accesses the Ant Media dashboard on port 5080 and creates an account. He uploads his video as VOD, builds the file URL from the server IP, port, /LiveApp/streams/ path and the VOD ID ending in .mp4 (noting case sensitivity), and adds it as a playlist item in a new playlist live stream. In YouTube Studio he copies the stream URL and secret stream key, combines them into an RTMP URL, adds that as an RTMP endpoint in Ant Media, and starts the broadcast, confirming the looping stream is live on YouTube. He notes Ant Media’s community edition is free, contrasts its latency with the enterprise edition, and briefly shows installing the same server on-premises on an Ubuntu virtual machine in Proxmox via its download and install script.

Key takeaways

  • A 24/7 channel is a server continuously sending a looping playlist of video files to a streaming platform, like running your own TV station.
  • The cloud build uses Linode’s one-click Ant Media Server on the cheapest shared-CPU 1 gigabyte option, described as five dollars a month with a hundred dollars of sponsor credit offered.
  • Workflow: upload a video as VOD in Ant Media, build its /LiveApp/streams/.mp4 URL, and add it as an item to a playlist-type live stream.
  • Connect to YouTube by combining YouTube’s stream URL and secret stream key into an RTMP URL, adding it as an RTMP endpoint in Ant Media, then starting the broadcast; keep the stream key secret.
  • Ant Media’s community edition used here is free; he contrasts typical latency of eight to 12 seconds with 0.5 seconds for the enterprise edition, and shows an on-prem Ubuntu install as an alternative.

Episode details: published January 20, 2022 · 14:41 long. Summary written by Self Growth Videos from the episode itself. Business results and any income figures mentioned are NetworkChuck’s own claims, shared for education — they are not typical or guaranteed.


← Previous: create the ULTIMATE hacking lab in 5min!! (Docker Containers STREAMING Kali Linux to your browser) · Next: mining crypto with your internet?!?! →

All NetworkChuck videos · NetworkChuck profile · NetworkChuck on YouTube

Sister brand · Vacation Club Promo

All-inclusive resort stays from $435

Qualified couples: promotional Mexico and Caribbean packages at real resorts. Short presentation during your stay — enjoy the rest of the trip.

Qualifications apply · presentation during stay · no purchase required

Subscribe YouTube Suggest