Live Streaming

Our REST APIs use standard HTTP response codes, authentication, and verbs, and return JSON-encoded responses. Using these APIs, you will be able to start a live event and stream the content to our network, which will deliver that content to your audiences. Once a live entity is created, Uiza allocates dedicated resources and return an RTMP server to ingest and deliver your stream. The overall framework is articulated in the diagram below.

Step 1: Create a live entity

To start streaming, you need a live_entity to be created with resources allocated, ready to broadcast the live signal. You could create a live entity by using Create A Live Entity API.



Request Body

  "id": "2b970a39-874a-4d2a-be8a-fd445646d74c",
  "name": "Test event without encoding",
  "description": "Event for Test",
  "region": "in-bangalore-1",
  "status": "init",
  "dvr": false,
  "encode": false,
  "ingest": null,
  "playback": null,
  "relay": [
      "url": "rtmp://",
      "key": "Abco1",
      "name": "Youtube 1"
  "preset": null,
  "created_at": "2020-03-23T07:22:34Z",
  "updated_at": "2020-03-23T07:22:34Z"
Sample Request
curl -X POST \
-H 'Authorization: uap-c1ffbff4db954ddcb050c6af0b43ba56-41193b64' \
-d '{"name": "Test Event", "region": "in-bangalore-1", "description": "Test 1"}'

Please pay attention that you entered a supported region, else the API will return an error message. Defining correct region helps Uiza allocates the resource that is closest to the streamer location. This will minimize the risks of network issues and reduce the impact on your business. While we are adding more and more regions to Uiza Network, please check the current available regions below:

in-bangalore-1 (Bangalore - India)

in-mumbai-1 (Mumbai - India)


vn-saigon-1 (Vietnam)

Step 2: Retrieve a live entity

You will need the ingest.key and ingest.url to configure your broadcasting software. These 2 attributes could be retrieved by using the id you get in the response in Step 1 for the Retrieve an entity API.

It is important that the value of the status you get from the response is ready, meaning that resources have been allocated and ready to ingest and broadcast your live feed. If the status of your entity is init, meaning that Uiza is still allocating resources for your entity and your live signal will not be able to be ingested and broadcasted during this process. Please, be patient and keep requesting for the entity's information until you get the ready status. This process may take up to 1 minute.



Path Parameters

 "id": "2b970a39-874a-4d2a-be8a-fd445646d74c",
 "name": "Test Event",
 "description": "Test 1",
 "ingest": {
   "url": "rtmp://",
   "key": "live_TB62vHgxSY"
 "playback": {
   "hls": ""
 "region": "in-bangalore-1",
 "status": "ready",
 "dvr": false,
 "broadcast": "offline",
 "created_at": "2019-12-11T02:47:04Z",
 "updated_at": "2019-12-16T02:53:30Z"
Sample Request
curl -X GET \
-H 'Authorization: uap-c1ffbff4db954ddcb050c6af0b43ba56-41193b64' 

You could also set up a webhook to be notified automatically when your live_entity is ready.

Step 3: Configure your broadcasting software and start broadcasting

Most available broadcasting software uses RTMP protocol which requires a server's URL and a Stream Key to direct the live signal to the ingest servers. Use the ingest.url and ingest.key obtained at Step 2 to configure your broadcasting software in their Settings. The following are the 2 most popular broadcasting software that we strongly recommend.

OBS Studio (Available for Mac, Windows, and Linux) - Get it here.

Streamlabs (The best live streaming app for iPhone & Android) - Get it here.

Once you have configured the ingest.url and ingest.key, you could start streaming right away.

The playback links (hls for HLS streaming and mpd for MPEG-dash streaming) of your live entity is the value of playback returned in Step 2. With the HLS link obtained, you could play your live stream by these methods:

  1. Configure the HLS link to Player SDK.

  2. Paste the HLS link to Safari and play directly with Apple's native player.

  3. Install the HLS extension and play it on Google Chrome browser.

The mpd video format could be played natively by Microsoft Edge.

Last updated