Create a channel for real-time streaming at scale
Creating a channel will set up a full stack which will allow you to start streaming. You can choose a name for your channel and select an ingest location that best fits your need. An ingest location close to you will reduce latency. To see an overview of all the possible ingest locations, have a look at Regions.
Optionally, you can pass the streamConfig
object. This object consist of:
abr
: a booleanresolution
: the max resolution being used. Can be"1080p"
,"720p"
,"576p"
,"360p"
.bitrate
: the max bitrate used, in Mbps.fps
: a number indicating the fps used.drm
: an object with following properties:enabled
: boolean to determine if DRM should be enabled for this channel.
Setting the streamConfig
will determine which ABR ladder will be used, and at which price per minute transcoded and viewed you'll be charged! To have a complete overview of all possible combinations, please refer to our Stream configuration guide.
Start the channel to start streaming
Creating a channel won’t start the channel: it’s not possible to play the stream yet. To start the channel, see “Start channel” below.