Operating a live Icecast stream with an AutoDJ fallback is easy with the MediaCP.
Icecast Service Configuration
- Create an Icecast 2 or Icecast 2 KH Service using Ices 0.4 AutoDJ.
- Go to the Service Configuration page.
- On the "Plugin" tab:
make sure MountPoint Name is set to stream and set Backup Mount to /source. - On the "Source" tab
Set Service Mountpoint to source - Update Configuration & Restart Service
Configure AutoDJ
- Go to the Service Overview page.
- Click on AutoDJ.
- Upload music and configure your playlist.
- Start AutoDJ.
That is it, now you can open http://yourdomain:8000/stream.m3u8 and your AutoDJ service should play.
When you want to change to your Live Stream, simply start your live encoder and the stream should swap over.
Additional Notes:
- Always set AutoDJ & Your Live Encoder to the same Bitrate, Channels & Format to avoid issues.