1. 下载wowza
2. 注册
3. 安装
运行安装包安装, 填入wowza发到邮箱的License Key.
4. 配置
a. 测试VOD
登录 localhost:8088 进入home界面查看[Test Video] -> [Test Players] 测试VOD是否正常
b. 配置live
[Applications] -> [live] -> [Stream Files] -> [Add Stream File]
在“Add Stream File”界面,
Enter a name for the new Stream File: *
vlc
Stream URI *
udp://127.0.0.1:5004
[Return to Stream Files] -> 点击箭头图标 connect to this stream
Application Instance
*Connect to default application instance: _definst_*
MediaCaster Type
[Incoming Streams] -> 查看Status是否Active
进入\Wowza Media Systems\Wowza Streaming Engine 4.6.0\examples
运行 installall 可以安装一些现成的application,不用自己配置。包括live、videochat、webcamRecording
c. vlc 推流
启动VLC
[Media] -> [stream...] -> [Add...] -> select a media content -> [Stream] -> [Next] -> RTP / MPEG Transport Stream -> [Add] -> "Address" 127.0.0.1 "Base Port" 5004 -> [Next] -> Unselect "Activate Transcoding" -> [Next] -> [Stream]
查看live网络状态
live > Incoming Streams > vlc.stream
or
live > Monitoring
5. Test HTML
<html>
<body>
Live
<br>
<br>
<a href="http://10.0.0.6:1935/live/vlc.stream/playlist.m3u8">http://10.0.0.6:1935/live/vlc.stream/playlist.m3u8</a>
<br>
<br>
<a href="rtsp://10.0.0.6:1935/live/vlc.stream">rtsp://10.0.0.6:1935/live/vlc.stream</a>
<br>
<br>
VOD
<br>
<a href="http://10.0.0.6:1935/vod/mp4:sample.mp4/playlist.m3u8">http://10.0.0.6:1935/vod/mp4:sample.mp4/playlist.m3u8</a>
<br>
<br>
<a href="rtsp://10.0.0.6:1935/vod/sample.mp4">rtsp://10.0.0.6:1935/vod/sample.mp4</a>
</body>
</html>