
65
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
You use HTTP GET or POST, depending on the endpoint and parameters passed.
Query stream status
Description
Returns stream status.
Endpoint
status
Result
If the .disabled file exists in the streams directory for the respective associated stream, the control plane module returns
"disabled" in the status element for the particular stream. This endpoint returns stream age for each stream (multiple
streams in case of MBR) calculated as
current time in minutes - last modified time
for the bootstrap file.The
up
element indicates whether the stream is up. It is set to
false
if the bootstrap has not been updated in specified
number of seconds (configurable as
MaxBootstrapAge
). The global
up
element is set to true if all bootstrap
up
elements are true, otherwise it is set to false. The endpoint sets the upper level
status
to
disabled
if all streams are
disabled, otherwise it is set to
enabled
.
The
done
element indicates whether the stream is finished.
Sample request
[GET] http://www.example-server.com/ctrlplane/livepkgr/_definst_/livestream.f4m/status
Sample response
This is an example response for an MBR stream in which all streams are disabled:
200 OK
<?xml version="1.0" encoding ="UTF-8"?>
<controlplane-event-status xmlns="http://ns.adobe.com/hds/controlplane/status/1.0">
<manifest-file>
/livepkgr/_definst_/livestream.f4m
</manifest-file>
<status>
disabled
</status>
<up>
false
</up>
<done>
false
</done>
<bootstrap name="livestream2 ">
<up>
false
</up >
<age>
75
</age>
<status>
disabled
</status>