improved
New approach setting ingest type (2022-09-28)
about 2 years ago by Tim Leenaers
Up until now, you could not define the ingest type (push
or pull
) directly through our API: you always had to pass a rtmpPullUrl
property when starting the channel if you wanted to start in pull mode. This changes today!
From now on, you can use the update channel endpoint to set the ingestType
and rtmpPullUrl
at any time you like, except when the channel is started. When starting a channel, you don't have to pass a body anymore: the channel will start in the mode you have defined beforehand.
Backwards compatibility
It is still possible to pass a rtpmPullUrl
property inside the body of a start request: the channel will then start in pull mode, even if the channel was push mode before.
Updated OpenAPI specs