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

How to stream live to "red5"?


Hello there.

I Am going to ...Hello there.

I Am going to do a DJ'ing gig latter this year and I plan on having it live on my website also. I Am hoping to use the "JW FLV Player" as the player for my users to view the gig live on-line at my website. But in order to make that happen I need a "red5" server. Now I have that sorted. But here is the bit I can't work out. How do get the live content to the "red5" server for it to stream to "JW FLV Player". I Will need some sort of capture software to take the feed from the camera to then send it to the "red5" server.

What software do I use? I Know if I was to use the "Adobe" software. I Would "Adobe Flash Media Live Encoder 3" to capture and "Adobe Flash Media Streaming Server" to do the streaming. ButI am not going to use Adobe. So What would I use instead of "Adobe Flash Media Live Encoder 3"?

Hope to hear from somebody soon.

Oddsodz

95 Community Answers

JW Player

User  
-1 rated :

You can use the demo app. *SimpleBroadcaster.swf* that comes with Red5. They have an example of it embedded in an HTML page.

Or you can use the JW FLV Media Player with type=camera embedded like a normal player.

Either one will use the Adobe Flash Player to capture the camera output on the client and send it to your Red5 server.

Then you can use the demo app *SimpleSubscriber.swf* or a JW FLV Media Player to display the stream on your clients. Embedded like a normal player. streamer=rtmp://www.mydomain.com/oflaDemo and file=red5StreamDemo or whatever you have named your stream.

I have some HTML pages set up if you need them.

JW Player

User  
0 rated :

hi sir lefTy do you mind posting your html pages for reference and guide in doing this..thanks!

JW Player

User  
-1 rated :

I can see the payer but it plays nothing. Is it because your camera is not on?

JW Player

User  
-1 rated :

you have to use your own camera

start one player with your camera, then start another player as the reciever

JW Player

User  
-1 rated :

Hi lefTy and everybody

Maybe you can help me, I try using my http://66.96.XX.XXX:5080/demos/simpleBroadcaster.html like encoder without problem.

Later I try to see with SETUP WIZARD JW FLV Media Player with an rtmp stream but notning, I put demo in the file but player say "the playlist is not a valid XML file"

Whats is wrong?

One more thing, anybody know how create publishing points for example stream1, stream2, stream3, etc. and limit users and BW?

Thank you everybody for you time.

JW Player

User  
0 rated :

@Rikk,

Did you check the test pages posted above for the correct code to create and receive a live stream?

JW Player

User  
-1 rated :

Hey guys.. I have a website Stealthshot.net. Basically we stream NY sports games for fans that can't watch it. Anyway I am having a hard time getting my stream to the JW player.. If there is someone that is willing to help me that would be greatly appreciated. You can contact me at:

Aim: EFoster35

or

MSN: smsfootballnum1@hotmail.com

Thanks guys!

JW Player

User  
-1 rated :

Hi again.

Well I can Stream with a webcam like http://willswonders.myip.org:8082/Camera_Player.html without problem.

You right Bluewar my problem was "type" in file properties. In this case was "camera"

But now I want make a live stream with Flash Media Encoder, works, but in JW dont work.

What "type" work for live stream, I put live but nothing, show this message: "No suitable model found for playback of this file"

Anybody know what type is used for live stream? or what file properties I need change?

Thank you everybody.

JW Player

User  
-1 rated :

flashvars documentation is here http://developer.longtailvideo.com/trac/wiki/FlashVars#Fileproperties

type would be rtmp or video depends on how you deliver the live stream

JW Player

User  
-1 rated :

Ok bluewar, I will try.

I will comment my result. Many people is lost with RED5, like me, and comments here help.

Thank you.

JW Player

User  
-1 rated :

Rikk or Bluewar.. if you guys could possibly help me out. I have been trying to get my live streaming to work for weeks now, but can't seem to figure it out. I've met a bunch of people that know how to do this and that, but I need someone that has personal experience with this. If one of you or someone please message me and help me out. This would be greatly appreciated.

AIM: EFoster35

or

MSN: smsfootballnum1@hotmail.com

Thanks guys!

-ED

JW Player

User  
0 rated :

Ed, Im trying make live stream with Flash Media Encoder and play stream in JW.

Until now, nothing, but maybe my problem is type again.

Putting camera in type works without problem, but Im not sure if with this way video is recorded in streams RED5 folder, but works and there (camera option) you can put instead of the camera something like splitcam and put videos.

