mangui/flashls

Videojs: 0.4.1.1: hls_capleveltostage default value appears to be "true", not "false"

Open

#356 创建于 2015年8月5日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)ActionScript (745 star) (260 fork)batch import
help wantedvideoJS

描述

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:

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.

贡献者指南