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

Getting Akamai To Stream


JW, i cant get non of these embed codes to work anymore, your older player wouldnt work either......use to be not a problem...now the wont

is that crossdomian the solution?
or would i be pissing in the wind?

37 Community Answers

JW Player

User  
0 rated :

Has anybody figured out a 'fix-all' for Akamai? I've followed the suggestions above, and haven't found a working solution.

I'm working with the latest download version of the player.

JW Player

User  
0 rated :

Has anyone an idea of how this URL could work in the JW Media Player ?http://lsd.newmedia.nacamar.net/bb/redirect.lsc?content=live&media=mp3&stream=ndr/ndr2.mp3

MP3 Livestream of a german radio station.
It should work with a flash player, but I wanna use it with the JW Player

check out here:
http://www.ndr2.de/pages_special_lib/0,,SPM7454_CONndr2,00.html

thx
sostermann@hotmail.com

JW Player

User  
0 rated :

thx

but according to nacamar direct usage of the IP Address is not usefull, because the content on these IP Adresses may change.

thx
so

JW Player

User  
0 rated :

@sostermann,

The IP address was given in the playlist that is served from the URL that you posted *http://lsd.newmedia.nacamar.net/bb/redirect.lsc?content=live&media=mp3&stream=ndr/ndr2.mp3*

However, you can certainly use the domain name that is currently registered for that IP, which is:

*% This is the RIPE Whois query server #3.
% The objects are in RPSL format.
%
% Rights restricted by copyright.
% See http://www.ripe.net/db/copyright.html

% Information related to '213.200.97.104 - 213.200.97.111'

inetnum: 213.200.97.104 - 213.200.97.111
netname: STREAMING-TINET
descr: Tiscali Business GmbH
descr: Robert-Bosch-Str. 32
descr: D-63303 Dreieich
country: DE
admin-c: HS2646-RIPE
tech-c: HS2646-RIPE
status: ASSIGNED PA
notify: netguard@ip.tiscali.net
mnt-by: TISCALI-INT-NET
changed: netguard@ip.tiscali.net 20061218
source: RIPE

person: Hartwig Schieck
address: Tiscali Business GmbH
address: Robert-Bosch-Str. 32
address: 63303 Dreieich
address: Germany
phone: +49 6103 916 829
fax-no: +49 6103 916 31273
e-mail: hartwig.schieck@de.tiscali.com
nic-hdl: HS2646-RIPE
mnt-by: TISCALI-INT-PERS
changed: netguard@ip.tiscali.net 20040708
source: RIPE

% Information related to '213.200.64.0/18AS3257'

route: 213.200.64.0/18
descr: Tiscali International Network
origin: AS3257
mnt-by: TISCALI-INT-ROUTE
changed: sven@nacamar.net 20001114
changed: tobias@tiscali.com 20010703
source: RIPE
*
as you can see, *none*. So I guess that you're stuck with the IP address if you want to listen to that stream. If it changes, just get a new playlist, open it with a text editor, and get the new IP address.

JW Player

User  
0 rated :

Thanks Will :s

JW Player

User  
0 rated :

For Akama on demand streaming, XSPF have to look like :
location : rtmp://{server}.edgefcs.net/ondemand/{VIRTUAL PATH ALIAS}
identifier : {PATH OF THE FILE ON THE SERVER}

Identifier can include or not the file extension.

Be aware that the Live streaming does not contain an extension.
I've not tried a live stream but it seems to be just look like that :
location : rtmp://{server}.edgefcs.net/live
identifier : {a name}@{an id}

Does someone have already try the Akama Live streaming ?

JW Player

User  
0 rated :

Akamai Live streaming does not work with JW Media Player.

Does somebody found how to get it work ?

JW Player

User  
0 rated :

@Manic5,

I don't know if you have read this thread [url=http://www.jeroenwijering.com/?thread=6491#msg30750]*STREAMING WITH LIMELIGHT*[/url], but it seems that there is a modified v3.12 player available that will connect to an FMS Live Stream.

Akamai, LimeLight, and VitalStream all use FMS Live Stream, so maybe it will work with slight adjustments to the file and id values.

JW Player

User  
0 rated :

@streamBabie,

It does not work...

JW Player

User  
0 rated :

Has anyone figured outhow to get JW Media Player to live stream with Akamai? I've struggled for awhile now and can't figure it out...

JW Player

User  
0 rated :

Okay so I think I've gotta elaborate some more. If you visit www.garyllc.com/espn/player/test5.html, I can't get this to work. It loads and then never connects. If I visit support.akamai.com/flash, I can get both players to work once I've connected... it's strange. Any help would be super appreciated. You can email me at austin.davidj@gmail.com... I'll have to think of some kind of reward for anyone that can help!

Thanks guys!

JW Player

User  
0 rated :

For Akamai, you have to use their own AS connection class.
There's a lots of things to modify in FLVModel.as.
Replace all NetStream & NetConnection things to deal with AkamaiConnection class.
A lots of event listenner have to be implement too.

JW Player

User  
0 rated :

I was actually able to get the stream to work without having to incorporate the AkamaiConnection class (FLV Player 3.16).

so.addVariable("file","rtmp://cp{your akamai cp code}.edgefcs.net/ondemand/{Your Stream's virtual path name}/");
so.addVariable("id","{name of your video without .flv extension}");

JW Player

User  
0 rated :

Hi ,
I am very new to the concept of live video streaming.
I'm also trying to make a live stream in video application in flex using akamai server. It would be gr8 if any one of u could a post a sample code here.

My code is like this

var nsClient:Object = {};
nsClient.onMetaData = ns_onMetaData;
nsClient.onCuePoint = ns_onCuePoint;

nc = new NetConnection();
nc.connect("rtmp://cp19552.edgefcs.net/ondemand");

ns = new NetStream(nc);
ns.play("flash.movies/testMovie");
ns.client = nsClient;

video = new Video();
video.attachNetStream(ns);
uic.addChild(video);

But I get a runtime error

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/construct()
at flash.net::NetStream()

Thanks in advance!!

JW Player

User  
0 rated :

Hi, i'm using Akamai "bandwidth" function to show the appropriate video quality based on a user's connection. However on dial-up I get fed the high-speed video sometimes and the low-speed sometimes. On cable modem I always get high-speed which is fine.

JW Player

User  
0 rated :

I am stuck with JW Player and its integration with Akamai. I am trying the following things in JW Player

so.addVariable("file","rtmp://cp41571.edgefcs.net/ondemand/flash/");
so.addVariable("id","path/to/filename");

I have also tried with flashvars so.addVariable("flashvars", "file=rtmp://cp41571.edgefcs.net/ondemand/flash&id=path/to/filename");

Nothing seems to work out for me :(. I have read through the above replies and tried them out, but none of them seems to be working out for me.

If anyone can help me out, it would be greatly appreciated.

Regards,

Jason

JW Player

User  
0 rated :

Which version of the JW FLV Media Player are you using?

JW Player

User  
0 rated :

I am using the current version .i.e. JW FLV Player 4.0.

Thanks,

Jason.

JW Player

User  
0 rated :

I'm having a problem with live streaming, JW player, and Akamai. on-demand works fine btw using the methods outlined above.

Checking stream on akamai support flash page shows live stream working ok. Sometimes, jwplayer on pages served from webserver can't connect to Akamai live stream.

Do i have to use an Akamai connection class? How is it called? Thanks for any help to troubleshoot this.

JeroenW

JW Player Support Agent  
0 rated :

doesn’t akamai use the same onSubscribe() structure as Limelight? If so, some code in the RTMPModel.as has to be changed. Anybody knows this?

JW Player

User  
0 rated :

Did live Akamai streaming in JW Player ever get figured out? Anyone have a version that works with Akamai live I can download?

JW Player

User  
0 rated :

@Bill,

See this thread about the *subscribe* flashvar: *http://www.jeroenwijering.com/?thread=13792*

I haven't tested it (don't have a live stream).

JW Player

User  
0 rated :

Hi all. I have a problem . I visit a site how use JW and work perfectly at home.But at work i can't see because when a start , it's give me BIG ( ! )at middle of the screen. I work in a big company with lot of computers and of couse a lot firewalls and another protection. We use symantec 11 antivirus.i have the latest version of flash , java. i don't now what is the problem ???

JW Player

User  
0 rated :

rygar had the answer I needed. thanks.

JW Player

User  
0 rated :

Has anyone been able to play Akamai's live stream with ver 4.4?

JW Player

User  
0 rated :

I am having trouble playing Akamai's RTMP URL on JWPlayer 4.5. The thing is.. the following URL format, as mentioned by @kLink, works fine in JW Player 4.0 (which I have been using upto now):
bc.. so.addVariable("file","rtmp://cp41571.edgefcs.net/ondemand/flash/path/to/filename");


but, this URL format doesnot work on JWPlayer 4.5, I have tried splitting the URL into a streamer and File, but it still doesnot work (like:)

