Create a livestream
The only parameter you are required to set is the name of your stream,
but we also highly recommend that you define transcoding profiles
parameter that suits your specific broadcasting configuration.
If you do not define transcoding rendition profiles when creating the
stream, a default set of profiles will be used. These profiles include
240p, 360p, 480p and 720p.
The playback policy is set to public by default for new streams. It can
also be added upon the creation of a new stream by adding
"playbackPolicy": {"type": "jwt"}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Whether the playback policy for an asset or stream is public or signed
Response
User input tags associated with the stream
Duration of all the source segments, sec
Duration of all the transcoded segments, sec
Rate at which sourceBytes increases (bytes/second)
Rate at which transcodedBytes increases (bytes/second)
If currently active
Name of the token used to create this object
Timestamp (in milliseconds) at which stream object was created
Points to parent stream object
Used to form RTMP ingest URL
Configuration for a stream that should be actively pulled from an external source, rather than pushed to Livepeer. If specified, the stream will not have a streamKey.
The playback ID to use with the Playback Info endpoint to retrieve playback URLs.
Whether the playback policy for an asset or stream is public or signed
Profiles to transcode the stream into. If not specified, a default set of profiles will be used with 240p, 360p, 480p and 720p resolutions. Keep in mind that the source rendition is always kept.
The ID of the project
Should this stream be recorded? Uses default settings. For more customization, create and configure an object store.
Configuration for recording the stream. This can only be set if
record
is true.
If currently suspended
Timestamp (in milliseconds) when the stream was last terminated
Was this page helpful?