Getting Status

Getting a Live Stream Configuration

The command get will provide information regarding a specific Live Stream Configuration.

Invocation

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

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

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 401: Must Authenticate (basic authentication is required in HTTP headers)
  • HTTP status 404: Invalid Request (ID not found, for example)
  • HTTP status 500: Unexpected Error

The command will return the details of the Live Stream Configuration with the ID i.

The structure is as follows:

{
	// Details about this stream
	"stream": {

		// Unique ID for this stream
		"id":"13296922",

		// Name assigned to this stream
		"name":"my_live_stream",

		// A publish point called "details"
		"details":"dummy",

		// A publish point called "iosPP"
		"iosPP":"http://livehttp1.cds1.yospace.com/iphone/yospace01/test_plan_ios/test_plan_ios.m3u8",

		// The parameter values assigned
		"parameters":{
			"input":"mms://mms.in.1.live.yospace.com/stream",
			"param1":"somevalue1",
			"param2":"somevalue2"
		},

		// Is this stream scheduled to run on the Live Stream Transcoder farm?
		"started":"false",

		// Is this stream open via the access server?
		"public":"false",

		// Name of the profile used to create this stream
		"profileName":"1002"
	},

	// The list of errors that occured during this call
	"errors":[]
}

Getting a List of all Live Stream Configurations

The command list will list the available Live Stream Configurations in your account.

Invocation

http://lsm.cds1.yospace.com/lsm/list

Returns

The command will return an array of Live Stream Configurations.