
68
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
If a client subsequently requests the stream, the Apache module (mod_f4fhttp or mod_hlshttp) checks for the
existence of a
.disabled
file before processing the request. If a
.disabled
file exists, the module returns a 503 error
(configurable in httpd.conf).
Sample request
[POST] http://www.example-server.com/ctrlplane/livepkgr/_definst_/livestream.f4m/disable
<controlplane-request>
<stream> livestream2</stream>
</controlplane-request>
Sample response
<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>
</controlplane-response>
Enable an event
Description
Enables all streams for an event (works for both HDS and HLS streams). You send this as an HTTP POST request with
no body.
Endpoint
enable
Result
Upon receiving this request, the control plane module deletes any existing
.disabled
files in all streams directories
(multiple streams directories for an MBR stream) and returns an XML formatted response indicating success or failure
for each stream.
If a client subsequently requests streams for the event, 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