Uiza Documentation
2021-09-21
Search
K

Create a live relay

A Relay is ingesting object that contains the information required to access 3rd ingest servers (a.k.a RTMP/broadcast destination). Use the key and url to configure it.
post
https://api.uiza.io
/api-live/owner/v1/live-entities/:id/relays
/v1/live-entities/:id/relays
The relay information is included in a live entity.
Sample Request
curl -X POST https://api.uiza.io/api-live/owner/v1/live-entities/22013d8a-d5fa-48f0-9a63-1f471ca9e81d/relays
-H 'Accept: */*'
-H 'Authorization: <token>'
-H 'uiza-app-id: <your_app_id>'
-H 'Cache-Control: no-cache'
-H 'Connection: keep-alive'
-d '{"name": "A Relay Updated", "url": "rtmp://youtu.be/live", "key": "test-key"}'