Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

RTMP from Vitalstream Problem

24 replies [Last post]

Issue Demo Page: http://63.251.141.246/test/

We use a DIgital Rapids encoder feeding a stream to an edge-point instance of VLC to deliver an FLV stream. For those rare occasions where viewership exceeds our capacity, we have contracted with the Vitalstream CDN as a fallback. Unfortunately, we have been unsuccessful in using either our own inhouse-created player or the JW FLV Player to play the Vitalstream RTMP stream and have to rely on the default Vitalstream player.

Recently, I tried the latest version of the JW Player (3.16) in the hopes that it could play the stream. After carefully reading the forums and applying the knowledge gained there, I had no success. However, when I placed the default Vitalstream player on the same page as the JW Player and allowed the Vitalstream player to begin playing, the JW player was then able to play the stream.

I'd love any help on this.

Does anyone else use Vitalstream at all for live feeds?

I've looked through all those and still not found a solution. I've also contacted Vitalstream directly and they've verified that my settings are correct. The stream is live and plays through their default player. They are placing the blame on the JW Media Player, saying that it is simply not creating a connection.

The code I'm using is listed below. Is this a bug in the JW Player? Can it in fact handle live rtmp streams or is it not able to do so? I just don't want to waste my time trying to get this to work if the JW Player is incapable of doing so - I'd love to see an example of 3.16 playing a live rtmp stream somewhere.

<p>JW Player</p>
<div id="hse3" style=''><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>

<script type="text/javascript" src="mediaplayer_3_16/swfobject.js"></script>
<script type="text/javascript">

w = 320;
h = 260;

url = 'rtmp://seneca.flashsvc.vitalstreamcdn.com/seneca_vitalstream_com/_definst_';
id = 'live_house';

var s1 = new SWFObject('mediaplayer_3_16/mediaplayer.swf','mediaplayer',w,h,'7');
s1.addParam('allowfullscreen','true');
s1.addVariable('autostart','false');
s1.addVariable('width',w);
s1.addVariable('height',h);
s1.addVariable('file',url);
s1.addVariable('id',id);
s1.addVariable('type','rtmp');
//s1.addVariable('identifier',id);
s1.addVariable('image','images/hse_320240.jpg');
s1.addVariable('showdigits','true');
s1.addVariable('smoothing','true');
s1.addVariable('deblocking','true');
s1.addVariable('bufferlength',3);
s1.addVariable('repeat','false');
s1.addVariable('backcolor','0x000000');
s1.addVariable('frontcolor','0x888888');
s1.addVariable('lightcolor','0x33FF33');
s1.addVariable('screencolor','0x000000');
s1.write('hse3');

</script>

Anyone is welcome to try/debug this with our stream - it's up pretty much all the time, and the url is

rtmp://seneca.flashsvc.vitalstreamcdn.com/seneca_vitalstream_com/_definst_/live_house

This form of file/id connects and receives data, but doesn't actually play anything.

          file: 'rtmp://seneca.flashsvc.vitalstreamcdn.com/seneca_vitalstream_com/_definst_',
id: 'live_house',

For an Akamai live stream using FMS, you need this form of id:id: '{a name}@{an id}',I don't know about VitalStream because I don't have any wroking examples of a VitalStream live stream.

Hmmm...I'd try it, but I'm not sure what I would plug in for the name parameter - Vitalstream doesn't seem to use names.

As an aside, I've set up a demo of the Wowza player and had no problems with it through the JW Media player. At this point, I've become pretty frustrated with the Vitalstream offering altogether. I've been speaking with an Akamai reseller to switch from Vitalstream - this is just one of the issues I've been unable to get any resolution for.

Turns out that after banging my head against Vitalstream on several occasions, I finally got through to their "Professional Development Team" who confirmed that they do have an intermediate step in establishing the connection. They use some AS code to initiate a connection and determine which server is "closest", *then* initiate the connection.

I'm now going to apply my meager AS skillz to try and modify the JW Player code to support a Vitalstream connection. Not sure how anyone else has been able to play back a live stream from Vitalstream since this is the case.

@ Dogzilla