If I can make FME works, I will put how I did it.

JW Player

User  
0 rated :

Hello,

I live broadcast usin FME through a red5 server using this rtpm parameter:

rtmp://perweb.tv:1935/live

How should be an example of Camera_Player.html an other html files using a JW FLV Player?

Regards,

Jorge Machado
jmlt@persystems.com

JW Player

User  
0 rated :

Hello Sir

I Am hoping to use the "JW FLV Player" as the player for my users
to view there live video content from web cam at my website.But in order to make that
happen in my project web cam catch live content but not work properly in display time.

http://www.12ticks.com/conference.php

Please message me and help me out. This would be greatly appreciated.

Hope to hear from u.

JW Player

User  
0 rated :

me funciona perfecto:


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

<div id="mediaspace"></div>

<script type="text/javascript">
var s1 = new SWFObject('player.swf', 'ply', '480', '360', '9.0.124', '#FFFFFF');
s1.addParam('allowscriptaccess', 'always');
s1.addParam('allowfullscreen', 'true');
s1.addParam('wmode', 'opaque');
s1.addVariable('id', 'ply');
s1.addVariable('file', 'NOMBREDELBROADCASTER EJEM red5StreamDemo');
s1.addVariable('streamer', 'rtmp://TU.IP/oflaDemo');
s1.addVariable('type', 'rtmp');
s1.write('mediaspace');
</script>

JW Player

User  
0 rated :

Hi to all ,

I try to follow the thread , but I can't.

Now I install the red5 on my dedicated Ubuntu server , I can connect to my camera , using this app:

http://SERVER-IP:5080/demos/simpleBroadcaster.html

Now for testing , I want to show to other people the video that I sent from my webcam.

How I can do this using JW Player?

Do you have a clean example or code that i can study?

Thanks for your help

Goodbye

Pierpaolo

JW Player

User  
0 rated :

@otherUser

Thank you so much!

BR

Pierpaolo

JW Player

User  
0 rated :

helou guys well i m new with red5. tell me how to setup red5 to stream with FME to RED5 and put in my applicateion adres rtmp://my domain/live and stream name. how to do in fme i now but where in red5 i can setup strema adres and its name

JW Player

User  
0 rated :

has anyone s tutorial??

JW Player

User  
0 rated :

how do you stream to with FME to RED5 ?? does anyone has got a tutorial? do i have to have special application instaled on RED5 ? Can creat many streams?

JW Player

User  
0 rated :

Jorge Machado how did you set up red5 to stream live with FME ? do you use fme 3 ?

JW Player

User  
0 rated :

Anybody have a embed for live stream working?

Please collaborate with code.

JW Player

User  
0 rated :

works but anybody know how separate player, I mean put player in another webpage.

JW Player

User  
0 rated :

I'm trying to get this sorted out so I can post some demos.

Google "Red5 Live Stream Publishing" for more information.

Live Stream Publishing requires three components:

1) The Publisher
The Publisher utilizes a Flash movie to encode the stream from your video source into flash video (Sorenson) and send the stream to the RTMP server.
The Flash movie can be a JW FLV Player (up to v4.5.207) with type=camera or the Red5 Publisher demo.

2) A RTMP Server
The RTMP Server receives the stream from the Publisher and makes it available for streaming to the clients.

3) Clients
The Clients utilize a Flash movie to receive the RTMP stream from the Server and display it.
The Flash movie can be any FLV player that can utilize an RTMP stream, such as any of the JW FLV Player versions.

JW Player

User  
0 rated :

Streaming files is not a problem, is very easy.

The problem for everybody (I think so) is with live streaming.

For example. I can send signal, I mean, streaming, but my problem is create an embed with JW FLV Player to put in a website.

I try with wizard but nothing always show an error, I think the problem is with type in file properties.

If somebody can create an embed for "live streaming" with this wizard. Please post. Many people are looking for this information.

JW Player

User  
0 rated :

Me and many people seek a solution like this:
http://www.telesurtv.net/noticias/canal/senalenvivo.php

You can check page code, maybe someone can help.

Regards.-

JW Player

User  
0 rated :

You use the same stream name that you used in your Publisher.

Here's code using a JW FLV Player as a Live Stream Client. The Publisher is the Red5 Live Stream Publisher demo.
bc.. <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd">

<htmllang="en">

<head>

