mangui/flashls

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

Open

#356 opened on 2015年8月5日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)ActionScript (745 stars) (260 forks)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.

コントリビューターガイド