• How to use miniCaster live stream encoder with Wowza Media Server

    The following are step by step instructions for setting up the miniCaster encoder for live streaming to Wowza Media Server. For more information about the miniCaster, see http://www.minicaster.com/.


    1. Create application folder [install-dir]/applications/live
    2. Create configuration folder [install-dir]/conf/live and copy [install-dir]/conf/Application.xml into this new folder
    3. Edit the newly copied Application.xml file and make the following changes (some of these settings may already be present):

      1. Set the Streams/StreamType property to: live
        <StreamType>live</StreamType>
      2. Set the HTTPStreamers property to: cupertinostreaming, smoothstreaming, sanjosestreaming
        <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
      3. Set the Streams/LiveStreamPacketizers property to: cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer:
        <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
      4. Set the RTP/Authentication/PlayMethod to: none
        <PlayMethod>none</PlayMethod>


      Download: Right-click Application.xml to download a pre-configured version of Application.xml.

    4. Edit [install-dir]/conf/publish.password and add a user name and password to control publishing access (below is an example of the file with the username myuser and password mypassword):
      # Publish password file (format [username][space][password])
      # username password
      myuser mypassword
    5. Using a text editor, create the file [install-dir]/content/mpegts.stream set the contents of this file as shown in the example below:
      udp://0.0.0.0:10000
    6. Log into http://my.minicaster.com/to configure the device with the appropriate Broadcast Settings. Set the Delivery Profile with the following:
      Host: [wowza-ip-address]
      Delivery Mode: RTP
      Port: 10000


    7. Start Wowza Media Server

    8. To broadcast to Wowza Media Server, set the Stream switch to Onfrom the my.minicaster.com web interface.

      Note: If everything is set up correctly, you'll see the following indicators in the my.minicaster.com web interface:
      Input signal is green
      Now Streaming... status message
    9. Publish the stream using StreamManager

      Refer to the Publish section of the MPEG-TS tutorial


    Note: If you receive an error, double check that the contents of your [install-dir]/content/mpegts.stream file matches what you have entered in the miniCaster Delivery Profile settings.

    Playback
    • To play using Adobe Flash player (RTMP):

      Wowza Media Server 3.5.0 and later
      Double-click [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html, enter the information below, and then click the Connect button.

      Wowza Media Server 3.1.2 and earlier
      Double-click [install-dir]/examples/LiveVideoStreaming/client/live.html, enter the information below and click the Play button.

      Server: rtmp://[wowza-ip-address]/live
      Stream: mpegts.stream
    • To play using Adobe Flash Player (San Jose/Adobe HTTP Dynamic Streaming):

      Wowza Media Server 3.5.0 and later
      Double-click [install-dir]/examples/LiveVideoStreaming/FlashHTTPPlayer/player.html, enter the information below, and then click the Connect button.

      Wowza Media Server 3.1.2 and earlier
      Double-click [install-dir]/examples/LiveVideoStreaming/clientOSMF/bin-release/LiveOSMFPlayer.html, enter the information below and click the Play button.

      Stream: http://[wowza-ip-address]:1935/live/mpegts.stream/manifest.f4m
      Note: The HTTP link above will not play directly in a browser. The stream can only be played from an OSMF based Flash player that is embedded in an HTML page. To play the stream from a remote system, copy the contents of the clientOSMF/bin-release folder to a web server.

    • To play using an Apple iOS device (Cupertino/Apple HTTP Live Streaming):

      Enter the following URL into the Safari web browser:

      http://[wowza-ip-address]:1935/live/mpegts.stream/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. The iPhone 3GS and newer devices support Baseline profile. See How to find Apple iOS device supported profile and level information.

      Note: This stream can also be played by using the Safari web browser or QuickTime 10.x on a computer that's running OS X Snow Leopard version 10.6 or later.

    • To play using Microsoft Silverlight (Smooth Streaming):

      Wowza Media Server 3.5.0 and later
      Double-click [install-dir]/examples/LiveVideoStreaming/SilverlightPlayer/player.html, enter the information below, and then click the Connect button.

      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.

      http://[wowza-ip-address]:1935/live/mpegts.stream/Manifest
    • To play using RTSP/RTP player or device:

      Enter the following URL into the RTSP/RTP player:

      rtsp://[wowza-ip-address]:1935/live/mpegts.stream


    See Also:
    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

    Note: [wowza-ip-address] is the IP address or domain name of the server running Wowza Media Server.

    Note: The above tutorial is only one way to stream live from a miniCaster encoder to Wowza Media Server. The web interface to the miniCaster device has many options for configuring input and output streams. When streaming to Wowza Media Server, it's important that the Delivery Profile is configured appropriately for your Wowza Media Server instance.

    Note: It's very important to carefully follow the instructions provided in the How to troubleshoot RTSP/RTP playback to properly configure Wowza Media Server for RTSP/RTP streaming.


    Originally Published: 02-01-2012.
    Updated: 01-06-2015.


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