<title>LiveStreamClient-JWMPv4.5.x-swfobjectv2.2</title>

<metahttp-equiv="Content-Type"content="text/html;charset=iso-8859-1"/>

<scriptsrc="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>


<scripttype="text/javascript">
varflashvars=
{
'streamer':'rtmp://www.domain.com/oflaDemo',
'file':*'stream1246730334555',*
'type':'rtmp',
'controlbar':'bottom',
'stretching':'none',
'frontcolor':'86C29D',//text&icons(green)
'backcolor':'849BC1',//playlistbackground(blue)
'lightcolor':'C286BA',//selectedtext/trackhighlight(pink)
'screencolor':'FFFFFF',//screenbackground(black)
'id':'playerID',
'autostart':'true'
};

varparams=
{
'allowfullscreen':'true',
'allowscriptaccess':'always',
'bgcolor':'#FFFFFF'
};

varattributes=
{
'id':'playerID',
'name':'playerID'
};

swfobject.embedSWF('player-4.5.227.swf','player','320','260','9.0.124',false,flashvars,params,attributes);
</script>

</head>

<body>

<divid="playercontainer"class="playercontainer"><aid="player"class="player"href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">GettheAdobeFlashPlayertoseethisvideo.</a></div>

</body>

</html>



If you want to use a JW FLV Player (up to v4.5.207) as a Publisher, use any stream name that you want, then use that same stream name in the client.

Publisher/Client code:bc.. <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd">

<htmllang="en">

<!--callwith:http://www.domain.com/Camera.html?type=camera-->
<!--callwith:http://www.domain.com/Camera.html?type=rtmp-->
<!--callwith:http://www.domain.com/Camera.htmldefaultstortmp-->

<head>

<title>CameraSend/ReceiveWithRed5-JWMPv4.5.x-swfobjectv2.x</title>

<styletype="text/css">
playercontainer
{
display:inline;
}
</style>

<scriptsrc="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

<scripttype="text/javascript">
vartype=null;

if(!(type=swfobject.getQueryParamValue('type')))
{
//...defaultstortmp
type='rtmp';
}

varflashvars=
{
'streamer':'rtmp://www.domain.com/oflaDemo',
//...thecamerawillberecordedinthe"streams"directory
'file':'JWstream',
//...simpleBroadcaster
//'file':'red5StreamDemo',
'type':type,
'controlbar':'bottom',
'stretching':'none',
'frontcolor':'86C29D',//text&icons(green)
'backcolor':'849BC1',//playlistbackground(blue)
'lightcolor':'C286BA',//selectedtext/trackhighlight(pink)
'screencolor':'FFFFFF',//screenbackground(black)
'id':'playerID',
'autostart':'true'
};

varparams=
{
'allowfullscreen':'true',
'allowscriptaccess':'always',
'bgcolor':'#FFFFFF'
};

varattributes=
{
'id':'playerID',
'name':'playerID'
};

//...laterv4.5.xplayersdon'tsupporttype=camera
swfobject.embedSWF('player-4.5.207.swf','player','320','260','9.0.124',false,flashvars,params,attributes);
</script>

</head>

<body>

<divid="playercontainer"class="playercontainer"><aid="player"class="player"href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">GettheAdobeFlashPlayertoseethisvideo.</a></div>

</body>

</html>



JW Player

User  
0 rated :

Is strange. I dont know why only show like connect.
http://www.infosal.com/flash/03.htm
http://www.infosal.com/flash/04.htm

Maybe you Lost can tell me what is the problem, my red5 is working.

Thanks.-

JW Player

User  
0 rated :

Finally, the problem was the player.

Thank you for all Lost.

JW Player

User  
0 rated :


You're welcome.

*_Good Luck!_*

JW Player

User  
0 rated :

Lost, now I try to use flash media encoder, I can connect but nothing in the player.

You know if works with FME? or something to improve image.

JW Player

User  
0 rated :

@Rikk,

I've searched on Google and tried hundreds of things.

FME3 connects to Red5, but I cannot play the livestream.

You can look here: *http://www.nabble.com/forum/Search.jtp?query=livestream&local=y&forum=16329&daterange=0&startdate=&enddate=*

JW Player

User  
0 rated :

Finally figured it out. The JW FLV Player needs these three flashvars:bc.. 'streamer':'rtmp://www.domain.com/oflaDemo',
'file':encodeURIComponent('livestream?videoKeyframeFrequency=5&totalDatarate=446'),
'type':'rtmp',



