Open topic with navigation
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
rollingBuffer.cfg, you can control the following settings:
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
Ensure that the path to the rolling buffer configuration file is set, for example:
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.
To configure default settings for rolling buffers
Open the rolling buffer configuration file.
[Defaults] section, set the following parameters:
||The path of the directory to store the rolling buffer files in. Relative paths must be relative to the rolling buffer configuration file.|
||The maximum number of files for each rolling buffer.|
||The maximum size in MB for each file.|
||(Optional) A template to use to construct the URL of every media segment in a playlist.|
(Optional) A template to use to construct the URL of every
[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
Use the ACI action
AddStream, for example:
Stream parameter is required and specifies the name of the rolling buffer. The other parameters are optional and override the default rolling buffer settings.
To remove a rolling buffer
This deletes all video that has been stored in the rolling buffer.
Use the ACI action
RemoveStream, for example:
Stream parameter is required and specifies the name of the rolling buffer to remove.
For more information about the actions that you can use to configure rolling buffers, refer to the Media Server Reference.