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

Akamai single stream with multiple levels


Hi,

Rather than using Akamai's multi bitrate i'm trying to just give the users a choice of "HD" and "non-HD". If i have a single file playlist or a single file it works fine:

bc.. jwplayer('videoPlayer').setup({
id: 'videoPlayer',
playlist:[{
file: 'http://sympoz-vh.akamaihd.net/z/650-high.mp4/manifest.f4m',
provider: 'http://players.edgesuite.net/flash/plugins/jw/v2.11/jw6/AkamaiAdvancedJWStreamProvider.swf',
type:'mp4'
}],
primary: 'flash'
});



When i try to use levels instead i get "No suitable players found and fallback enabled".

bc.. jwplayer('videoPlayer').setup({
id: 'videoPlayer',
playlist:[{
levels: [
{ bitrate: 300, file: "http://sympoz-vh.akamaihd.net/z/650-low.mp4/manifest.f4m" },
{ bitrate: 900, file: "http://sympoz-vh.akamaihd.net/z/650-high.mp4/manifest.f4m" }
],
provider: 'http://players.edgesuite.net/flash/plugins/jw/v2.11/jw6/AkamaiAdvancedJWStreamProvider.swf',
type:'mp4'
}],
primary: 'flash',



i believe i also tried moving the provider code inside of each level but that gave me the same result. I've also added width to the level but doesn't seem to change anything. i'm definitely doing something wrong. This is all in my testing environment so i can't link out right now but can look into pushing it out if necessary.

thanks
bret

8 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You would use sources, not levels.

JW Player

User  
0 rated :

Hi Ethan, Thanks for the response! This doesn't seem to be working with sources and akamai. I've got three example files (i'm not using the built in quality switcher because in my application we have custom controls - maybe a skin is more appropriate but that's a different discussion).

1) using sources but not using akamai works great:
http://project-buggles.s3.amazonaws.com/sources.html

2) using akamai for a single stream works great:
http://project-buggles.s3.amazonaws.com/akamai.html

3) using akamai with sources gives me a "403 forbidden" on the same url that just worked in the above example:
http://project-buggles.s3.amazonaws.com/sourcesAkamai.html

Any advice is welcome.

thanks!
bret

Ethan Feldman

JW Player Support Agent  
0 rated :

Well, if I go to – http://sympoz-vh.akamaihd.net/z/650-low.mp4/manifest.f4m

In my browser, I get this?

Access Denied
You don’t have permission to access “http://sympoz-vh.akamaihd.net/z/650-low.mp4/manifest.f4m” on this server.

Reference #18.8fc88f18.1360947722.4b40dec

JW Player

User  
0 rated :

Right, but if you look at the akama.html page it's loading the same f4m URL but it works there?? Maybe the akamai plugin doesn't work with sources inside of playlists? It definitely works with just playlists.

Ethan Feldman

JW Player Support Agent  
0 rated :

I think this issue is a player issue where a fallback from hds to m3u8 won’t work. We can look into this.

JeroenW

JW Player Support Agent  
0 rated :

Unfortunately, the Akamai provider cannot yet support multiple bitrates. Akamai is working on an update to build the HD menu functionality inside their provider though. When ready, this should add the functionality you need without requiring you to setup multiple F4M links (which also won’t work unfortunately – only 1 akamai stream per playlist item is supported).

JW Player

User  
0 rated :

Hi Guys - thanks for the information. Hopefully this is soon, i have a crass workaround that reloads the page at the current time with the new bandwidth but obviously would be nicer for the user if it was integrated like the standard jwplayer SD/HD switch.

thanks
bret

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

This question has received the maximum number of answers.