The Application.xml file contains the settings for Flash Media Server applications. These settings include the size of the Server-Side Media ActionScript runtime engine, the location at which streams and shared objects are stored, and bandwidth limitations.
The Application.xml file in the virtual host directory configures the default settings for all applications within the virtual host. If you want to have different settings for a particular application, copy an Application.xml file to the application's registered application directory (/applications/app_name) and edit it to include the settings you want.
In most cases, the settings in the Application.xml file in the application directory override settings in the Application.xml file in the virtual host directory, but not always. You can add an override attribute to certain elements in a virtual host's Application.xml file, as in the following:
<LoadOnStartup override="no">false</LoadOnStartup>
The server uses the following rules when applying the override attribute:
To see the element structure and default values in Application.xml, see the Application.xml file installed with Flash Media Server in the RootInstall/conf/_defaultRoot_/_defaultVhost_ directory.
|
Application.xml element |
Description |
|---|---|
|
Container element; contains element that controls the permission levels in the Module (the libconnect.dll file). |
|
|
Container element; contains elements that configure intermediate frames in a live stream. |
|
|
Specifies whether or not to send aggregate messages to clients. |
|
|
Container element; contains elements that control the size of the aggregate messages. This element also specifies, when queuing is enabled, if messages in the queue can be combined to form aggregate messages. |
|
|
Allows or disallows the "following and Location:" header added with HTTP redirection. |
|
|
Specifies the default value for allowing debug connections per application. |
|
|
Configures Flash Media Server to allow tunneling connections into this application. |
|
|
Root element; this element contains all elements in Application.xml. |
|
|
Container element; contains elements to configure the audio stream settings. |
|
|
Enables access to the raw uncompressed audio data in a stream. |
|
|
Enables or disables the Shared Object Manager to automatically commit shared objects. |
|
|
Container element; contains elements to configure the bandwidth settings for server-client communications. |
|
|
Container element; contains elements that specify the maximum bandwidth values that a user can set. |
|
|
Container element; contains elements that specify how data is sent to the client. |
|
|
Contains the settings for different versions of Flash Player on the Windows and Macintosh platforms. |
|
|
Specifies the ratio of the buffer length used by server-side stream to live buffer. |
|
|
Container element; contains elements that configure the cache setting for SWF verification. |
|
|
Specifies the cache prefix that is passed from the origin server to the edge server. |
|
|
Specifies the interval for updating cache streaming in the edge server. |
|
|
Container element; contains elements to configure the client. |
|
|
Container element; specifies the bandwidth settings for client-to-server communications. |
|
|
Container element; specifies the bandwidth settings for client-to-server communications that can be set by the user. |
|
|
Container element; contains elements to configure how to use sound sampling. |
|
|
Container element; contains elements to configure settings for HTTP connections. |
|
|
Specifies the amount of data the server sends to the client. |
|
|
Container element; contains elements that configure debug connections. |
|
|
Specifies how to distribute application instances to processes. |
|
|
Specifies a backup location for shared objects and recorded stream files. |
|
|
Specifies the wait time before the server notifies clients when audio stops in a stream. |
|
|
Enables the fine-tuning of the seeking performance within streams by creating a key frame. |
|
|
Specifies user agents to except from authentication. |
|
|
Container element; contains element with file object setting. |
|
|
Specifies whether the server flushes the message queue when a data message arrives. |
|
|
Configures folder-level permissions for the readAccess and writeAccess functions in the Access Module. |
|
|
Specifies the upper limit to begin sound sampling. |
|
|
Specifies the HTTP proxy to use. |
|
|
Container element; contains elements to configure the HTTP connections for this application. |
|
|
Allows or disallows use of the HTTP 1.0 protocol. |
|
|
Container element; contains elements to configure HTTP tunneling. |
|
|
Specifies the wait time before the server responds to an idle post sent to it. |
|
|
Specifies the wait time before Flash Player sends an idle post message to the server. |
|
|
Specifies the name to use as the outgoing network interface. |
|
|
Specifies the interval for sending silence messages when no audio is being published to a live stream. |
|
|
Container element; contains the elements in this section that configure the JavaScript engine. |
|
|
Specifies the time interval for saving keyframes in a FLV file. |
|
|
Specifies the lifetime of stateless core processes. |
|
|
Container element; contains elements that specify the configuration of intermediate frames in a live stream. |
|
|
Container element; contains elements that specify the configuration of live audio. |
|
|
Specifies whether or not to load this application when the server starts. |
|
|
Specifies the time-out value before unlocking a shared object file. |
|
|
Specifies the lower limit to halt sound sampling. |
|
|
Specifies the maximum number of HTTP redirections allowed. |
|
|
Specifies the maximum size in bytes of the aggregate messages created from the message queue, when aggregate messages are enabled. |
|
|
Specifies the maximum time an application instance can be idle. |
|
|
Specifies that live audio should be dropped after a set amount of time. |
|
|
Specifies default buffer length for live audio and video. |
|
|
Specifies the maximum number of core processes for an application. |
|
|
Specifies the maximum number of failures for a core process. |
|
|
Specifies the maximum number of times that the server will skip garbage collection (GC) when the JS engine is busy. |
|
|
Specifies the maximum size of messages for screen-sharing packets. |
|
|
Specifies the maximum number of pending debug connections. allowed. |
|
|
The maximum number of properties that can be set per shared object. |
|
|
The maximum size in bytes for each property of a shared object. |
|
|
Specifies how often the server will flush the message queue, in milliseconds. |
|
|
Specifies how often the server will flush the message queue, in bytes. |
|
|
Specifies the maximum rate at which the server sends data to the client. |
|
|
Specifies the maximum number of samples that can be combined into a message. |
|
|
Specifies the maximum size of intermediate frames a live stream can hold in the buffer. |
|
|
Specifies that a GC should be forced if the stream list grows over set value. |
|
|
Specifies the maximum duration of intermediate frames a live stream can hold in the buffer. |
|
|
Container element; specifies the maximum time for a transfer to be completed. |
|
|
Container element; specifies the maximum time a script can take to execute a Java server function. |
|
|
Specifies the amount of data that can be received from the XML server before XMLSocket closes the connection. |
|
|
Specifies how long, in seconds, the server waits before sending data to the client. |
|
|
Specifies the default MIME-type header sent on tunnel responses. |
|
|
Specifies the default buffer length for the live audio and video queue. |
|
|
Specifies the default buffer length for audio and video. |
|
|
Specifies the minimum accepted version of SWF verification allowed by the server. |
|
|
Container element; contains elements that configure live and recorded audio. |
|
|
Container element; specifies object encoding to use for SSAS NetConnection. |
|
|
Specifies whether the server is notified when an audio transmission ending on a stream is encountered. |
|
|
Specifies default object encoding to use for SSAS NetConnection. |
|
|
Specifies the RTMP chunk size to use in all streams for this application. |
|
|
Deprecated; see PublishTimeout. |
|
|
Specifies the password for connections to the edge. |
|
|
Specifies the proxy port to connect to if not specified. |
|
|
Specifies whether outgoing messages are prioritized by message type when sending across server-to-server connection. |
|
|
Container element; contains elements to configure the process and recovery settings for applications. |
|
|
Container element; contains elements to configure the HTTP proxy. |
|
|
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. |
|
|
Container element; configures the settings of the message queue. |
|
|
Container element; specifies aspects of buffer length. |
|
|
Specifies the recovery time for a core. |
|
|
Container element; contains elements to configure HTTP redirection. |
|
|
Specifies the resyncing interval for shared object files. |
|
|
Specifies whether or not to close the HTTP connection after each transfer. |
|
|
Specifies the time length a core process is in use. |
|
|
Specifies the maximum size for the script engine. |
|
|
Specifies the process scope in which the application runs. |
|
|
Contains a list of paths the Java Server engine can search to resolve a script file. |
|
|
Specifies if an onMetaData message is sent at the beginning of the video file for all commands. |
|
|
Specifies if the status message NetStream.Play.Start is sent for all commands. |
|
|
Container element; contains elements to configure the sending of silence messages. |
|
|
Container element; contains element that specifies the ratio of the buffer length used by server-side stream to live buffer. |
|
|
Specifies the bandwidth settings for server-to-client communications. |
|
|
Specifies the maximum bandwidth a user can set for data sent from the server to the client. |
|
|
Container element; contains elements to configure the Shared Object Manager of an application. |
|
|
Specifies the locations where recorded streams and shared objects are stored. |
|
|
Container element; contains the Stream Manager settings for the application. |
|
|
Specifies a base number of subscribers required before implementing sound sampling. |
|
|
Specifies a single folder or a list of folders containing copies of client SWF files that can be verified for connecting to the application. |
|
|
Container element; contains elements that specify how a SWF file connecting to an application is verified. |
|
|
Controls the maximum number of concurrent boundary requests per recorded stream. |
|
|
Controls the interval at which the server displays the throttle queue length. |
|
|
Controls the interval at which the server displays the throttle queue length. |
|
|
Specifies whether or not to tunnel all operations through a given HTTP proxy. |
|
|
Specifies in minutes how long each SWF file remains in the cache. The default value is 1440 minutes (24 hours). |
|
|
Specifies the type of proxy being connected to. |
|
|
Allows or disallows sending the user name/password with each HTTP redirection. |
|
|
Specifies the maximum time in minutes to wait for the server to scan the SWF folders for updates when there is a miss in the cache. |
|
|
Specifies the version dependency settings for clients that use different versions of Flash Player on different platforms. |
|
|
Container element; contains element that specifies exceptions to SWF verification. |
|
|
Specifies the user name for connections to the proxy. |
|
|
Enables or disables the use of verbose information during HTTP operations. |
|
|
Enables access to the raw uncompressed video data in a stream. |
|
|
Specifies virtual directory mappings for Server-Side ActionScript File objects and video files. |
|
|
Specifies the size of the write buffer. |
|
|
Container element; contains element that specifies the amount of data XMLSocket accepts from XML server before closing the connection. |
Send me an e-mail when comments are added to this page | Comment Report