For setting up a 24/7 livestream you may want to change some default publishing parameters. Use the mp4split to create the server manifest file before the encoding is started.
You can also interact with a publishing point using our Publishing Point API.
You can use the following command to create the server manifest:
#!/bin/bash mp4split -o /var/www/live/channel1/channel1.isml \ --archive_segment_length=60 \ --dvr_window_length=30 \ --archiving=0 \ --restart_on_encoder_reconnect
This wil create a directory 'channel1' in the /var/www directory, which is Apache's DocumentRoot in a standard configuration. Within the directory, a server manifest (channel1.isml) is created, configured according to the options listed in the command.
archiving option set to 0, the publishing point only stores the
archive_segment_length of seconds to disk. In the example above, this is
60 seconds, which ensures that the storage requirements for running a 24/7 stream
After you have created the publishing point, you can start the encoder, with the URL of the publishing point as the address to which it will its output. For example:
Please note that you should change 'live.example.com' to your own URL.