Create a restream for a channel
POST/channels/:id/restreams
A restream pushes or exposes the stream of an ingest or engine of a channel to an external RTMP or SRT destination. Restreams are only available when restreaming is enabled for the organization (403 feature_not_enabled otherwise). New restreams require a managed RTMP/SRT ingest or visible engine on a region advertising restream support. Either source supports RTMP(S) and SRT targets independently of the source protocol. Push (the default mode) requires target; pull requires protocol and no target, returning a credential-bearing url. Existing restreams in older regions retain start/stop support. Returns 400 restream_source_not_found, restream_source_not_supported or restream_target_not_supported for invalid selections. A new restream is stopped: start it to enable media delivery. Adding the first engine restream to a running engine requires restarting the engine (stop and start) to enable restreaming for it.
Request
Responses
- 200
- 503
Restream created
Region information is temporarily unavailable; retry the request.