Media Server 24.1

# EditStream

Edits the settings for a rolling buffer.

TIP: If you try to edit a rolling buffer while Media Server is writing video, this action will fail.

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. When editing a rolling buffer, you can only increase the value of `MaxFiles`, it cannot be decreased. | 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. When editing a rolling buffer, you can only increase the value, it cannot be decreased. | 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
`Stream` | The name of the rolling buffer to modify. To rename a rolling buffer, use the action RenameStream. | 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=EditStream&Stream=Stream1
                                            &MaxFileSizeMB=1000

This action changes the maximum file size for `Stream1` to 1000 megabytes. The values for the other settings are not affected.

## Response

    <autnresponse>
      <action>EDITSTREAM</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: EditStream