• How to use FastVDO SmartCapture Pro live stream encoder with Wowza Media Server (native RTP)

    This article provides step-by-step instructions for using the FastVDO SmartCapture Pro H.264 live stream encoder with a Wowza™ media server. (Flash Player version 9.0.115.0 or greater is required.)

    1. Download and install the latest Wowza media server software.

    2. Create a new Wowza media server application for live streaming (may already exist if examples installed):

      1. Create the folder [install-dir]/applications/rtplive.

      2. Create the folder [install-dir]/conf/rtplive.

      3. Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/rtplive.

      4. Open the newly copied Application.xml in a text editor and make the following changes:

        • Change <Streams>/<StreamType> to rtp-live.

        • Change <RTP>/<AVSyncMethod> to systemclock.

    3. Startup the Wowza media server.

    4. Run the FastVDO SmartPlayer, configure the video/audio settings, generate an SDP file, and start streaming:

      1. Select the SmartCapture check box in the player.

      2. Select Tools > Device Settings and configure the video and audio settings as desired (a combined bitrate of greater than 400 Kbps may cause playback issues for users with slower Internet connections).

      3. Select Tools > Streaming > Generate sdp, click the Generate button, and then save the SDP file to the Wowza media server [install-dir]/content folder with the file name fastvdo.sdp.

      4. Select Tools > Streaming > Live Streaming to start the RTP stream.

    5. To play the stream, double-click [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html (Wowza Media Server 3.5 or later) or [install-dir]/examples/LiveVideoStreaming/client/live.html (Wowza Media Server 3.1.2 or earlier), set Server to rtmp://[wowza-ip-address]/rtplive and Stream to fastvdo.sdp, and then click the Connect or Play button.

    Notes:
    • [install-dir]:
      Windows (default): C:\Program Files\Wowza Media Systems\Wowza Media Server [version]
      OS X: /Library/WowzaMediaServer
      Linux: /usr/local/WowzaMediaServer

    • Many players won't accept stream names that look like URLs. You can use the StreamNameAlias package to create an alias for the stream name URL. This package can also be used to secure Wowza Media Server so that it will only be able to restream URLs that you specify.

    • Configure the encoder to send the stream to the Wowza Media Server IP address. If the Wowza Media Server is behind a router that uses NAT (network address translation), send it to the router's external IP address and be sure to map the UDP port to the correct internal IP address. Be sure that the time-to-live value on the encoder is high enough so that the stream can reach the Wowza Media Server. (time-to-live explained).

    • If you have problems getting either the audio or video to play in Flash, check the Flash Player version number (Flash Player version 9.0.115.0 or later is required).

      If you still have problems, do the following:

      1. Turn on Wowza media server debug logging (open the [install-dir]/conf/log4j.properties file in a text editor and change the log4j.rootCategory on the first line from INFO to DEBUG).

      2. Try the encoder several more times, then place your [install-dir]/logs folder along with screenshots of the encoder setup screens and the LiveVideoStreaming player screen into a compressed (zipped) folder. (See How to create a compressed zip file in Windows, OS X, and Linux.)

      3. Submit a Wowza Streaming Engine Technical Support Ticket. (Technical support is included with all active subscriptions and maintenance and support contracts.) In the support ticket form, be sure to provide a detailed description of the problem and attach the zipped folder that has your logs folder and screenshots.

    Originally Published: 10-01-2010.

    If you're having problems or want to discuss this article, post in our forum.