You are here: Configuration File > Server-Side Rate Control Configuration > Rate Control Logs > BCC Debugging Logs

BCC Debugging Logs

If the Binomial Congestion Control (BCC) method of congestion control is used, Helix Mobile Server writes a diagnostic log for each stream in each BCC session. For log files to be generated, the following must all occur:

Debugging is enabled for the profile with DebugOutput set to 1.

BCC is chosen as the congestion control mechanism by setting the profile's UDPCongestionControlType variable to BCC.

UDP is used as the transport.

Helix Mobile Server writes the BCC log to its main installation directory, using a file-naming convention that is similar to the rate manager log convention:

bcc_SessionID-CSeq_StreamID.txt

For more information: For information about BCC configuration, refer to "BCC Configuration".

Note: The debugging logs include a general congestion control log that uses the prefix CC_. The data in this log is redundant with information contained in the other logging files.

BCC Header Information

The diagnostic log contains a header that indicates the current BCC configuration parameters, as shown in the following example:

RTT Filter Algorithm: 0
Increase Coefficient: 512000
Decrease Coefficient : 8
Increase Exponent: 0.5000
Decrease Exponent: 0.5000
Increase Threshold: 0
Decrease Threshold: 5
Lower Limit: 2048
Target Ratio: 4

BCC Log Entries

Following the header, the report records a new entry each time a receiver report arrives:

timestampvalue  send_rate 
timestampvalue media_rate
timestampvalue actual_rate
timestampvalue rtt_filter
timestampvalue rtt_raw
timestampvalue num_recvd
timestampvalue num_lost
timestampvalue inc_coef
timestampvalue loss_type

Each line in a block of statistics begins with the same timestamp, which indicates the number of milliseconds after the session started that the report was generated. Each field within a statistics block records a different value:

send_rate

The transmission rate in bits per second that the server congestion control mechanism suggests.

media_rate

The rate of the media being transmitted in the present stream in bits per second.

actual_rate

Average streaming rate for the last second.

rtt_filter

The smoothed RTT in milliseconds.

rtt_raw

The unfiltered RTT sample from the current client report in milliseconds.

num_recvd

The number of packets received as reported in the current client report. (This value is not cumulative over the duration of the RTSP session.)

num_lost

The number of packets lost as reported in the current client report. (This value is not cumulative over the duration of the RTSP session.)

inc_coef

The dynamically adjusted increase coefficient.

loss_type

Type of loss detected (not currently implemented).

BCC Log Entry Example

The following is an example of a BCC log entry:

2522 40279 send_rate
2522 15000 media_rate
2522 41800.00 actual_rate
2522 10.00000 rtt_filter
2522 10.000 rtt_raw
2522 0 num_recvd
2522 0 num_lost
2522 80558 inc_coef
2522 0 loss_type

 

 


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