Note: For use with Wowza Media Server 3 and greater.
Configure Wowza Media Server
- Create application folder [install-dir]/applications/live.
- Create configuration folder [install-dir]/conf/live and copy [install-dir]/conf/Application.xml to this new folder.
- Edit the newly copied Application.xml file and make the following changes (some of these settings may already be present):
Note: Right-click HERE to download a pre-configured version of Application.xml.
- Set the Streams/StreamType property to:
Code:<StreamType>live</StreamType>
- Set the HTTPStreamers property to:
Code:<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
- Set the Streams/LiveStreamPacketizers property to:
Code:<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>
- Set the RTP/Authentication/PlayMethod property to:
Code:<PlayMethod>none</PlayMethod>
- Set the Streams/StreamType property to:
- Specify a username and password in the [install-dir]/conf/publish.password file to control publishing access. Open this file in a text editor and enter a new line with a username and password. For example, to add the username myuser and the password mypassword:
Code:# Publish password file (format [username][space][password]) # username password myuser mypassword
- Start Wowza Media Server.
Configure Livu App
- Configure the Livu app with the appropriate Broadcast Settings:
- In Host, enter the Wowza Media Server IP address.
- In Port, enter the port used for streaming. By default, Wowza Media Server binds to TCP port 1935 for all forms of streaming.
- In App, enter the Wowza Media Server application name and the stream name. The following example shows what you should enter in this field if your application name is live and your stream name is myStream.
Code:/live/myStream
- Enter the username and password from the [install-dir]/conf/publish.password file into the User Name and Password fields.
- Specify encoding settings for the remaining fields, such as the Stream Type, Video Size, Frame Rate, and so on. When you're done, click Save.
- In Host, enter the Wowza Media Server IP address.
- To broadcast to Wowza Media Server, click the Broadcast icon in the upper-left corner of the Livu app.
If everything is configured correctly, you'll see the following messages displayed in the Livu app:
If you see the following message, make sure that the contents of your [install-dir]/conf/publish.password file match what you entered in the Livu Broadcast Settings.Code:Stream Started
If you see the following message, review the troubleshooting help at http://stevemcfarlin.com/livu/help.html.Code:Connection Error
Code:Stream Error
- To stop the broadcast to Wowza Media Server, click the Broadcast icon in the upper-left corner of the Livu app again.
Playback
Note: In the following examples, [wowza-ip-address] is the IP address or domain name of the server running Wowza Media Server.
Adobe Flash Player (RTMP)
In Wowza Media Server 3.5, double-click [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html, enter the information below, and then click the Connect button.
Server: rtmp://[wowza-ip-address]/live
Stream: myStream
Stream: myStream
To play the stream from a remote computer, copy the FlashRTMPPlayer folder to a web server, and then connect to: http://<webserver>/FlashRTMPPlayer/player.html.
Note: In Wowza Media Server 3.1.2 and earlier, double-click [install-dir]/examples/LiveVideoStreaming/client/live.html, enter the information below, and then click the Play button.
To play the stream from a remote computer, copy the client folder to a web server, and then connect to: http://<webserver>/client/live.html.
Server: rtmp://[wowza-ip-address]/live
Stream: myStream
Stream: myStream
To play the stream from a remote computer, copy the client folder to a web server, and then connect to: http://<webserver>/client/live.html.
Adobe Flash Player (San Jose/Adobe HDS)
In Wowza Media Server 3.5, double-click [install-dir]/examples/LiveVideoStreaming/FlashHTTPPlayer/player.html, enter the information below, and then click the Connect button.
Stream: http://[wowza-ip-address]:1935/live/myStream/manifest.f4m
To play the stream from a remote computer, copy the FlashHTTPPlayer folder to a web server, and then connect to: http://<webserver>/FlashHTTPPlayer/player.html.
Note: In Wowza Media Server 3.1.2 and earlier, double-click [install-dir]/examples/LiveVideoStreaming/clientOSMF/bin-release/LiveOSMFPlayer.html, enter the information below, and then click the Play button.
To play the stream from a remote computer, copy the clientOSMF/bin-release folder to a web server, and then connect to: http://<webserver>/bin-release/LiveOSMFPlayer.html.
Stream: http://[wowza-ip-address]:1935/live/myStream/manifest.f4m
To play the stream from a remote computer, copy the clientOSMF/bin-release folder to a web server, and then connect to: http://<webserver>/bin-release/LiveOSMFPlayer.html.
Note: The stream can only be played from an OSMF-based Flash player that's embedded in a webpage.
Apple iOS device (Cupertino/Apple HLS)
Enter the following URL into the Safari® web browser on the device:
URL: http://[wowza-ip-address]:1935/live/myStream/playlist.m3u8
Note: The Apple® iPhone® 3GS (and older) and iPod touch® devices require that video be encoded using H.264 format (Baseline profile level 3 or lower) and AAC or MP3 stereo audio.
Note: This stream can also be played using the Safari web browser or QuickTime 10.x on a computer running Mac OS® X Snow Leopard version 10.6 or later.
Microsoft Silverlight (Smooth Streaming)
In Wowza Media Server 3.5, double-click [install-dir]/examples/LiveVideoStreaming/SilverlightPlayer/player.html, enter the information below, and then click the Connect button.
Stream: http://[wowza-ip-address]:1935/live/myStream/Manifest
To play the stream from a remote computer, copy the SilverlightPlayer folder to a web server, and then connect to: http://<webserver>/SilverlightPlayer/player.html.
Note: In Wowza Media Server 3.1.2 and earlier, double-click [install-dir]/examples/LiveVideoStreaming/clientSilverlight/Default.html, enter the information below, and then click the Play button.
To play the stream from a remote computer, copy the clientSilverlight folder to a web server, and then connect to: http://<webserver>/clientSilverlight/Default.html
Stream: http://[wowza-ip-address]:1935/live/myStream/Manifest
To play the stream from a remote computer, copy the clientSilverlight folder to a web server, and then connect to: http://<webserver>/clientSilverlight/Default.html
Note: The Microsoft® Silverlight® player requires that both audio and video be present for playback. For live streaming only, the key frame frequency (which can be set directly in some encoders or is gop/fps) must be between 1 and 4 seconds (2 seconds is recommended). Anything greater than 4 seconds may cause playback to freeze.
RTSP/RTP player
Enter the following URL into the RTSP/RTP player:
URL: rtsp://[wowza-ip-address]:1935/live/myStream
Note: Be sure to carefully follow the instructions provided in How to troubleshoot RTSP/RTP playback to properly configure Wowza Media Server for RTSP/RTP streaming.
Additional Resources
- How to set up live streaming using an RTMP-based encoder
- How to troubleshoot RTSP/RTP playback
- How to set up an application for RTSP/RTP streaming
- How to configure Apple QuickTime player for RTSP/RTP playback on Windows
- How to configure VLC player for RTSP/RTP playback (RTSP/RTP interleaved and tuning)
Updated: For Wowza Media Server 3.5.0 on 01-28-2012
- Click here, if you are having problems or would like to discuss this article.
- Leave a comment below, if there is some aspect of this article you would like to see changed or improved.


Article List
Categories
Wowza Media