
24
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Element
Configuration file
Description
Streams/EnableAggMsgs
Server.xml
Enables the creation of aggregate messages in the FLV
module. When this setting is “true”, the FLV module returns
aggregate messages when loading segment data. When this
setting is “false”, the FLV module returns regular audio, video,
and data messages.
The default value is “true”.
Streams/MaxAggMsgSize
Server.xml
Determines the maximum size (in bytes) of aggregate
messages returned from the FLV module (when they are
enabled). The actual message size returned by the module
might be slightly larger because the module will not
fragment individual messages, but instead includes whole
messages until this size is exceeded.
The default value is 65536.
Note that there is a limitation in using this element. In the
case of files with very low bitrates ( audio only files), it will
take an enormous amount of time to compose an aggregate
message. As a workaround, use the
MaxAggMsgDuration
to
fine tune the aggregate messages.
Streams/MaxAggMsgDuration
(Server.xml)
Proxy/MaxAggMsgDuration
(Vhost.xml)
StreamManager/Live/Queue/MaxAg
gMsgDuration
(Application.xml)
Multiple files
Determines the maximum duration of the aggregate
message (controlled by the stream timeline).
For instance, if an aggregate message is configured to be 64K
long, but the
MaxAggMsgDuration
is set to 3 seconds, even
if only 4k data is accumulated after 3 seconds, still a new
aggregate message will be created out of the data and the
aggregate message will be delivered to the client for
processing.
The
MaxAggMsgDuration
element enables you to have a
complete control in configuring the aggregate messages.
Client/AggregateMessages
Application.xml
Enables the delivery of aggregate messages to clients that
support them. When this setting is disabled, the server breaks
up aggregate messages into individual messages before
delivering them to clients.
The default value is “true”.
StreamManager/Live/Queue
Application.xml
Queues incoming messages that are published to live
streams. This is so that the server can create aggregate
messages before transmission to subscribing clients. If
queueing is not enabled, aggregate messages are not
created.
The default value is “true”.
StreamManager/Live/Queue/MaxQu
eueSize
Application.xml
Defines the maximum size (in bytes) that the live queue can
grow to before the messages it contains are transmitted.
Increasing the size of the queue allows for larger aggregates
to be created, which increases the efficiency of the server, but
introduces latency in the transmission. Decreasing the queue
size reduces latency but is less efficient.