Create egress stream

Preview

Creates an egress stream that publishes a live stream to a downstream consumer. A stream in STREAM_STATUS_UNAVAILABLE is rejected as not-live.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
ingressIdstringOptional

Identifier of the live ingress stream to re-publish as an egress stream.

rtspobjectOptional
Settings for RTSP.
srtobjectOptional

The Lattice video service supports SRT protocol for push operations (ingress) and pull operations (egress).

When configuring SRT for ingress, CreateIngressStreamResponse will return to the user a url to push to which contains a unique 'session_id' to use on the connection. If supplied, passphrase will be applied on incoming connections.

When configuring SRT for egress, CreateEgressStreamResponse will return to the user a url from which to pull a stream. Use the supplied session_id and passphrase in your StreamId if applicable. See the SRT documentation on Access Control for more information.

Response

OK
egressIdstringOptional

Service-generated identifier for the new egress stream. Use it for subsequent GetEgressStream and DeleteEgressStream calls.

rtspobjectOptional
RTSP egress connection details.
srtobjectOptional
SRT egress connection details.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
503
Service Unavailable Error