[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Video](../../index.md) > [Step-by-step guides](../index.md) > Broadcasts > Editing a broadcast

# Editing a broadcast

{% list tabs group=instructions %}

- Cloud Video UI {#console}

  1. Open the Cloud Video [home page](https://video.yandex.cloud/).
  1. Select a channel.
  1. In the ![image](../../../_assets/console-icons/antenna-signal.svg) **Broadcasts** tab, in the row with the broadcast you need, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Edit**.
  1. Rename the broadcast.
  1. In the **Stream input protocol** field, select the [required protocol](../../concepts/streams.md), `RTMP` or `SRT`.
  1. In the **Stream type** field, select:

      * `Push`: To transmit to the Cloud Video server a video signal from a video streaming program, such as [vMix](https://www.vmix.com/) and [OBS](https://obsproject.com/). This is the main connection method.
      * `Pull`: To connect Cloud Video to your streaming server and receive its video signal.

  1. If you selected the `Pull` stream type, enter the address of your broadcast server in the **Server address** field.
  1. Select **Delay mode**, which sets the time between video capture at the source and its playback for viewers:
     
     * **Standard** (15-20 seconds): Ensures high image quality and resilience to unstable connections. Suitable for broadcasts without active real-time viewer interaction.
     * **Low** (4-5 seconds): Suitable for scenarios with active viewer interaction but more sensitive to network quality.
  1. Enable **Auto-start broadcast** to publish episodes automatically upon receiving an input signal.
  1. Click **Save**.

- API {#api}

  Use the [update](../../api-ref/Stream/update.md) REST API method for the [Stream](../../api-ref/Stream/index.md) resource or the [StreamService/Update](../../api-ref/grpc/Stream/update.md) gRPC API call.

{% endlist %}
  
## Updating an episode {#update-episode}

{% list tabs group=instructions %}

- Cloud Video UI {#console}

  1. Under Episodes, click ![image](../../../_assets/console-icons/ellipsis.svg) next to the episode in question and select **Edit**.
  1. In the **Episode type** field, select a mode:

     * `Live`: Real-time playback with rewind support.
     * `Broadcast`: Scheduled playback with recording.

  1. Edit the episode name and description.
  1. In the **Access** list, edit the episode access type:

     * `All users`: Anyone with the link will have unlimited access to the episode.
     * `By temporary link`: Access to the episode will be provided through a special link.

      The video is available via a temporary link for a maximum of 12 hours.

  1. When selecting `Live` as the episode type, specify the **Rewind buffer (sec)** field to set the number of seconds the player buffers around the current position for smooth navigation.
  1. When selecting **Broadcast** as the episode type, specify the broadcast start and end date and time in the **Episode start** and **Episode end** fields.
  
      {% note tip %}

      To embed part of a broadcast on a website, specify an episode time range. [Get](get-link.md) an embed code or link to the broadcast. You can also add part of a broadcast to a [playlist](add-to-playlist.md).

      {% endnote %}

  1. Enable or disable ads. To enable it, [configure](../channels/settings.md#ad-settings) ad display in advance.
  1. To change a [player preset](../../concepts/player.md#player-presets), in the **Player template** list, select the one you need from those available in the channel or create a new preset.
  1. To change the thumbnail, click ![image](../../../_assets/console-icons/cloud-arrow-up-in.svg) **Select file** and select a new thumbnail image.

      The following cover formats are supported: [JPG](https://en.wikipedia.org/wiki/JPEG), [PNG](https://en.wikipedia.org/wiki/PNG), and [GIF](https://en.wikipedia.org/wiki/GIF).

  1. Click **Save**.

  You can add any number of episodes. To delete an episode you do not need, click ![image](../../../_assets/console-icons/ellipsis.svg) next to it and select ![image](../../../_assets/console-icons/trash-bin.svg) **Delete**.

- API {#api}

  Use the [update](../../api-ref/Episode/update.md) REST API method for the [Episode](../../api-ref/Episode/index.md) resource or the [EpisodeService/Update](../../api-ref/grpc/Episode/update.md) gRPC API call.

{% endlist %}