Set Up Rolling Buffers

The settings for your rolling buffers are stored in a separate configuration file. This is so that you can share the rolling buffer configuration between multiple Media Servers . For example, you might have one Media Server writing video to a rolling buffer and another generating playlists.

A default rolling buffer configuration file is included with Media Server in the /encoding/rollingBuffer folder.

In rollingBuffer.cfg, you can control the following settings:

NOTE:

Apart from the settings in the [Defaults] section, do not edit the rolling buffer configuration file in a text editor. To add or modify rolling buffers, use the ACI actions provided by Media Server.

To set the path to the rolling buffer configuration file

  1. Open the Media Server configuration file and find the [Paths] section.
  2. Ensure that the path to the rolling buffer configuration file is set, for example:

    [Paths]
    RollingBufferConfigPath=./encoding/rollingBuffer/rollingBuffer.cfg

    Relative paths must be relative to the Media Server working directory. If you share a rolling buffer configuration file between multiple Media Servers, specify a UNC path.

  3. Save and close the configuration file.
  4. If you made any changes to the configuration file, restart Media Server.

To configure default settings for rolling buffers

  1. Open the rolling buffer configuration file.

  2. In the [Defaults] section, set the following parameters:

    RootPath The path of the directory to store the rolling buffer files in. Relative paths must be relative to the rolling buffer configuration file.
    MaxFiles The maximum number of files for each rolling buffer.
    MaxFileSizeMB The maximum size in MB for each file.
    MediaSegmentTemplate (Optional) A template to use to construct the URL of every media segment in a playlist.
    VariantSegmentTemplate (Optional) A template to use to construct the URL of every GetPlaylist action that is produced by Media Server.

    For example:

    [Defaults]
    RootPath=C:\VideoRecording\
    MaxFiles=10
    MaxFileSizeMB=100

    For more information about these configuration parameters, refer to the Media Server Reference.

To add a new rolling buffer

To remove a rolling buffer

CAUTION:

This deletes all video that has been stored in the rolling buffer.

For more information about the actions that you can use to configure rolling buffers, refer to the Media Server Reference.


_HP_HTML5_bannerTitle.htm