Red5 Documentation

Getting Started

Red5 Pro Stream Manager REST API calls can be executed using any standard REST client.

For this section we will be using the Postman REST client.

Below are examples on using POST, GET and DELETE type REST operations using the Postman REST client. These are the three type of operations that you will come across while using the Stream Manager REST API.

Note: In examples, the URL pattern of {host} will refer to the Stream Manager IP/hostname and {port} will be 5080, the default port for Red5 Pro. For most cases, we would suggest running on an SSL-secured server.

Making POST API Calls

To make a POST REST call using the Postman REST client:

  1. Enter your URL in the URL text field
  2. Select POST from methods list on the left-hand side of URL text field
  3. If you have any accompanying data:
    • Select Body tab and select raw option
    • Select JSON (application/json) in the drop down selector next to the raw option
    • Paste the desired JSON data into the text area exposed on selecting raw
  4. Click Send to execute your API call
REST API POST Exmaple

Making GET API Calls

To make a GET REST call using the Postman REST client:

  1. Enter your URL in the URL text field
  2. Select GET from methods list on the left-hand side of URL text field
  3. Click Send to execute your API call
REST API GET Exmaple

Making DELETE API Calls

To make a DELETE REST call using the Postman REST client:

  • Enter your URL in the URL text field
  • Select DELETE from methods list on the left-hand side of URL text field
  • Click Send to execute your api call
REST API DELETE Exmaple