[Red5] Problem with the Basics

Anton Evangelatov anton.evangelatov at gmail.com
Sat Mar 21 16:15:24 PST 2009


No, the player can play RTMP stream as well.

Your problem is that you have written localhost as server. LOCALHOST 
works only on your own computer.

If you don't have a domain, try using your IP address if you are not 
behind firewall or router. You can find your IP using http://whatismyip.com

Brenden Wilson wrote:
> I'm using the JW Player.
>
> I tried doing what you said, but for some reason it doesn't work.
>
> Shouldn't the filename be an FLV file that is being created by the 
> Red5 server?  
>
>
>
>
> ================================
>
> <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('player.swf','mpl','809','300','9');
> so.addParam('allowscriptaccess','always');
> so.addParam('allowfullscreen','true');
> so.addParam('flashvars','&file=rtmp://localhost:1935/oflaDemo&type=rtmp&streamer=rtmp://localhost:1935/oflaDemo');
> so.write('player');
> </script>
>
> ================================
>
>
>
>
>
> 2009/3/21 AMP Admin <admin at ampprod.com <mailto:admin at ampprod.com>>
>
>     I’ve struggled too, bro. hah  I use jw player to view my live and
>     vod streams.  Before you download it and/or add their code to your
>     site you can test it and your streams by doing the following.
>
>      
>
>     Try this to view the stream:
>
>     1.      
>     http://www.longtailvideo.com/support/jw-player-setup-wizard?example=4
>
>     2.       Click ‘File Properties’ link
>
>     3.       Set file to rtmp://yourserver.com/oflaDemo
>     <http://yourserver.com/oflaDemo>
>
>     4.       Set type to rtmp
>
>     5.       Click ‘External Communication’
>
>     6.       Set streamer to rtmp://yourserver.com/oflaDemo
>     <http://yourserver.com/oflaDemo>
>
>     7.       Click ‘Update Preview & Code’
>
>      
>
>      
>
>      
>
>     *From:* red5-bounces at osflash.org <mailto:red5-bounces at osflash.org>
>     [mailto:red5-bounces at osflash.org
>     <mailto:red5-bounces at osflash.org>] *On Behalf Of *Brenden Wilson
>     *Sent:* Saturday, March 21, 2009 6:46 PM
>     *To:* Red5 at osflash.org <mailto:Red5 at osflash.org>
>     *Subject:* [Red5] Problem with the Basics
>
>      
>
>     Ok so I've been trying to figure out how to show a live video on
>     my website using Red5, Adobe Flash Media Live Encoder & an FLV
>     player that supports Red5.
>
>      
>
>     I basically want people to go to a page.... click play on the
>     video player and view a live stream of my webcam.  
>
>      
>
>      
>
>     I've setup Adobe FME to stream to this url:
>      rtmp://localhost/oflaDemo.  It has no problem connecting.
>      Stream: livesream  I then start streaming with FME.
>
>      
>
>     I don't know how to access this stream with my video player.
>      Shouldn't Red5 be making an FLV file of the stream some place?
>     * If I can find where the FLV file is, I should be good to go.*
>
>      
>
>     Any suggestions?  Sorry if this is an easy question, but I've
>     looked seemingly everywhere before posting.  
>
>
>     _______________________________________________
>     Red5 mailing list
>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   




More information about the Red5 mailing list