Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tommyh opened this issue Aug 5, 2015 · 1 comment

Comments

@tommyh
Copy link

tommyh commented Aug 5, 2015

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.

@mangui
Copy link
Owner

mangui commented Aug 17, 2015

@tommyh , that is odd.
default value should be false.
you could also enable hls_debug=true in your test page and check the logs that should be printed by videojs_swf : https://github.com/mangui/video-js-swf/blob/master/src/com/videojs/providers/HLSProvider.as#L384-L397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants