
157
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
Note:
The properties you define are accessible from
application.config.property
, not from
application.property
.
Contained elements
RuntimeSize
,
MaxGCSkipCount
,
MaxTimeOut (JSEngine and ScriptEngine)
,
ScriptLibPath
,
FileObject
,
XMLSocket
,
NetConnection (ScriptEngine)
KeyFrameInterval
This element defines how often to generate and save keyframes in an FLV file.
The initial value is 60000, which is the recommended value. However, if this tag is unspecified or set to a value out of
range, the server uses a default value of 1000. Setting this element to a higher value than the initial value reduces the
number of keyframes added to the FLV file and thus reduces the file size. Setting a higher value for the interval,
however, reduces the seeking accuracy. The value of this element is defined in milliseconds.
For example, a 15-second video with a file size of 76 KB is increased only to 89 KB when the
KeyFrameInterval
element is set to 5000, which is an increase of 13 KB, or 17%. The same video has a size of 109 KB with the
KeyFrameInterval
element set to 1000, which is an increase of 33 KB, or 43%.
Note:
Be aware of the correlation between file size and accuracy of seeking when you set this value.
Example
<KeyFrameInterval>1000</KeyFrameInterval>
See also
StorageDir
,
DuplicateDir
,
CacheUpdateInterval
LifeTime
Container element.
This element determines the lifetime of core processes. To roll over such processes, set this element to a nonzero value.
Process rollover happens only when the
Scope
element is set to
inst
.
Contained elements
MaxCores
,
RollOver
Live (StreamManager)
Container element.
The elements nested within this container configure the intermediate frames in a live stream and the message queue,
and the amount of time the server waits before allowing another publisher to take over a live stream.
Contained elements
AccumulatedIFrames
,
Queue
,
PublishTimeout
,
StartClockOnPublish
,
MaxLatency
,
EraseOnPublish
,
AssumeAbsoluteTime