Where:
*livestream* is the Stream: set in FME.
*videoKeyframeFrequency* is the Keyframe frequency set in FME (click on the wrench icon at Format:).
*totalDatarate* is the Total bandwidth required to stream: from FME.

JW Player

User  
0 rated :

well, nothing. something is wrong in my code.

<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>

<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('/jw/embed/player.swf','mpl','470','290','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=800'),&type=rtmp&streamer=rtmp://66.96.XXX.XXX/oflaDemo/live');
so.write('player');
</script>

JW Player

User  
0 rated :

you see 800 in BW but I try with 150 and nothing.

any idea?

JW Player

User  
0 rated :

So with this settings you can use FME 3 with RED5?

JW Player

User  
0 rated :

@Anbarasan,

*_YES!_*

JW Player

User  
0 rated :

Many thanks for stuff about streaming from camera.
With Publisher demo it's ok for me.

But using the FME it doesn't work. When I use FME in FMS URL : rtmp://IP_adress/oflaDemo/.
And then in my code for flash player there is line:
so.addVariable('streamer', 'rtmp://66.96.XXX.XXX/oflaDemo/live')
What stand's for 'live' there? i must use some application called 'live'?

And another one BIG question.
I have live broadcasting channels with UDP/RDP multicast and want to use RTMP streaming in my flash client.
Have there any support in Red5 for RDP, RTSP or MPEG-TS for incoming streaming of H.264/HE-AAC content (like in wowza for example). And if it's possible, which application can I use to do this?

Hope to hear from someone.
Regards.

JW Player

User  
0 rated :


*live* is the Stream: set in FME

See my post above, on Jul. 08, 2009.

JW Player

User  
0 rated :

Hi,*lost* Thank you for reply.
But could you check what I'm doing wrong:

*FME side*:
FMS URL: rtmp://192.168.1.101/oflaDemo
Stream: live
Total bitrate: 296 kbit/s

