Deleting Live Stream Configurations

The command destroy will tidy up all of the encoding, CDN and other resources associated with the Live Stream Configuration. This means that if the Live Stream Configuration is actively encoding, this command will stop encoding immediately.

Invocation

http://lsm.cds1.yospace.com/lsm/destroy?id=i

Where i is the ID of the Live Stream Configuration that you wish to destroy.

Returns

Calls return {"ERRORS" : []} where [] is an array of error strings if the command was not successful.  The following HTTP result codes also apply:

  • HTTP status 200: Command Successful
  • HTTP status 400: Invalid Request (ID not found, for example)
  • HTTP status 401: Must Authenticate (basic authentication is required in HTTP headers)
  • HTTP status 500: Unexpected Error