Open topic with navigation

# 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
`Name` | 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&Name=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>

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm