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

Automatic stream quality selection in JW6 (vs. JW5)


Hi, I'm upgrading our app from JW5 to JW6 (Can't go to JW7 as we need IE7 & 8 support).

I can play videos fine, however it only plays the default stream quality, rather than automatically adapting to the best the user can manage (like it used to correctly for us in JW5), and the new 'HD' button does not include "Auto" as an option like I see in several live demos here.

I don't have a live code sample available for you to debug unfortunately (this is part of a large, paywalled app), but in setup() we used this for JW5:

levels: [
{
bitrate: 1200,
file: videoUrl.high
},
{
bitrate: 900,
file: videoUrl.med
},
{
bitrate: 600,
file: videoUrl.low
}]

Where 'videoURL' is an object of our mp4 urls (unchanged from JW5's usage). For JW6 I've changed that to be:

sources: [
{
bitrate: 600,
label: 'low',
file: videoUrl.low
},
{
bitrate: 900,
label: 'medium',
file: videoUrl.med,
'default': true // In quotes because 'default' is a JS reserved word
},
{
bitrate: 1200,
label: 'high',
file: videoUrl.high
}]

*What else do I need to be doing to enable automatic stream selection?*

(Apologies if this is answered in another question, I promise I searched. Also, the guide to migrating from JW5 to JW6 that's linked in many answers no longer appears to be available: http://support.jwplayer.com/customer/portal/articles/1404037-migrating-from-jw5-to-jw6)

1 Community Answers

Heidi

JW Player Support Agent  
1 rated :

Please take a look here and see if this helps: http://web.archive.org/web/20140604003534/http://support.jwplayer.com/customer/portal/articles/1404037-migrating-from-jw5-to-jw6

This question has received the maximum number of answers.