*Client side code*:
bc.. so.addVariable('streamer','rtmp://192.168.1.101/oflaDemo');
so.addVariable('file', encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=296'));

If I try to check stream in oflaDemo application
use: rtmp://192.168.1.101/oflaDemo -- connect
but in the 'library' i don't see 'live', just *.flv content (like DarkKnight.flv & IronMan.flv).

By the way i tried many combinations with 'live', but all was failed.
Regards

JW Player

User  
0 rated :

I checked my client:bc.. so.addVariable('streamer', 'rtmp://192.168.1.101/oflaDemo');
so.addVariable('file', encodeURIComponent('livestream?videoKeyframeFrequency=5&totalDatarate=296'));
so.addVariable('type', 'rtmp');



JW Player

User  
0 rated :

Please,help me.
thank you .

JW Player

User  
0 rated :



<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player-viral.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode', 'opaque');
s1.addVariable('file', '9'); // you can modify this name in the fla of samplebroadcaster
s1.addVariable('type', 'rtmp'); // in order to streaming rtmp live video
s1.addVariable('streamer', 'rtmp://219.144.130.165/oflaDemo'); // rtmp url to red5 server
s1.write('preview');
</script>




please see http://mail.cczy.net.cn/

JW Player

User  
0 rated :

Lost, I can connect but nothing in the player
please help me

JW Player

User  
0 rated :

thank you help ,Lost.

JW Player

User  
0 rated :

I really do appreciate your help *lost*
anyway it doesn't work for me. will use publisher demo =)

JW Player

User  
0 rated :

Hi

I have been able to get JW player to act as the Flash publisher for both live streams and recorded streams.

The issue is that in some versions of JW player the Camera model is not implemened. Alsi the Camera model that is there (but Disabled) is set to only record not do live stream.

If you have adobe cs3 I can let you know what the changes need to be in order to make it work. I have those changes t version .5 of the player.

If you do not have CS3, I can send you my modified version that is full function for uploading streams.


Let me know

John@realsites.biz

JW Player

User  
0 rated :

Lost (or anyone who can comment),

In this thread:
*http://www.longtailvideo.com/support/forum/Feature-Suggestions/7248/Embedding-flash-player-for-Red5*

kLink Quote:
*"As soon as Red5 with MP4/H.264 streaming is available (probably v.9 early 2009), start using MP4s encoded with H.264 video."*

Has anyone used *h.264 for streaming live content*?
Is this supported in 0.7 and 0.8 of Red5?

EDIT:... I found more info here:
http://red5flashserver.blogspot.com/2009/04/updates-on-h264-support-in-red5.html

Thanks!
Sully

JW Player

User  
0 rated :

allowww

JW Player

User  
0 rated :

download film

JW Player

User  
0 rated :

alloww

JW Player

User  
0 rated :

Hi and thanks all for your knowledge.
A bit confused still.
I have a publisher demo running in red5 and publishing my
webcam. Now trying the JW player but :

.- with your script/html examples i get nothing.
.- what port or rtmp url is it supossed to be the one outputted from publisher? why oflademo in sush rtmp example urls if I yet don't have no ofla running at all (at least consciously)

I would like to check with something like mplayer vlc or whatever that my publisher is actually publishing a rtmp stream, but I do not get it :

.- rtmp://localhost:1935/livestream ?
.- rtmp://localhost/oflaDemo/livestream ?

nothing's showing nowhere but the publisher's won page.

Tnx in advance.

JW Player

User  
0 rated :

Hi everey body. Tnx four your clues. Me, I still do not get it working. I have:

1. red5 server with publisher publishing my cam.
2.- some html/script examples from above to connect to
such stream published

but, completely lost :

1.- do not know how to externally check publisher is actually outputting a rtmp stream: mplayer? vlc? what url?

2.- why oflademo at url if i did not use such demo at all?

3.- tried
streamer': 'rtmp://localhost/oflaDemo',
'file': 'livestream', /*as in publisher */
even
streamer': 'rtmp://localhost:1935'

Nothing's showing anywhere. What do i miss or do wrong ?

JW Player

User  
0 rated :


*oflaDemo* is a demo application that you can install and then use for streaming so you don't have to write your own application.

You can install *oflaDemo* from the demo page of Red5.

http://www.domain.com:5080/index.html

Then you should be able to stream the demo videos from *oflaDemo/streams* using the v5 JW Player with this swfobject code:bc.. 'streamer': 'rtmp://www.domain.com/oflaDemo',
'file': 'IronMan',
'provider': 'rtmp',



JW Player

User  
0 rated :

Tnx Noodle.
My problem is I do not get the client gets the stream.
My settings are :
.- Red5 with publisher demo running.
publisher publishing stream from a camera available at
settings device combobox.
Stream published is named simply 'livestream'
.- I get to open another publisher.swf, connect to the ofla
server and so play the formerly published webcam

.- However, from jwplayer with next configuration, I do not even get to see such client is reaching the server to play livestream :

var flashvars =
{
'streamer': 'rtmp://localhost/oflaDemo',
'file': 'livestream',
'type': 'rtmp',
'provider': 'rtmp',
'controlbar': 'bottom',
'stretching': 'none',
'frontcolor': '000000', // text & icons (green)
'backcolor': '849BC1', // playlist background(blue)
'lightcolor': 'C286BA', // selected text/track highlight
'screencolor': 'FFFFFF', // screen background (black)
'id': 'playerID',
'autostart': 'false'
};

JW Player

User  
0 rated :


You have to use the stream name that is shown in the Red5 Publisher.

Something like this:bc.. 'file': 'stream1258821392906',



JW Player

User  
0 rated :

I have working now. Thanks.

https://www.solutein.com

JW Player

User  
0 rated :

bc.. http://willswonders.myip.org:8082/Camera_Player.html
http://willswonders.myip.org:8085/php/Camera.html?type=camera
http://willswonders.myip.org:8085/php/Camera.html?type=rtmp



Requires v4.4.175 from: *http://developer.longtailvideo.com/trac/browser/trunk/as3?rev=175*

JW Player

User  
0 rated :

Very Important:

s1.addVariable('file', 'red5StreamDemo'); // you can modify this name in the fla of samplebroadcaster

s1.addVariable('type', 'rtmp'); // in order to streaming rtmp live video

s1.addVariable('streamer', 'rtmp://TU.IP/oflaDemo'); // rtmp url to red5 server

God Bless You

JW Player

User  
0 rated :

http://www.longtailvideo.com/support/forum/Setup-Problems/16919/JWP-Red5-Live-Video-Some-guidance-needed#msg116324

JW Player

User  
0 rated :

works with this
http://willswonders.myip.org:8082/Camera_Player.html

copy code and modify

JW Player

User  
0 rated :

Try like this:bc.. <scripttype="text/javascript">
varso=newSWFObject('/jw/embed/player.swf','mpl','470','290','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('streamer','rtmp://66.96.XXX.XXX/oflaDemo/live');
so.addVariable('file',encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=800'));
so.addVariable('type','rtmp');
so.write('player');
</script>




If you want to smash everything together in one unreadable line, then do it like this:bc.. so.addParam('flashvars','file=' + encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=800') + '&type=rtmp&streamer=rtmp://66.96.XXX.XXX/oflaDemo/live');




Also, be sure that you copy the correct settings from FME:

*livestream* is the Stream: set in FME.
*videoKeyframeFrequency* is the Keyframe frequency set in FME (click on the wrench icon at Format:).
*totalDatarate* is the Total bandwidth required to stream: from FME.

JW Player

User  
0 rated :

bc.. so.addVariable('streamer', 'rtmp://192.168.1.101/oflaDemo/live');
so.addVariable('file', encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=296'));
so.addVariable('type', 'rtmp');



JW Player

User  
0 rated :

bc..
bc..

http://219.144.130.165:5080/demos/ofla_demo.html


rtmp://219.144.130.165/oflaDemo

Something is wrong in my code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
</head>

<body>
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode', 'opaque');
s1.addVariable('file', '9'); // you can modify this name in the fla of samplebroadcaster
s1.addVariable('type', 'rtmp'); // in order to streaming rtmp live video
s1.addVariable('streamer', 'rtmp://219.144.130.165/oflaDemos'); // rtmp url to red5 server
s1.write('preview');
</script>

</body>
</html>

JW Player

User  
0 rated :

Too many "s".bc.. s1.addVariable('streamer', 'rtmp://219.144.130.165/*oflaDemo*'); // rtmp url to red5 server



JW Player

User  
0 rated :

i am willing to pay someone to set up my website with red5. site is hosted on bluehost, but if you can get it dont i am willing to make it worth your while!

rain_man1985@yahoo.com
Jeff Tacket

JW Player

User  
0 rated :

how can i start the red5 server publisher without opening a window (http://localhost:5080/demos/publisher.html) with the settings ??

JW Player

User  
0 rated :

now, i'm learning about video chat...
i download free sample from http://sourceforge.net/projects/red5chat/...
but, i always got problems...
can someone give me the tutorial how to make it work.??
any help really appreciated..

Ethan Feldman

JW Player Support Agent  
0 rated :

Look through these <a href="http://www.longtailvideo.com/support/search/apachesolr_search/red5%20live">Threads</a>

JW Player

User  
0 rated :


Here is my code of test.html page
Red 5 is running on localhost I have checked by opening a browser http://localhost:5080/demos/ofla_demo.html

But this code has not worked.Any help would be appreciated.
The default Demo application has 4 files in its streams directory
named
avatar.flv
avatar-vp6.flv
toystory3.flv
toystory3-vp6.flv

<html>
<head>
</head>
<body>

<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="provider=rtmp" />
<param name="flashvars" value="streamer=rtmp://localhost/oflaDemo" />
<param name="flashvars" value="file=avatar.flv" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player.swf"
allowscriptaccess="always"
allowfullscreen="true"
wmode="opaque"
flashvars="streamer=rtmp://localhost/oflaDemo/&file=avatar.flv"
width="400"
height="315"
/>
</object>

<!-- END OF THE PLAYER EMBEDDING -->

</body>
</html>

But this code snippet has not worked.

Ethan Feldman

JW Player Support Agent  
0 rated :

Please put up a test page. Thanks.

JW Player

User  
0 rated :

Ethan Longtail what exactly you mean by putting up a test page.
I did created a test page it did not worked so I posted it here.

Ethan Feldman

JW Player Support Agent  
0 rated :

@tapas – I mean provide a link to your test page here. Please post the link to (www.yoursite.com/my_awesome_test_page.html), so we can take a look at the page to better debug your issue.

JW Player

User  
0 rated :

This is a test website which I am testing on my computer so not possible to give link.

Finally I have been able to solve the problem the above html page was supposed to be kept in Document Root of the server.

I had made them in my home directory and now it is working perfectly fine.

JW Player

User  
0 rated :

By server I mean webserver most popular is Apache but in my case it is lighttpd

JW Player

User  
0 rated :


I was able to get my videos streamed via oflaDemo application.
Initially I was getting the problem because my java scripts and flash players which I was calling
were not in servers document root .
I was testing on my laptop which was client machine so I did not had any idea to install a web server on my laptop.
When I installed a webserver on my laptop for some other experiment I had accidentally kept the pages in its document root and then the HTML pages which contained java scripts to connect to Red5 streams were able to connect more over
I found certain flv files which were played in VLC and other media players were not getting played in Jwplayer is there some thing I can do to test this type of thing.

Ethan Feldman

JW Player Support Agent  
0 rated :

Good, glad you got it working! :-)

JW Player

User  
0 rated :

I have copied the html code to my apache webroot and I got it working!

Ethan Feldman

JW Player Support Agent  
0 rated :

Great! :)

JW Player

User  
0 rated :

Hello,

Can any one tell me which version of jw player should I use to activate webcam live stream on my website?
I tried Lost's examples (below examples) and it doesn't work!

Also, to be sure that I ve understood the scenario, can you plz also tell me in few steps what should I do to add webcam live stream on my website?

Thank you guys! happy new year!

Ethan Feldman

JW Player Support Agent  
0 rated :

The latest version should work fine (5.4).

JW Player

User  
0 rated :

Hi all
I used the publisher demo to publish a webcam video.
Now I want to have the exact adress of this live stream, in order to extract some information in this stream.

Can you please help me ou here? I am looking for something like "rtmp://localhost/oflaDemo/20105689" where 20105689 is the name of the stream I published.

thx in advnace.

Ethan Feldman

JW Player Support Agent  
0 rated :

Should work fine with RTMP!

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

JW Player

User  
0 rated :

Sorry, I don't understand.

Using AS3, I am trying to connect to the stream published by olfademo named 20105689, in order to perform some operation on it (the live stream).
I need a video URL. Which URL should I use?

thx

Ethan Feldman

JW Player Support Agent  
0 rated :

I am not sure what you are trying to do here? Are you trying to use the JW Player, or trying to do something custom in AS3?

JW Player

User  
-1 rated :

Once I published a stream using red5's olfademo, we can read the stream using an URL.

I want to know this URL in order to attach it to into an AS3 code and to extract some information from it.
can you help me plz.

Ethan Feldman

JW Player Support Agent  
0 rated :

I have no idea how to do this in AS3, sorry.

JW Player

User  
0 rated :

Hello there!

I'm trying to use the demo publisher of OflaDemo, I have my red 5 running also the publisher makes connections and show me success I connect my webcam and is recognized by the Publisher but I have a problem with the sound, I already tried several devices but non of them appears in the options to be choose the only options I can see in the part of the sound are Linux sound and no sound.

I'm using ubuntu , can you please help me with this? I really need info regarding this because is related to my graduation project and I have all functional but this is giving me a real hard time.

Please please answer me ASAP.

Thank you so much

Ethan Feldman

JW Player Support Agent  
0 rated :

What exactly is giving you trouble?

JW Player

User  
0 rated :

I've troubles using JW media player to embed live streams in a page.

I have RED5 setted up right I think.
I can use publisher to create a video stream from the client camera to another PC in the private network using the oflaDemo applications provided.

I can use FW player to embed video from the flv samples in the oflaDemo (avatar.flv)

I'm not able to show the streaming live video of the cam in FW.
Using
'streamer': 'rtmp://192.168.1./oflaDemo',
'file': 'test.flv',
'type': 'rtmp',

where test.flv is the name of the stream in the publisher demo application.
I can't see the video in the FW player.

Logs on red5 say

File was null or did not exist: test.flv

Any ideas on this?

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you provide a link?

JW Player

User  
0 rated :

Sorry Ethan,
actually this is a in house test setup not published on the internet.

By the way I did succeed prepending stream to the name of the file.

It seems that live streams must have a name like
streamwhatever, is this true?

I have to use the same full name i.e streamwhatever in the publisher application of red5 and in the file var in the JW player.

Regards,
Mario

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi Mario,

Yes, that is true, more information – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

Best,
-Ethan

JW Player

User  
0 rated :

Hi,

as I read some posts I got that JW Player doesn't support online stream
so I want to know that is there any good solution for recording a video or audio without using FME, Flash Media Encoders?

Best regards,


Ali

Ethan Feldman

JW Player Support Agent  
1 rated :

It supports it.

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

This question has received the maximum number of answers.