For setting up a 24/7 live stream you may want to change some default publishing parameters. Use the mp4split program to create the server manifest file, before the encoding is started.
For fourther options and requirements please refer to the Publishing Point API.
We'll be using the following script (bash) to create the server manifest:
#!/bin/bash mp4split -o http://live.example.com/channel1/channel1.isml \ --archive_segment_length=60 \ --dvr_window_length=30 \ --archiving=0 \ --restart_on_encoder_reconnect
A directory 'channel1' is created in the webservers's DocumentRoot, provided it didn't exist before and mp4split generates the server manifest (channel1.isml) with the options listed.
With the flag archiving set to 0, the publishing point only stores the
archive_segment_length of seconds to disk.
When running a 24/7 stream the storage requirements are minimal.
Now you can start the encoder to start publishing to the publishing point:
Please note yo should change 'live.example.com' to your own URL.