wowza简介

1、 下载地址:
http://www.wowza.com/pricing/installer
(需要配置java环境,在终端输入java –version出现版本号说明配置成功)

2、启动服务器
<1>启动
在Mac OS平台上,你即可以采用从 /Applications/Wowza Media Server 3.6.2/Wowza Startup 脚本启动,也可以通过命令行启动:
打开终端窗口,输入如下命令:
code:
cd /Library/WowzaMediaServer/bin ./startup.sh
<2>停止
要停止Wowza Media Server,你可以从/Applications/Wowza Media Server 3.6.2/Wowza Shutdown 脚本停止服务,也可以通过命令行停止服务:
打开终端窗口,然后输入如下命令:
code:
cd /Library/WowzaMediaServer/bin ./shutdown.sh

3、运行终端应用
<1>运行
运行终端应用,输入如下命令:
code:
sudo launchctl load -w /Library/LaunchDaemons/com.wowza.WowzaMediaServer.plist
<2>停止:
运行终端应用,输入如下命令:
code:
sudo launchctl unload -w /Library/LaunchDaemons/com.wowza.WowzaMediaServer.plist

4、流媒体所使用的端口:
默认情况下,Wowza Media Server 3.5 使用如下的端口进行流媒体传输。你必须在你的防火墙上打开这些端口,才能正常进行流传输。

    TCP 1935: RTMP (所有变种), RTSP, Microsoft Smooth Streaming, Apple HTTP Live Streaming (HLS), WOWZ™
    UDP 6970-9999: RTP UDP 流
    TCP 8084-8085: JMX/JConsole 监控和管理
    TCP 8086: HTTP 管理

注意: 默认情况下,Wowza Media Server 通过TCP 1935端口进行所有形式的流传输。要配置其它端口进行流传输,请参考如何用其它端口进行流传输。

5、如何用其它端口进行流传输:
要用其它端口进行流传输,请用一个文本编辑器修改[install-dir]/conf/VHost.xml文件,在HostPortList/HostPort/Port添加其它端口号,多个端口用逗号隔开。请确认你的服务器上没有其它应用或软件正在使用这些端口。下面列出了一些用于流媒体传输的常用端口:

    TCP 80: RTMPT, Microsoft Smooth Streaming, Apple HTTP Live Streaming (HLS), Adobe HTTP Dynamic Streaming (HDS)
    TCP 443: RTMPS, HTTPS
    TCP 554: RTSP

注意: Wowza Media Server不能和其它应用共用同样的端口。

6、如何验证Wowza Media Server处于正常运行状态:
要验证Wowza Media Server 3.5 处于正常运行状态,请打开Web浏览器,输入如下URL:

http://[wowza-ip-address]:1935

[wowza-ip-address] 就是Wowza Media Server的IP地址。正常情况下,你会在页面上看到Wowza Media Server的版本号,这表示服务正常运行。如果没有, 那你就要确认服务是否在运行,并且TCP 1935端口是否在你的路由器、防火墙以及软件防火墙上被打开了(例如linux上的iptables)。

7、实现边直播边记录
<1>在~/applications下创建一个live文件夹,~表示安装目录
<2>在~/conf下创建一个live文件夹,并把conf目录下的Application.xml复制进去
<3>编辑Application.xml,设置Streams/StreamType属性(live:仅直播;record:仅记录;live-record:既直播又记录)
live
注:记录的视频保存在~/content目录下

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、付费专栏及课程。

余额充值