
171
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
The following table lists descriptions of the contained elements.
Contained elements
Scope
,
Distribute
,
LifeTime
,
MaxFailures
,
RecoveryTime
,
Proxy
Container element.
The elements nested within this container configure the HTTP Proxy settings.
Contained elements
Host
,
Port
,
Type
,
Tunnel
,
Username
,
Password
PublishTimeout
Specifies how long in milliseconds the server waits to receive a response from a publisher when another client tries to
publish to the same stream.
If a client tries to publish to the same live stream that is being published by another client, Flash Media Server pings
the first publisher and waits to receive a response. If the first publisher fails to respond within the time specified in this
tag, the server allows the second publisher to take over the live stream. The default value is 2000 milliseconds. To
prevent the server from pinging the first client, disable this setting by setting the value of the tag to -1.
This tag replaces the
OverridePublisher
tag.
QualifiedStreamsMapping
Enables mapping of virtual stream paths to different physical locations. This tag is applicable when using the
Authorization plug-in.
When a client requests to play a stream, an
E_FILENAME_TRANSFORM
event occurs in the Authorization plug-in. You
can map the stream differently for each client in the
F_STREAM_PATH
property of your Authorization plug-in code.
For example, suppose client 1 and client 2 both request to play myStream.flv. You can remap the stream to
c:\video1\myStream.flv for client 1 and c:\video2\myStream.flv for client 2.
Value
Description
Scope
Specifies the level at which application instances are assigned to core processes. Scopes have an enclosing
relationship with a strict ordering: adaptors contain virtual hosts, which contain applications, which contain
instances, which contain clients.
Distribute
Specifies how to distribute application instances to processes. The value of the
Distribute
tag must be a scope
that is lower in order than the value in the
Scope
tag (for example, if the value of
Scope
is
adaptor
, the value of
Distribute
can be
vhosts
,
apps
,
insts
, or
clients
). Distribution may be turned off by setting numproc to
0 or 1.
LifeTime
Specifies the lifetime of core processes. Process rollover happens only when the
Scope
element is set to
inst
.
MaxFailures
The value for this element determines the maximum number of core process failures that can occur before a core
process is disabled.
RecoveryTime
Specifies the recovery time for a core.