If the TCP-Friendly Rate Control (TFRC) method of congestion control is used,
Debugging is enabled for the profile withDebugOutput set to 1.
TFRC is chosen as the congestion control mechanism by setting the profile's UDPCongestionControlType variable to TFRC.
UDP is used as the transport.
tfrc_SessionID-CSeq_StreamID.txt
For more information: For information about TFRC configuration, refer to "TFRC 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.
Each diagnostic log file contains a header that indicates the current TFRC configuration parameters, as shown in the following example:
RTT IIR Filter: Not Used
Rate Increase Limit Scalar: 1.2500
Following the header, the report records a new entry each time a receiver report arrives:
timestampvalue media_rate
timestampvalue tfrc_rate
timestampvalue actual_rate
timestampvalue recvd_rate
timestampvalue state
timestampvalue num_lost
timestampvalue num_recv
timestampvalue loss
timestampvalue rtt
timestampvalue raw
timestampvalue sq_mean
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 line within a statistics block records a different value:
|
media_rate |
Stream's encoded rate in bits per second. Media rate values within a report will differ if streaming upshifting or downshifting occurred. |
|
tfrc_rate |
Recommended rate based on the TFRC algorithm, in bits per second. |
|
actual_rate |
Average streaming rate for the last second, in bits per second. |
|
recvd_rate |
Rate at which the client received data according to server modeling. |
|
state |
Congestion control state: 0 is slow start, 1 is steady state. |
|
num_lost |
Number of packets lost in the last reporting interval. |
|
num_recv |
Number of packets received in the last reporting interval. |
|
loss |
TFRC loss event ratio. |
|
rtt |
Statistically smoothed RTT. |
|
raw |
RTT-derived sample from the current RTCP receiver report. |
|
sq_mean |
Square root of the smoothed RTT. |
|
loss_type |
Type of loss detected (not currently implemented). |
The following is an example of a TFRC log entry:
3017 12000 media_rate
3017 70000 tfrc_rate
3017 56000.000 actual_rate
3017 73769.231 recvd_rate
3017 0 state
3017 0 num_lost
3017 2 num_recv
3017 0.00071 loss
3017 504.85354 rtt
3017 307.724 raw
3017 22.371 sq_mean
3017 1 loss_type