new RembParams()
Defines values for parameters of congestion control
Properties:
Name | Type | Description |
---|---|---|
packetsRecvIntervalTop |
external:Integer | Size of the RTP packets history to smooth fraction-lost. Units: num of packets |
exponentialFactor |
external:Number | Factor used to increase exponentially the next REMB when it is below the threshold. REMB[i+1] = REMB[i] * (1 + exponentialFactor) |
linealFactorMin |
external:Integer | Set the min of the factor used to increase linearly the next REMB when it is Units: bps (bits per second). REMB[i+1] = REMB[i] + MIN (linealFactorMin, linealFactor) |
linealFactorGrade |
external:Number | Determine the value of the next linearFactor based on the threshold and the current REMB. Taking into account that the frequency of updating is 500ms, the default value makes that the last REMB is reached in 60secs. linealFactor = (REMB - TH) / linealFactorGrade |
decrementFactor |
external:Number | Determine how much is decreased the current REMB when too losses are detected. REMB[i+1] = REMB[i] * decrementFactor |
thresholdFactor |
external:Number | Determine the next threshold (TH) when too losses are detected. TH[i+1] = REMB[i] * thresholdFactor |
upLosses |
external:Integer | Max fraction-lost to no determine too losses. This value is the denominator of the fraction N/256, so the default value is about 4% of losses (12/256) |
rembOnConnect |
external:Integer | REMB propagated upstream when video sending is started in a new connected endpoint. Unit: bps(bits per second) |