• How to set up FastVDO SmartCast live stream encoder with Wowza Media Server (MPEG-TS)

    This article provides step-by-step instructions for using the FastVDO SmartCast live stream encoder with a Wowza™ media server for live MPEG-TS streaming. (Flash Player version or later is required.)

    Set up SmartCast

    1. Connect the SmartCast box to your router with the Ethernet cable (provided).

    2. Connect the audio/video source to the SmartCast box with the RCA cable (provided).

    3. Power up the SmartCast box with the power supply (provided). After powerup, the PWR and LINK LEDs should be glowing solid.

    4. Register with SmartCast Control Center and add your SmartCast to your account.

    5. Configure the required SmartCast parameters for streaming on Channel Settings.

    6. Set Stream Format to MPEG2-Transport Stream in the Stream Settings.

    7. Start streaming to the Wowza media server IP address.

      Note:Use the media server's internal IP address if it's in the same subnet as SmartCast or use the media server's external IP address and make sure the ports used for streaming are forwarded to the media server's internal IP address. If you encounter any problems while setting up SmartCast, post your queries along with a detailed description of the problem in the SmartCast Forum.

    Set up Wowza media server

    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 [install-dir]/conf/Application.xml file to [install-dir]/conf/rtplive.

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

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

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

        • Change the RTCPWaitTime to 10.

    3. Start the Wowza media server.

    4. Play the stream:

      1. Open [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) in a web browser.

      2. Set the Server and Stream values as below:
        Server: rtmp://[wowza-ip-address]/rtplive
        Stream: udp://[port]
        The [port] is the port to which the MPEG-TS stream is being sent and [wowza-ip-address] is the IP address of the Wowza media server.

      3. Click the Connect or Play button. The Wowza media server takes some time to render video to the first client connection.

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

    • Configure the encoder to send the stream to the Wowza media server IP address. If the 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 media server.

    • If you have problems getting either the audio or video to play in Flash, check the Flash Player version number (Flash Player version or above 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.