
69
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="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>
<stream name="livestream1">
<status-code>
1
</status-code>
<status-desc>
Command executed successfully.
</status-desc>
</stream>
</controlplane-response>
Enable a stream
Description
Enables a stream (works for both HDS and HLS streams). You send this as an HTTP POST request with the stream
name specified in the body. This request enables a stream and removes the
.disabled
file.
Note:
Streams are enabled by default.
Endpoint
enable
Result
Upon receiving this request, the control plane module deletes any existing
.disabled
file in the streams directories
and returns an XML formatted response indicating success or failure.
If a client subsequently requests the stream, the Apache module (mod_f4fhttp or mod_hlshttp) processes the request.
Sample request
[POST] http://www.example-server.com/ctrlplane/livepkgr/_definst_/livestream.f4m/enable