Adobe Flash Media Server

HTTPTunnel

Container element.

The elements nested within this container configure the parameters for HTTP tunneling (sending RTMP packets through HTTP).

The tunneling protocol is based on the client continuously polling the server. The frequency of polling affects both network performance and the efficiency of the HTTP protocol. The IdleAckInterval and IdlePostInterval elements control the polling frequency on a per-client basis. Selecting too small a delay value for the above parameters will increase the polling frequency and reduce the network performance and efficiency. Selecting too high values can adversely affect the interactivity of the application and the server.

The Application.xml configuration file offers three representative settings for these parameters. These settings recommend that you set the intervals to correspond to low, medium, or high latency.

The following table presents these settings.

Acceptable Latency

IdlePostInterval

IdleAckInterval

Low

128 milliseconds

256 milliseconds

Medium

512 milliseconds

512 milliseconds

High

1024 milliseconds

2048 milliseconds

Example

<HTTPTunnel>
    <IdlePortInterval>512</IdlePostInterval>
    <IdleAckInterval>512</IdleAckInterval>
    <MimeType>application/x-fcs</MimeType>
    <WriteBufferSize>16</WritebufferSize>
</HTTPTunnel>

Contained element

IdlePostInterval, IdleAckInterval, MimeType, WriteBufferSize

 

Send me an e-mail when comments are added to this page | Comment Report