Commit 38d8dccf authored by Dan Rossi's avatar Dan Rossi
Browse files

- #127 set a configurable scale down factor for the empty buffer rule, default...

- #127 set a configurable scale down factor for the empty buffer rule, default was 0.4 set it to 0.6 to recommend a higher rate to switch back up to.
parent 8c078d39
......@@ -37,11 +37,20 @@ package org.flowplayer.bwcheck.config {
private var _maxUpSwitchesPerStream:int = 3;
private var _waitDurationAfterDownSwitch:int = 30000;
private var _clearFailedCountInterval:Number = 1;
private var _bufferScaleDownFactor:Number = 0.6;
public function reset():void {
_values = new Object();
}
public function get bufferScaleDownFactor():Number {
return _bufferScaleDownFactor;
}
public function set bufferScaleDownFactor(value:Number):void {
_bufferScaleDownFactor = value;
}
public function get minBufferLength():Number {
return _minBufferLength;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment