
142
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
To configure the closing of idle connections, you must enable the feature in the Server.xml file. Once you enable the
feature in the Server.xml file, you can disable the feature for individual virtual hosts in the Vhost.xml files or for
individual applications in Application.xml. The values defined in the Vhost.xml configuration file apply to all clients
connected to the Vhost, unless values are defined in the Application.xml file. The Application.xml values override the
Vhost.xml values. (Subsequently, the values defined in the Server.xml configuration file apply to all clients connected
to the server, unless the values are defined in the Vhost.xml file. The Vhost.xml values override the Server.xml values.
Example
<AutoCloseIdleClients enable="false">
<CheckInterval>60</CheckInterval>
<MaxIdleTime>600</MaxIdleTime>
</AutoCloseIdleClients>
AudioSampleAccess
Allows the client application to access the raw uncompressed audio data in a stream. By default, this element is
disabled. To enable it, set the enable attribute to
true
. In the tag, specify a list of semicolon-delimited folders to which
client applications have access. When this element is enabled, all clients can access the audio data in streams in the
specified folders. To enable access to all audio data streamed by the server, specify / in the tag.
The folder path is restricted to the application’s streams folder or folders, so do not use absolute paths in the list of
folders.
While you can also enable access through Server-Side ActionScript, this element allows access to the data without
requiring Server-Side ActionScript. You can also override this element with the Access plug-in or Server-Side
ActionScript.
Example
If an application is configured to store streams in folders
C:\low_quality
and
C:\high_quality
, the configuration
to allow access to sample those streams is as follows:
<AudioSampleAccess enabled="true">low_quality;high_quality</AudioSampleAccess>
See also
VideoSampleAccess
AutoCommit
Specifies whether shared objects are automatically committed when they have been changed. Setting this element to
false
disables Flash Player function for all shared objects within this instance.
Note:
If the
AutoCommit
function is disabled, the server-side script has to call the
save
function or the
SharedObject.commit
command for the shared object to persist; otherwise, all data will be lost when the application is
shut down.
Example
<AutoCommit>true</AutoCommit>
See also
StorageDir
,
DuplicateDir
,
ResyncDepth
,
LockTimeout
,
MaxProperties
,
MaxPropertySize