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

# Creating 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, click **Create a broadcast**.
  1. Enter a name and description for 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**: Ensures high image quality and resilience to unstable connections. Suitable for broadcasts without active real-time viewer interaction.
     * **Low**: 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 **Create**.

- API {#api}

  To create a broadcast, use the [create](../../api-ref/Stream/create.md) REST API method for the [Stream](../../api-ref/Stream/index.md) resource or the [StreamService/Create](../../api-ref/grpc/Stream/create.md) gRPC API call.

{% endlist %}

## Creating an episode {#create-episode}

{% list tabs group=instructions %}

- Cloud Video UI {#console}

  1. Under **Episodes**, click ![image](../../../_assets/console-icons/plus.svg) **Add an episode**.
  1. In the **Episode type** field, select a mode:
     * **Live**: Real-time playback with rewind support.
     * **Broadcast**: Scheduled playback with recording.
  1. Enter a name and description for the episode.
  1. In the **Access** list, select the episode access type:
     * `For 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 a 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. In the **Thumbnail** field, click ![upload](../../../_assets/console-icons/cloud-arrow-up-in.svg) **Select file** and choose a cover 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}

  To create an episode, use the [create](../../api-ref/Episode/create.md) REST API method for the [Episode](../../api-ref/Episode/index.md) resource or the [Episode/Create](../../api-ref/grpc/Episode/create.md) gRPC API call.

{% endlist %}