[wowza]如何发布一个直播流(MPEG-TS based encoder)英文版
[wowza]如何发布一个直播流(MPEG-TS based encoder)英文版 How to publish and play a live stream (MPEG-TS based encoder)
英文原版配置,最后有简单操作步骤
This tutorial provides the basic steps for using a live encoder that publishes a stream using the MPEG2 Transport Stream protocol (MPEG-TS). Follow these steps to setup an application named live to stream live content to Adobe Flash player, Microsoft Silverlight player, Apple iOS devices, and RTSP/RTP based players & devices.
Updated for Wowza Media Server 2.2.0 (19 November 2010)
- Create application folder [install-dir]/applications/live
- Create configuration folder [install-dir]/conf/live and copy [install-dir]/conf/Application.xml into this new folder
- Edit the newly copied Application.xml file and make the following changes (some of these settings may already be present):
- Set the Streams/StreamType property to: live
Code:
<StreamType>live</StreamType> - Set the HTTPStreamers property to: cupertinostreaming, smoothstreaming, sanjosestreaming
Code:
<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers> - Set the Streams/LiveStreamPacketizers property to: cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer:
Code:
<LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
Note cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer are used for iOS, Silverlight and Flash HTTP clients. You can remove packetizers that you don't need. - Set the RTP/Authentication/PlayMethod to: none
Code:
<PlayMethod>none</PlayMethod>
Download: Right click Application.xml to download a pre-configured version of Application.xml.
- Using a text editor, create the file [install-dir]/content/mpegts.stream (有多个流的话此名称做如下变化test.stream test2.stream,mpegts可随意变化,stream不能变动)set the contents of this file to udp://0.0.0.0:10000 (if you are receiving a multicast stream, change the 0.0.0.0 part to the multicast address of the stream)(0.0.0.0可以设置成VLC的服务器IP,端口也可改变,但需要vlc也做相应改变)
- Using a text editor, edit the file [install-dir]/conf/admin.password and add a username and password that will be used to start and stop the publishing of the MPEG-TS stream (below is an example of the file with the username myuser and password mypassword):
Code:
# Admin password file (format [username][space][password])
# username password
myuser mypassword - Start Wowza Media Server 2
- Configure the MPEG-TS based encoder to send a live stream to the IP address of the server running Wowza Server using port 10000
- Use the Stream Manager to start the MPEG-TS stream
- 在浏览器中打开 http://[wowza-address]:8086/streammanager,输入用户名、密码,做下面配置
- Open a web browser and enter the url: http://[wowza-address]:8086/streammanager
- Enter your admin username and password from above
- Click the [start-receiving-stream] link just below the live application folder
- Select the MediaCaster Type: rtp
- Enter mpegts.stream into the Stream Name field
- Click OK
热门文章推荐
- [rtmp]流媒体协议RTMP,RTSP与HLS有什么不同?
- [Wowza]流媒体服务器Wowza Media Server的安装与启动教程
- [wowza]wowza推流发布和播放(推流RTMP流)介绍
- [wowza]Wowza Streaming Engine 4的安装与配置教程
- [wowza]Wowza Media Server 安装教程(含windows/Linux平台)
- [wowza]RTP直播流推送到另一个远端的服务器
- [AS3]Wowza Media Server服务器
- [wowza]wowza推RTSP流要求用户名密码
请稍候...