I'm the systems administrator for ...I'm the systems administrator for a nonprofit media organization and we're looking to replace our current streaming video setup. After much research, it seems like JW Player might be the player we need. I have successfully assembled a prototype for H.264 on demand video with lighttpd and I am very happy with it. However, I'm having trouble finding the details I need to put together a prototype for streaming live video, which we also need to do.
To the best of my understanding, JW Player can read a live stream from Red5 via RTMP. But I'm having a hard time determining exactly how this is accomplished. I keep running into references to "applications" on the server side that I don't understand. Can anyone give me some pointers?
Here are a couple of pages that demonstrate how to use the JW Flv Player to capture your camera output and send it to a RTMP server (I use Red5) and then use the JW FLV Player to receive tht live stream.
One page is a single player that is selectable as camera or rtmp (player). See the example URIs at the top of the page source.
The other page has both the sending and receiving players on the same page.
I am also doing my first tryouts with Red5, in a search for a inhouse alternative to a CDN.
If for live flv streaming the player embed code seems simple, I am not catching it for live video (such as a cam source). In one you have the flv name in the other you should have a stream name...
The value of the *file* flashvar for the player code is the same as the value of the *file* flashvar that you used in the camera code. In those examples, it is *"JWstream"*.
witout sounding like a complete noob: I can't open any of the links above, at least here @ work... So I can't check the camera code (at this point I suspect there is another RCC in this forums :-O)
Anyway: I managed to make it work as you said, but:
I am using Flash Media Encoder to send the live feed to RED5 - therefore the streamname I use is, e.g., "RC". it is then "RC" that I use in the file flashvar.
The player works: http://193.203.106.3/player.html
but there is a huge BUT: from 10 connections only 2 start instantly. The others take 1 minute to start, or more...
The only error I see on the logs is : [ERROR] [pool-4-thread-4] org.red5.server.service.ServiceInvoker - Method checkBandwidth with parameters [] not found
I am now going to post a similar thread on RED5, but I am not 100% sure my player code is correct so your help is vital.
Does anyone have working links to the files that LefTy has posted?
They are http://willswonders.myip.org:8083/Camera_Player.html http://willswonders.myip.org:8083/Camera.html?type=camera http://willswonders.myip.org:8083/Camera.html?type=rtmp
RCC, how you do connection Adobe Media Encoder with the Red 5 ? I'm trying do life stream from WebCam to the client throw Red5. I send stream to the Red5 (rtmp:\\localhost\live, streamname: livestr) But after that i can't read this stream from client's side. I'm trying do something with player, but nothing happend. Red5 is working. Media Encoder too. Plz can you explain, or say where i can find documentation or information about configure Red5 with Adobe Media Encoder
Please help me, I have a video file. How to streaming this file in server and client will see this file. I don't know how to do that. I want to have a live TV in my website.
I can use ManyCam + red5 to stream via a virtual webcam but it's so difficult to play video in manycam. And now, I don't want to use ManyCam + red5 to stream but I don't know how to do that. Is there any code for server stream and client receive.
I installed: Red5 0.9.1 Final. I want to build a live tv (play video or play list), which code can I do that.
I am having Red5 working on my localhost following code I tried bc.. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
</head> <body><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','avatar.flv'); so.addVariable('streamer','rtmp://localhost/oflaDemo'); so.write('mediaspace'); </script>
@Ethan LongTail: I've been setup red5, with code or software or anything can I use for play video realtime. I want to play a video from server and client watch that video real time. Thank.
How to check audio setting of streaming server? In server, I can't settign because my server don't have recorder ao anything else. Do you have any solution for me?
How do you have your server set up? I have never personally used Red5 before, but I would figure there would be something available to you in terms of audio configuration.
any news for the RED5 server live streaming from Adobe flash Media live Encoder 3.1 and play it in mediaplayer-5.3 Seamless failover between the Flash and HTML5 players. any code that I can use to do this.
I mean I looked through this tread hoping to find the answer just to get to a dead end. I tried most of the code above and it just does not work.
I am able to see the live stream in the RED5 demos/publisher.html and it works great. Now to take it an place it in a player on any website.
I know the file name, I know the rtmp and I have the player :) now to make it work. I don't really want to place my info on this site, seeing I am little unsure about what info not to show and what is okay. So please just dump me a demo code to try out.
I have the <script type="text/javascript" src="/jwplayer/jwplayer.js"></script> on it's place and the player on my server in the same folder. would like if i could hide it a little more in the code and that it is not open to all to see :)
Wow my very next try and it worked, I will take the risk and place my code here, and try to hide what I think is not for all. But I would still like to know how to encode it so that it is not so easy for others to understand my rtmp and folder paths, so if someone could help me with that it will be great. Here is the code that worked for me:
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'> var so = new SWFObject('/jwplayer/player.swf','mpl','470','290','9'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); so.addVariable('file','StreamDemo'); so.addVariable('streamer','rtmp://66.96.XXX.XXX/oflaDemo'); so.write('mediaspace'); </script>
Now the file name "streamDemo" is also the stream name in the Adobe Flash Media Live Encoder 3.1
bc.. so.addVariable('file','StreamDemo');
Then the streamer is the host ip/oflaDemo were the RED5 server is installed. It is also the FMS URL that your Adobe Flash Media Live Encoder streams to.
This is little risky it seems because any one could access those and use if when you not looking. So your server could run for others. Does anyone know how to secure that?