Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Improve HLS


Add configuration parameters for HLS, currently it only buffers one segment & this can be a issue with users who has slow speed and need some buffering to make sure they keep watching the video and not pause every few minutes.

Even opensource plugin for jw6, has this included.

I need this parameter in jw6 by default, because we want to use AD version and opensource plugin cant work it.

bc.. hls_minbufferlength (default 3s) : set minimum buffer length before playback can start

hls_maxbufferlength (default 60s) : set maximum buffer length (0 means infinite buffering)

hls_startfromlowestlevel (true/default false) : if set to true, playback will start from lowest non-audio level. if set to false, playback will start from level matching download bandwidth.

23 Community Answers

Ethan Feldman

JW Player Support Agent  
-1 rated :

These are variables that should not really be exposed to most end users.

JW Player

User  
1 rated :

why hls_maxbufferlength can't be exposed ?

lets say you dont expose, but atleast put some kind of inbuilt buffering in terms of % that way users with slow connection can pause and let some buffering available before they can play it

lets say a video with runtime of 20min , put a internal inbuilt variable to buffer 20% i.e. 4min of video can be buffered & maybe you can put in a inbuilt variable of min 2min buffer

if some jwplayer users want to use the above, just put a config option like

hls_allowbuffer true;

even youtube allows buffering, not sure if they use hls or hds or dash, but they do have their own type of segmenting where they buffer some segments

Ethan Feldman

JW Player Support Agent  
-1 rated :

I can ask about adding / exposing it.

JW Player

User  
1 rated :

So, any plans to add it ? if not, what was the reason given ?

Ethan Feldman

JW Player Support Agent  
-2 rated :

We are discussing here.

JW Player

User  
0 rated :

Any outcome of the discussion or still not decided ?

Ethan Feldman

JW Player Support Agent  
-1 rated :

Not yet, sorry.

JW Player

User  
0 rated :

Ethan, how is the discussion going ?

Ethan Feldman

JW Player Support Agent  
0 rated :

Still making the rounds here.

JW Player

User  
0 rated :

What's the bone of contention ? Implementation or something else.

Ethan Feldman

JW Player Support Agent  
-1 rated :

We have to decide if we want to expose all of these. Implementation is not difficult.

JW Player

User  
0 rated :

What bad could happen, if such parameters are exposed ?

Ethan Feldman

JW Player Support Agent  
-1 rated :

Users could potentially have different configurations that we don’t necessarily want to support.

JW Player

User  
1 rated :

adding hls_maxbufferlength parameter, wouldn't really increase any work for support

lets ignore other options, for the sake of support ;)

Ethan Feldman

JW Player Support Agent  
-1 rated :

Yes, that one would be indeed good to add.

JW Player

User  
0 rated :

Did the discussion materialize into anything ?

I hope hls_maxbufferlength does get added in 6.9.

Ethan Feldman

JW Player Support Agent  
-1 rated :

Nothing yet.

j...

User  
0 rated :

I would add to the cacophony of voices calling for this feature. Pretty please.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, I will mention this during out next meeting.

c...

User  
0 rated :

Any progress ?

Ethan Feldman

JW Player Support Agent  
-2 rated :

Not yet, sorry.

coolnikin

User  
0 rated :

Any luck ?

coolnikin

User  
2 rated :

I give up, am going with hlsprovider which is being developed at a good pace and developer actually listens to end users.

This question has received the maximum number of answers.