
25
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Even when you configure the server and application to use aggregate messages, the following circumstances will
prevent them from being delivered:
•
The client’s Flash Player version is earlier than 9.0.60.0.
•
The stream is set to filter audio, filter video, or control FPS.
•
The stream requires transcoding.
If any of these conditions are present, Flash Media Server breaks the aggregated message into its submessages, and the
messages are delivered individually.
StreamManager/Live/Queue/MaxQu
eueDelay
Application.xml
Defines the maximum time (in milliseconds) that the live
queue delays messages before the messages are transmitted.
This setting can be used to ensure that unacceptable
amounts of latency are not introduced into the publishing
stream.
Increasing the delay allows for larger aggregates to be
created, which increases the efficiency of the server.
Decreasing the delay reduces latency but is less efficient.
StreamManager/Live/Queue/Aggre
gateMessages
Application.xml
Determines whether or not aggregate messages are
generated when the queue is flushed.
When this setting is enabled, the messages in the queue are
grouped together as aggregates to improve the efficiency of
transmission.
It is possible to enable queing and disable the generation of
aggregate messages, but this does not result in performance
benefits.
The default value is “true”.
StreamManager/Live/Queue/Aggre
gateMessages/MaxAggMsgSize
Application.xml
Defines the maximum size of an aggregate message that the
server creates. The server can create smaller aggregates, as
necessary.
The server cannot create messages that are larger than the
MaxQueueSize
, so this number is generally set to
something less than or equal to the configured size of the
queue.
Proxy/AggregateMessages
Vhost.xml
Determines whether aggregate messages are delivered from
the edge cache when a vhost is configured as an edge proxy.
The default value is "false".
If the edge server receives aggregate messages from the
origin when this setting is disabled, the messages are broken
up before being cached.
Proxy/AggregateMessages/MaxAgg
MsgSize
Vhost.xml
Determines the size (in bytes) of aggregate messages
returned from the edge cache when aggregate messages are
enabled.
This setting only applies to messages retrieved from the disk
cache. Aggregate messages received directy from the origin
server are returned as-is, and therefore their size is
determined by the origin server's settings for aggregate
message size.
Element
Configuration file
Description