You are here: Helix Administrator > Broadcast Distribution > Splitting Basics > Error Correction and Receiver Buffering

Error Correction and Receiver Buffering

When you use push or pull splitting, setting a low forward error correction rate (FEC) may cause error correction packets to arrive after the receiver has transmitted the contents of its data buffer to its connected clients. When this happens, the error correction packets are useless. This problem is most likely to occur with low-bandwidth RealVideo streams when your splitting arrangement uses an error correction rate between 1 and 20.

Recommended Receiver Buffering Times for RealVideo

To ensure that error correction packets reach the receiver before it streams its buffer to clients, you can increase the time that the receiver buffers data. The following table provides some minimum receiver buffering times when splitting RealVideo streams. For example, if you split a 34 Kbps RealVideo stream using an error correction rate of 5, set a receiver buffering time of at least six seconds. The default receiver buffering time for push or pull splitting is one second.

Minimum Receiver Buffering Times for RealVideo

Speed

FEC=20

FEC=15

FEC=10

FEC=5

FEC=1

34 Kbps

2 seconds

2 seconds

3 seconds

6 seconds

30 seconds

80 Kbps

1 second

1 second

2 seconds

3 seconds

13 seconds

150 Kbps

1 second

1 second

2 second

3 seconds

11 seconds

225 Kbps

1 second

1 second

1 second

2 seconds

8 seconds

350 Kbps

1 second

1 second

1 second

2 seconds

7 seconds

450 Kbps

1 second

1 second

1 second

1 second

5 seconds

 

Formats Other than RealVideo

The preceding values are for RealVideo only. Other video formats may have different packet sizes, and hence may require different receiver buffering times.

Default Buffering is One Second

Because the default buffering value for push and pull splitting is one second, it is not necessary to modify your configuration file unless you need to set a higher value.

No Increase on Buffering Time for Audio-only

Audio packets are much smaller than video packets, so when you stream audio-only clips, you generally do not need to increase the buffering time on the receiver when using a low error correction rate.

High Buffering Times

The buffering times given in the preceding table are minimum values. You can always set a higher buffering time. However, higher buffering times may delay initial playback unnecessarily when a media player requests a stream.

Error Correction Rate Settings

For push splitting, you set the error correction rate on the transmitter, as described in "Defining a Push Transmitter".

For pull splitting, you set the error correction rate on the receiver as described in "Enabling Pull Splitting Requests".

You set the receiver buffering time manually through the receiver configuration file.

Setting Receiver Buffering Variables

To make the receiver buffer the split stream longer than one second, edit the receiver's configuration file with any text editor. You need to add one or two variables depending on whether you use push splitting, pull splitting, or both. The variables are not predefined, and you add them within the Receivers list, which falls under the BroadcastReceivers list.

For push splitting, add <Var PushBufferingTime="milliseconds"> to the list. For pull splitting, add <Var PullBufferingTime="milliseconds">. Each variable's value is an integer that specifies the number of milliseconds of buffering. It is easiest to add one or both variables below the error correction variable. For example:

<Var FECLevel="10"/>
<Var PushBufferingTime="2000">
<Var PullBufferingTime="3000">

Note: Although you set the buffering times for both push and pull splitting within the receiver list, the FECLevel variable in this list sets the forward error correction only for pull splitting. For push splitting, the error correction rate is set through the FECLevel variable in the transmitter list on the Helix Mobile Server used as the transmitter.

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com