Videojs: 0.4.1.1: hls_capleveltostage default value appears to be "true", not "false"
#356 创建于 2015年8月5日
描述
While working on #351, @hparra recommended I set hls_capleveltostage=false to fix the issue, which worked! The odd thing is that the documentation says the default value for hls_capleveltostage is false, and a quick scan of the source code says the same thing.
I've made 3 demo pages:
- hls_capleveltostage=default value (ie not set by the client)
- hls_capleveltostage=true
- hls_capleveltostage=false
I see the same behavior for capleveltostage=default and capleveltostage=true. Which from an outsiders perspective makes it feel that the actual default is true. Is there something I'm misunderstanding here? Or is there an issue where the default value in the actionscript code isn't actually getting picked up and the default value actually is true?
Note: when I say "same behavior" for the demo page, notice which level takes the stage. for capleveltostage=true/default you get the 64k-audio, but for the capleveltostage=false you get the 2040K-video.