The Live Stream Manager API allows customers to manage live streams using yospaceCDS. When you set-up a live stream, the yospaceCDS Live Stream Manager automatically manages live encoding (simultaneously running multiple encoding formats to support devices) and publishing the streams either into your own CDN or Yospace partner CDN completely automatically.
The Live Streaming API allows you to:
The Live Stream Manager API is a HTTP/JSON API and can be accessed at:
http://lsm.cds1.yospace.com/lsm/<command>?<parameters>
Note: All requests to the API require basic authentication using credential provided to you by Yospace.
| Command | Parameters | Description |
|---|---|---|
| create | name, profile, [parameter name] |
Creates a Live Stream Configuration but does not start it. |
| destroy | id | Deletes the Live Stream Configuration, stopping encoding and freeing up CDN publish points as appropriate. |
| get | id | Retrieves details of the Live Stream Configuration defined as id. |
| getprofile | id | Gets details of profile defined as id. |
| listprofiles | Lists the profiles available to your account. | |
| parameter | id, [parameter name] | Changes the value of the parameter specified to a new value within a given live stream configuration. |
| private | id | Disables access to end users of the Live Stream Configuration specified as id. |
| public | id | Enanles access to end users of the Live Stream Configuration specified as id. |
| start | id | Starts encoding under the Live Stream Configuration ID supplied. |
| stop | id | Stops encoding processors under the Live Stream Configuration ID supplied. |
| restart | id | Restarts encoding processors under the Live Stream Configuration ID supplied. |
| list | Returns the list of Live Stream Configurations in your account. |