Commit d9835061 authored by Dan Rossi's avatar Dan Rossi
Browse files

#47 regression with 417 disable screen checks with the qos screen property.

parent 91b04d02
......@@ -4,6 +4,7 @@ Version history:
------
- #6 cache control headers don't work on chrome windows, just use the cache busting url param.
- #47 close the connection or else wowza dispatches two bwcheck events.
- #47 regression with 417 disable screen checks with the qos screen property.
3.2.10
------
......
......@@ -45,10 +45,6 @@ public class BWStreamSelectionManager extends StreamSelectionManager {
}
override public function getStreamIndex(bandwidth:Number):Number {
//#417 if screen size rule is disabled do not do screen size checks for the index.
if (!_config.qos.screen) return super.getStreamIndex(bandwidth);
for (var i:Number = streamItems.length - 1; i >= 0; i--) {
var item:BitrateItem = streamItems[i];
......@@ -71,7 +67,8 @@ public class BWStreamSelectionManager extends StreamSelectionManager {
}
internal static function fitsScreen(item:BitrateItem, player:Flowplayer, config:Config):Boolean {
if (! item.width) return true;
//#47 regression with 417 disable screen checks with the qos screen property
if (! item.width || !config.qos.screen) return true;
var screen:DisplayProperties = player.screen;
var stage:Stage = screen.getDisplayObject().stage;
......
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