# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm