Allows you to initiate a new RTMPS or SRT live stream on FastPix. Upon creating a stream, FastPix generates a unique streamKey and srtSecret, which can be used with any broadcasting software (like OBS) to connect to FastPix's RTMPS or SRT servers.
Leverage SRT for live streaming in environments with unstable networks, taking advantage of its error correction and encryption features for a resilient and secure broadcast.
How it works
-
Send a a
POSTrequest to this endpoint. You can configure the stream settings, includingmetadata(such as stream name and description),reconnectWindow(in case of disconnection), and privacy options (publicorprivate). -
FastPix returns the stream details for both RTMPS and SRT configurations. These keys and IDs from the stream details are essential for connecting the broadcasting software to FastPix’s servers and transmitting the live stream to viewers.
-
Once the live stream is created, we’ll shoot a
POSTmessage to the address you give us with the webhook event video.live_stream.created.
Example:
Imagine a gaming platform that allows users to live stream gameplay directly from their dashboard. The API creates a new stream, provides the necessary stream key, and sets it to "private" so that only specific viewers can access it.
Related guide: How to live stream