Media Server 24.1

# AddStream

Creates a new rolling buffer.

You must specify a name for the new rolling buffer. You can also set other values such as the path where the video is stored and the amount of storage to use. If you do not specify these settings the default values set in the rolling buffer configuration file are used instead.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`MaxFiles` | The maximum number of files to write in the rolling buffer. The number of files multiplied by the maximum file size gives the total amount of storage. | No
`MaxFileSizeMB` | The maximum size in megabytes of a file in the rolling buffer. The number of files multiplied by the maximum size gives the total amount of storage. | No
`MediaSegmentTemplate` | A template to use to construct the URL of every media segment in a playlist. The value to use depends on how you have configured the web server that serves video from your rolling buffer. | No
`RootPath` | The path of the directory to contain the files for this rolling buffer. | No
`Stream` | The name for the new rolling buffer (names are case-insensitive). Valid characters are a-z, A-Z, 0-9, underscore (`_`), plus sign (`+`), and hyphen (`-`). Maximum 225 characters. | Yes
`VariantSegmentTemplate` | A template to use to construct the URL of every `GetPlaylist` action that is produced by Media Server. | No

## Example

    http://localhost:14000/action=AddStream&stream=news
                                           &maxfiles=5
                                           &maxfilesizemb=500

## Response

    <autnresponse>
      <action>ADDSTREAM</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.1

Topic Title: AddStream