安装并使用 Wowza 发布你的 RTMP 直播流

  I. 下载 Wowza
        官方下载地址  http://www.wowza.com/pricing/installer ,选择适合你自己的平台的版本进行下载。
        作者上传了一个 Windows 版本的和 一个 Linux 版本的 RPM 到 CSDN 资源,如果看官嫌从官网下载速度太慢,可以点击下载:
WowzaMediaServer-3.6.2.exe
WowzaMediaServer-3.6.2.rpm.bin
         II. 获取许可密钥
        如果手里没有 license,可以到 Wowza 官网注册一个账户,Wowza 会发送给你一个 30 天的试用许可密钥。
         III. 安装 Wowza
        以 Windows 为例,直接运行步骤 I 下载的 WowzaMediaServer-3.6.2.exe。安装过程中 Wowza 会要求你输入密钥,输入步骤 II 得到的密钥即可安装成功。
        注意:确保服务器端口 1935 没有被其他程序占用,而且没有被防火墙屏蔽。
         IV. 配置 Wowza
        Wowza 安装默认支持 VOD,直播需要我们手工配置:
                1. 在 %Wowza%/applications 目录下创建新目录 live;
                2. 在 %Wowza%/conf 目录下创建新目录 live,并将 %Wowza%/conf/Application.xml 文件拷贝至该目录下;
                3. 编辑步骤 2 拷贝后的 Application.xml 进行以下改动(有些配置可能已经存在):
                        a. 设置 Streams/StreamType 属性:
<StreamType>live</StreamType>
                        b. 设置 HTTPStreamers 属性:
<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
                        c. 设置 Streams/LiveStreamPacketizers 属性:
<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>
                        d. 设置 RTP/Authentication/PlayMethod 属性:
<PlayMethod>none</PlayMethod>
         V. 启动 Wowza 服务器
        调试 Wowza 可以使用 Standalone 模式启动:
        开始 -> 程序 -> Wowza Media Server 3.6.2 -> Wowza Startup。
         VI. 发布直播流
        使用你的 RTMP Client 发送 RTMP 流到 Wowza,比如 Server URL 为 rtmp://172.21.30.104/live,流名为 xxxxS_2059a0734ccfqvga,成功连接 Wowza 服务器。
        可以打开 %Wowza%/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html,Server 栏输入 rtmp://172.21.30.104/live,Stream 栏输入 xxxxS_2059a0734ccfqvga,点击 Connect 按钮,观看直播。效果如下图。
Wowza 直播效果图
参考自 Wowza 官方教程: http://www.wowza.com/forums/content.php?36
  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Wowza IDE User’s Guide》,英文版,PDF 格式,大小 285 KB。截至 20130925,Wowza 官方公布的最新 IDE 用户手册。 内容简介: What is the Wowza IDE? Wowza IDE is an integrated development environment for creating extensions, configuring and managing the Wowza Media Systems product line. It is an application built on top of the popular Eclipse application framework from the Eclipse Foundation. You can learn more about Eclipse at http://www.eclipse.org. The Wowza IDE is available for the Windows and Mac OS X platforms. This version of the Wowza IDE includes the Eclipse version 3.5.1 Java development tools as well as custom IDE features to enhance the development of Wowza Media Server modules and server extensions. The remainder of this document covers the process for developing Java server extensions. 目录: Introduction.......................................................................................................................5 Before Installation.................................................................................................................................................5 Installing the Wowza IDE......................................................................................................................................6 Extending Wowza Media Server Using Java.....................................................................7 Project and Module Class Creation.......................................................................................................................7 Import ModuleServerSide Example.....................................................................................................................10 Application.xml Configuration.............................................................................................................................10 Server Startup....................................................................................................................................................11 Module Testing...................................................................................................................................................12 Server Extension Wizards...................................................................................................................................13

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值