Please keep us informed of your progress....I have a working Vitalstream default player playing a live feed if you need to see one working. (It's a DVD being encoded on the fly and being delivered on one of my web pages using the Vitalstream default player.)

I have a VitalStream/Internap account and have the exact same issue. I'd love to be able to use JW Player to allow our viewers to go fullscreen, but find that the JW Player only fully initiates the connection when the default VitalStream player is open either on the same page or in another window.

If you figure anything out with the AS code, please let me know as I'd like to apply the same solution to our issue. And let me know if there is anyway I can assist. I have extremely minimal AS skills, but I'll do what I can to find a solution.

In the meantime, I may be on the lookout for a new CDN as I haven't been terribly impressed with Internap either...

OK, since other folks are interested, here is a link to the sample file that Vitalstream has provided:

http://63.251.141.246/test/vsplayer.fla

As you can see, they're extending the netConnect function. I've tried to merge this code with the code in FLVModel.as (of the JW Player source code) with no success so far. I created a new "Type" parameter option called "VS" by adding a new else if() block to the JW setStart() function to isolate vitalstream connections. I was hoping to avoid calling Vitalstream's VSConnect() function altogether and simply pass the parameters from the XML query to JW's connectObject.connect() function, but that doesn't seem to accomplish anything.

I'm hoping someone else can take a look and have some suggestions. Trying to integrate all of the Vitalstream code throws a ton of errors - I'm sure because I don't know enough about Actionscript Objects and their respective namespace handling. This seems like it would be trivial for someone with decent ActionScript knowledge.

my player wil no play over streaming media server from wowzawa

http://www.blustop.de/HD/hd.aspx?m=bf9a043d-a875-48f9-a3ff-fa65fd6eee42/video/craxxreel_2008.mp4

can you help

re: no mp4 stream

There's quite a few things here I don't understand. First - this file plays for me fine. It downloads fully first, so I suspect it's not an mp4 fast-start file, but it does play fine once downloaded. Second - are you using the wowza server at all? You have an http link to the mp4 file in JW Player. Wowza would require an rtmp link. If you give me a bit more info about what you're trying to accomplish, I'll try to help, but I think you should set up a demo page that actually references the Wowza server.

using wowzamedia server- great software- with jw mediaplayer works fine, we
have only one problem:

Our mp4 Files doesn't stream. jw mediaplayer needs a .flv File for
streaming. Have you a player recommendations how works with rtmp, your server and mp4 files?

Regards,

I have been successful in streaming an on-demand mp4 file through Wowza via rtmp to the JW mediaplayer. You can see it here: http://63.251.141.246/wowza/static.php

If you look at the source, you can see the file descriptor needs to be a bit non-standard, but it works and allows for scrubbing.

Well, I give up. I've tried everything I can think of, and I feel like I came close, but I can't waste any more time trying to get the JW player running with Vitalstream. Unfortunately, we can't move away from Vitalstream just yet, which means I have to bail on JW Player. I had hoped to get a little more support form the community here, but I guess there's just not that much interest in Vitalstream.

Good luck, y'all.

THIS TEXT WILL BE REPLACED

THIS TEXT WILL BE REPLACED

THIS TEXT WILL BE REPLACED have been successful in streaming an on-demand mp4 file through Wowza via rtmp to the JW mediaplayer. You can see it here: http://63.251.141.246/wowza/static.php

check out winkstreaming.com edgecast.com or even limelight.com avoid stupid issues

same issue with limelight, see this post : http://www.jeroenwijering.com/?thread=6491#msg34233
you can download a modified JW player for live streams there : http://www.epp-ed.eu/live/sebplayer.swf

@sebcbien,

Any chance that you'll mod the v3.16 player?

You would make some users VERY happy!

VitalStream works great for me. I use the following addVariables to access the stream:

s1.addVariable("file","rtmp://seneca.flashsvc.vitalstreamcdn.com/seneca_vitalstream_com/_definst_");
s1.addVariable('id','live_house');

However, I tried inserting the above variables into my 3.16 player and I couldn't get your video to play. Is it still on VitalStream? Is it in your Vital Stream Flash Folder?

Anybody else seems to have problems with netconnection taking RTMP/HTTP to any server?
My generic player receives both, but i have to change the way i connect with different protocols:
This seems very similar to what you experience with the connection not working... ?

//For RTMP (a live feed)
var thumbVideoURL= "rtmp://my-cdn.com/folder/file"
var domain = "rtmp://my-cdn.com/folder"
var thumbVideoFile = "file"

//For HTTP (on-demand)
var thumbVideoURL = "http://my-cdn.com/folder/file.flv"
var domain = "http://my-cdn.com/folder"
var thumbVideoFile = "file.flv"

function setupNetConnection(){
//Works for HTTP
my_nc.onStatus = Delegate.create(this, this.openThumbVideoStream)
my_nc.connect(null)

//Works for RTMP
my_nc.onStatus = Delegate.create(this, this.openThumbVideoStream)
my_nc.connect(domain)
}

function openThumbVideoStream(){

//Works for RTMP
my_ns.play(thumbVideoFile)

//Works for http:
my_ns.play(thumbVideoURL)
}

sebcbien

help me with one thing ....

http://www.jeroenwijering.com/?thread=12564#msg83147

ALL2 MARSEILLE