天天看点

red5 server使用笔记(一)

red5是什么?

    red5是一个采用Java开发,开源的Flash流媒体服务器。它支持把音频(MP3)和视频(FLV)转换成播放流;录制客户端播放流(只支持FLV);共享对象;现场直播流发布;远程调用。Red5使用RSTP作为流媒体传输协议,在其自带的一些示例中演示了在线录制、flash流媒体播放、在线聊天、视频会议等一些基本功能。 程序员还可以基于red5、根据自己的需求开发自己的视频应用程序。

    由于没有安装 JDK,所以安装完成后启动 red5 时报告错误“JAVA_HOME environment variable not set!”。于是下载 JDK1.6 运行环境,文件是 jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe,安装到 C:\Java\jre6,然后配置系统环境变量 JAVA_HOME 等于 C:\Java\jre6,注意不要写成 C:\Java\jre6\bin。不用重新启动机器,red5 就可以启动了,启动后显示一个 DOS 窗口,不要关闭它!

<a href="http://blog.51cto.com/attachment/201003/095639679.png" target="_blank"></a>

    This page is used to test the proper operation of the Red5 server after it has been installed. If you can read this page it means that the Red5 server installed at this site is working properly.

    If you would like to watch an instructional video on Red5 and have access to YouTube, click here

    If you prefer to jump right in, follow these steps:

    - Install a ready-made application

    - Launch a demo

    Further information about Red5 can be found at any of these links: official homepage | wiki | old homepage

    Be sure to subscribe the mailing list to get help or to be notified about new versions. You can also use the mailing list to ask questions about Red5.

    进入管理页面:

    Adding or modifying admin users:

    This page will allow you to add or modify users, make sure you remove it when you are done since it allows anyone to add users to your admin.

    Instructions:

    2. Start your red5 server

    3. Put the “admin.jsp” file in “red5/webapps/root” directory

    5. Enter your info and submit

    6. Go to the admin panel and login

    按照这里的提示做,就可以进入管理页面,但还是看不到什么很有用的功能。但这里的演示到是很有用的,分析一下它们的代码应该能学到很多东西的。

本文转自网眼51CTO博客,原文链接:http://blog.51cto.com/itwatch/286430,如需转载请自行联系原作者