Broadcasts in Cloud Video
With Cloud Video, you can stream live broadcasts in the integrated video player. Each broadcast is a separate episode.
Broadcasts
A broadcast is the main Cloud Video resource for live video streaming.
In the broadcast settings, the video signal source is configured.
The following stream input protocols are supported: RTMP
Types of input streams:
Push: To transmit to the Cloud Video server a video signal from a video streaming program, such as vMix and OBS . This is the main connection method.Pull: To connect Cloud Video to your streaming server and receive its video signal.
Episodes
Each broadcast consists of episodes. There are two types of episodes:
Live: Real-time viewing with rewind support.Recorded broadcast: Event with defined start and end times and recording.
You can upload custom thumbnails for your episodes. The thumbnail will appear in the Cloud Video interface and in the player on the website hosting the broadcast episode.
The following cover formats are supported: JPG
You can publish a broadcast episode using a direct link or by posting it to a website. To embed a specific part of a broadcast on a website, set a time interval when creating or editing the episode.
You can group broadcast episodes into playlists in any order. For details on publishing playlists, see Getting an embed code or link to a playlist.
Once a broadcast episode is over, you can keep its recording available or remove it.
The service limits the duration and number of simultaneous broadcasts.
Statuses
You can view statuses under Episodes in the relevant column.
Broadcast episodes can have the following statuses:
Offline: The broadcast is off. Displayed in two cases:- The broadcast is not started yet.
- The broadcast ended either through disabling the Accept signal option or automatically at a specified time.
Preparing: Preparation of a fault-tolerant Yandex Cloud infrastructure for video transcoding is ongoing. Awaiting video signal. The broadcast gets this status a few minutes before it starts.Ready: The infrastructure is ready, the video signal is received. You can start your broadcast.On air: The broadcast is on. The broadcast gets this status as soon as you click Publish broadcast or automatically at a specified time.
Broadcast episode publishing settings
You can change the following basic playback settings for broadcast episodes when generating a direct link or website embed code:
- Muted playback by default.
- Auto playback on opening.
- Displaying controls in the player.
With Cloud Video Player SDK for IFrame, you can specify additional player control and video playback settings for an HTML page, e.g., video size and looping, volume, etc.
By default, there is a 15–20 second delay between the source and playback of the stream, which ensures high image quality and resilience to unstable connections. For scenarios with active viewer interaction, you can reduce the latency to 4-5 seconds, but this will require a high-quality network.
Checking broadcast status
You can monitor your broadcast status with the help of summary metrics and the broadcast event log.
The following metrics are available:
-
Video/audio FPS: Frames per second for video and audio tracks. These values must match the settings of your broadcasting software. A drop in FPS may indicate a lack of hardware performance.
-
Video/audio bitrate: Amount of multimedia data per unit of time. Sharp bitrate drops may indicate network or signal source issues.
-
Stream drift: Graph for lag between video/audio tracks and real time. Shows the difference in your broadcasting software performance and the amount of data sent.
-
Stream drift semaphore: Semaphore that changes its color depending on the difference between the current Stream Drift and the average Stream Drift over the last 30 seconds. The possible values are as follows:
- Green: Good indicator, the difference is within the normal range (under 500 ms).
- Yellow: Time to check source signal or network. Difference from 500 to 1,000 ms.
- Red: Source signal or network issues, the broadcast will be interrupted. Difference in excess of 1,000 ms.
Look up the event log to see everything that has happened with the broadcast chronologically. Monitor errors and warnings to quickly identify issues.
Each event log entry contains the following:
- Broadcast date: Time the event occurred.
- Message: Event description.
- Status: Event type. There are two types of events:
Information: Informational message. For example, change in broadcast status.Error: Error messages.
Broadcast viewing statistics
You can view statistics for each broadcast and its episodes. To customize the statistics, select the calculation period and time interval. The difference from the previous period will help you estimate the growth or decline of interest in the broadcast.
The following data is available:
- Number of views: Total number of views, integer.
- Number of viewers: Number of unique viewers, integer.
- Total viewing time: Total viewing time in hours and minutes.
- Average viewing time: Average viewing time in hours and minutes.
- Linear chart with total views and users plotted per unit of time.
To analyze your audience, you can use:
- Pie chart with distribution of views by device type.
- Pie chart with distribution of views by OS.
This data will help you understand which devices and platforms are most popular among your audience and optimize your broadcast accordingly.