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

Forums

/

rtmp Live Stream

6 replies [Last post]

I have used the setup wizard to get this flv file play via my rtmp stream. Problem is I cannot seem to get the setup to work with the live stream that is there. I have read the help files many times and with no luck. Can you please tell me what i am doing wrong.

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

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
var so = new SWFObject('player.swf','mpl','470','290','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','fftogether.flv');
so.addVariable('streamer','rtmp://91q3k9lt.rtmphost.com/VideoBroadcast2');
so.write('mediaspace');
</script>

 

<script type='text/javascript'>
var so = new SWFObject('player.swf','mpl','470','290','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','fftogether.flv');
so.addVariable('streamer','rtmp://91q3k9lt.rtmphost.com/VideoBroadcast2');
<strong>so.addVariable('type','rtmp');</strong>
so.write('mediaspace');
</script>

I think I did not explain properly. I do not want to play the fftogether.flv that I got to work as example. I have a live stream that also comes from that rtmp and I can not seem to find what I put instead of the flv make it work. I have tried the _definst_ as the file but this is where I really not sure what needs to be where.

Thanks for quick answer, I should have explained better.

 
OK, then we need to know:

1) What is the source of your livestream?
    a) What publishing application are you using?
    b) Flash Media Encoder, a Flash movie publisher, a camera?

2) What RTMP server are you using?

3) Can you provide the details of the livestream?
    a) Application.
    b) Instance.
    c) Stream name.

Thanks :)

From you list of questions I realize I need the instance name which the have in the flash templates I am using from Influxis. Once I put "LiveBroadcast" in the file part and then the "rtmp". I came right up with the stream being rtmp://91q3k9lt.rtmphost.com/VideoBroadcast it works great.

Now the reason I was trying to do this in the first place was to get the desktop JW Player to work. Does it take the rtmp's also ? I assume you have to make xml ?

I have put in order for JWPlayer btw and thanks for the good help.

 
I don't know if the JW Desktop Player can play a livestream from an RTMP server. I have never used it.

Robert,
how you resolve i have the same problem with influxis, could you write the script...
Thanks