Starting a broadcast
To start a broadcast:
- Get a server address and broadcast key.
- Configure the program for broadcasting.
- Start your broadcast.
- Check if the broadcast is available.
Get a server address and broadcast key
-
Open the Cloud Video home page
. -
Select a channel.
-
In the
Broadcasts tab, select the broadcast you need. -
In the stream settings window that opens, copy the following field values:
- Broadcast key
- Server address
Use the get REST API method for the StreamLine resource or the StreamLineService/Get gRPC API call.
Use the getStreamKey REST API method for the StreamLine resource or the StreamLineService/GetStreamKey gRPC API call.
Configure the program for broadcasting
You will need a video recording and streaming program, such as Open Broadcaster Software (OBS)
In the program, specify Broadcast key and Server address received earlier and start your broadcast.
OBS configuration example
-
Download
OBS. -
Install and set up
OBS. -
Under Controls, click Settings.
-
In the Stream tab, set up the broadcast server:
- In the Service field, select Custom...
- In the Server field, enter the Server address you got earlier.
- In the Stream Key field, enter the Broadcast key you got earlier.
-
Click OK.
-
Under Sources, click
, choose what you want to stream (e.g., Video Capture Device), and click OK. -
Select the video stream's source device, e.g., a webcam, and click OK.
-
Under Controls, click Start Streaming.
Start your broadcast
- Open the Cloud Video home page
. - Select a channel.
- In the
Broadcasts tab, select the broadcast you need. - Click
Start.
Use the performAction REST API method for the Stream resource or the StreamService/PerformAction gRPC API call.
The service limits the duration and number of simultaneous broadcasts.
Check if the broadcast is available
- Open the Cloud Video home page
. - Select a channel.
- In the
Broadcasts tab, select the broadcast you need. - Under Episodes, click </> Embed in site and select
link
. - Click
Copy. - Open a new browser page and paste the obtained URL to the address bar.
- Click the play button to make sure the broadcast is available.
Use the getPlayerURL REST API method for the Episode resource or the EpisodeService/GetPlayerURL gRPC API call.