bc.. so.addVariable("file","path/to/filename");
so.addVariable('streamer','rtmp://cp49576.edgefcs.net/ondemand/');



doesnot work. I get the error #2032 (I assume bad filename). I have also tried other combinations like:

bc.. so.addVariable("file","flash/path/to/filename");
so.addVariable('streamer','rtmp://cp49576.edgefcs.net/ondemand');




but, i get the same error (Error: 2032).. any suggestions?

Thanks,



JW Player

User  
0 rated :

You probably have to use the *streamer*, *file*, and *type* flashvars.

See: *http://developer.longtailvideo.com/trac/wiki/FlashFormats#Streamingservers* for the various types that can be used with the RTMP protocol from the major CDNs.

I'm not sure exactly when these types were introduced, so you might want to get the latest release from here: *http://developer.longtailvideo.com/trac/log/trunk/as3/player.swf?rev=261*

Click on the release that you want in the *Rev* column.

JW Player

User  
0 rated :

guytom,

The trick in 4.4+ is that the undocumented subscribe=true FlashVar has been replaced with type=fcsubscribe and plays through a seperate model. (subscribe=true does nothing now in the new versions of the player)

JW Player

User  
0 rated :

Ok, reading the posts above and using the online Setup Wizard (I assume it is using version 4.5), I was able to see my live akamai stream by populating the following variables:
file - {my streamname}
type - fcsubscribe
streamer - rtmp://cp{my id}.live.edgefcs.net/live

so assuming my streamname is mystream@1234 and my server is cp12345, the resulting code would look like this:
so.addVariable('file','mystream@1234');
so.addVariable('type','fcsubscribe');
so.addVariable('streamer','rtmp://cp12345.live.edgefcs.net/live');

JW Player

User  
0 rated :

I'm with you Krusty, I've gotten live streams to work with 4.5 but not on-demand. Has anyone cracked this yet?

JW Player

User  
0 rated :

Works like this:

Playlist:

*playlist.xml*bc.. <?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<creator>Test</creator>
<title>lsd.newmedia.nacamar.net</title>
<location>http://213.200.97.110:8000/ndr/ndr2.mp3</location>
<info>http://www.someplace.com</info>
</track>
</trackList>
</playlist>


Single file:
bc.. so.addVariable('file', 'http://213.200.97.110:8000/ndr/ndr2.mp3');


JW Player

User  
0 rated :

Code for v4.x player:bc.. so.addVariable("file","rtmp://cp41571.edgefcs.net/ondemand/flash/path/to/filename");

*rtmp://cp41571.edgefcs.net/ondemand/flash/* should be the URL to your stream/application
*path/to/filename* should be additional directories and the filename without an extension.

If the file is MP3 or MP4, use this form:bc.. so.addVariable("file","rtmp://cp41571.edgefcs.net/ondemand/flash/path/to/MP3:filename.mp3");
so.addVariable("file","rtmp://cp41571.edgefcs.net/ondemand/flash/path/to/MP4:filename.mp4");

You may not need some parts of the URL, like "flash", depending on your FMS server setup.

Also search for other posts on using FMS and RTMP by using the *Search this Site* for "FMS RTMP" etc.

JW Player

User  
0 rated :

See: *http://www.longtailvideo.com/support/forum/Setup-Problems/13792/Limelight-Live-stream* Jun. 10, 2009 :D

JW Player

User  
0 rated :

anyone has a solution yet to play akamai vods ?
(akamai video on deamnd is still not working with v4.6 ??)

Ethan Feldman

JW Player Support Agent  
0 rated :

Akamai should work with the player…where have you tried to run this?

JW Player

User  
0 rated :

hi,

its @ http://preview.skill3d.at/video/jw/46/ the "Akamei VOD Beispiel:"

with 5.1 everything is working, but with v4.6, video on demand dont work

<script type='text/javascript'>
var so = new SWFObject('player-licensed.swf','ply','470','290','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');

so.addVariable('streamer','rtmp://cp67126.edgefcs.net/ondemand');
so.addVariable('file','mediapm/ovp/content/test/video/Akamai_10_Year_F8_512K');
so.addVariable('type','fcsubscribe');

so.write('akamei');
</script>

JW Player

User  
0 rated :

any hints for this topic or has anyone another sample page where akamai vod streaming is working with jw v4.6 ?

(its working for me with jw 5.1 - vod and live, but with jw 4.6 - only live-streaming)

This question has received the maximum number of answers.