WOWZA的安裝及(VOD+LIVE)簡單配置和VLC RTP推流

1. 下載wowza

進入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>

試用wowza Stream Engine服務運行

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章