mangui/HLSprovider — pull request #219 by fixedmachine (2014-06-13 05:30:57+00:00)
Title: Fix and improve caping max level to player stage dimensions

- now the stage dimensions are properly detected through stageWidth & stageHeight properties
- capping is now based on two dimensions width and height
- if the stage size was changed during the playback the autoswitching will now consider new max_level value to switch up or switch down the stream level (no matter if the bandwidth was changed)
- the autoswitching mechanisms are runed only if the stream has more than 1 level

related to #165

Conflicts:
src/org/mangui/HLS/streaming/AutoLevelManager.as
(dimensions of stage and levels could be Numbers so it's not a good practice to make them int)