
214
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
MaxUnitSize
Located in the
MessageCache
,
SmallMemPool
,
LargeMemPool
, and
SegmentsPool
containers.
Specifies the maximum size, in kilobytes, of a memory chunk allowed in a memory pool. The default size is 16 KB.
Flash Media Server has several memory pools (distinct from the recorded media cache) that hold memory in chunks.
This setting ensures that chunks larger than
MaxUnitSize
are released to system memory instead of being held in the
pool so that large memory chunks are available.
For example, if this tag is under the
MessageCache
tag, the server doesn’t cache any messages greater than
MaxUnitSize
.
Example
<MessageCache>
<MaxUnitSize>16</MaxUnitSize>
</MessageCache>
MaxUrlLength
Defines the maximum allowed RTMP and SWF file URL lengths, in bytes. Most modern browsers support up to 64KB
URLs. The default value is 32KB. The maximum allowable value is 1000KB.
Use this element to restrict the URL lengths of incoming requests. To restrict the length of outbound NetConnection
URLs from SSAS, use the
MaxUrlLength
element in the Application.xml file.
Example
<MaxUrlLength>65536</MaxUrlLength>
See also
Security
MaxVideoSampleDescriptions
Located in the
Recording
container.
Each change in codec for a content type has a sample description. For example, two different video codecs each have
their own sample description. The server allocates space for sample descriptions when it creates a file. If the codec type
changes more than the number of available descriptions, the server stops recording. However, adding too many
descriptions takes up unnecessary space for every file that the records. The default value is 10.
Note:
This setting applies to recording MP4/F4V files only.
MessageCache
Container element.
The elements nested within the
MessageCache
container control how the message cache holds onto messages used by
the system running Flash Media Server and keeps them in memory for reuse instead of returning them and requesting
them from the operating system.
Messages are the essential communication units of Flash Media Server. Recycling them improves the server’s
performance.