
71
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Sample response
<?xml version="1.0" encoding="UTF-8"?>
<controlplane-response xmlns="http://ns.adobe.com/hds/controlplane/status/1.0">
<manifest-file>
/livepkgr/_definst_/livestream.f4m
</manifest-file>
<stream name="livestream1">
<status-code>
1
</status-code>
<status-desc>
Command executed successfully.
</status-desc>
</stream>
<stream name="livestream2">
<status-code>
1
</status-code>
<status-desc>
Command executed successfully.
</status-desc>
</stream>
<stream name="livestream3">
<status-code>
1
</status-code>
<status-desc>
Command executed successfully.
</status-desc>
</stream>
</controlplane-response>
Mark a stream as done
Description
Signals that a stream complete. You send this as an HTTP POST request with the stream name specified in the body.
You signal a stream as complete so that the client is notified when content ends. This achieves two things: the control plane
does not activate failover, and client applications can take appropriate action to signal the end of content to the user.
Endpoint
done
Result
Upon receiving this request, the control plane module creates a
.done
file in the associated streams directory and
returns an XML formatted response indicating success or failure.
Sample request
[POST] http://www.example-server.com/ctrlplane/livepkgr/_definst_/livestream.f4m/done
<controlplane-request>
<stream name="livestream1"></stream>
</controlplane-request>