Connect a live source to Wowza Streaming Engine

Live sources are encoders and cameras that publish H.264-encoded live streams to Wowza Streaming Engine™ media server software. This article describes how to use Wowza Streaming Engine Manager to create connection settings to manually configure RTMP-based and RTSP-based encoders to connect to a live streaming application in Wowza Streaming Engine.

Before you start

You should complete the following tasks:

Authenticate connections from live sources

By default, Wowza Streaming Engine requires that RTMP- and RTSP-based encoders provide a source user name and password before they can connect to a live application and publish a live stream. This section describes how to create a source account and manage source authentication in Wowza Streaming Engine Manager.

Create a live source account

A source account is used to authenticate connections from sources to live applications in Wowza Streaming Engine. You can create and store multiple source accounts for a Wowza Streaming Engine instance.

  1. In Wowza Streaming Engine Manager, click Server in the menu bar, click Source Authentication in the contents panel, and then click Add Source.

  2. Add Source User Name and Password information. The source name and password values are case-sensitive and can only contain alphanumeric, period (.), underscore (_), and hyphen (-) characters.

  3. Click Add.

Manage live source authentication settings

This section describes how to manage authentication for live RTMP and RTSP source streams.

  1. In your application's contents panel, click Source Security, and then click Edit.

  2. On the Source Security page, configure security options to manage connections from RTMP-based and RTSP-based sources, and then click Save.

    • Require password authentication (enabled by default for each source type) – To require password authentication, you must have a source account on the Source Authentication page in Wowza Streaming Engine Manager to require that source supply a matching source user name and password for the source account to connect to your application.
    • Open – If selected, allows a source to connect to your application without providing a source user name and password.
    • Publishing not allowed – Blocks all connection attempts from sources to your application.

Connect to a source

Many encoders can connect to live applications in Wowza Streaming Engine even if they aren't integrated with our software. You must manually enter application connection settings in the encoder configuration for these encoders. The Sources (Live) page for live applications in Wowza Streaming Engine Manager helps you to configure connection settings for the application.

  1. In your application's contents panel, click Sources (Live).

  2. Select your camera or encoder and then enter the information requested and follow the prompts to set up your source.
    • When necessary, use the connection settings for the application that are displayed in the upper-right corner of the Sources (Live) page to configure your encoder.

      • Server and Port – The default streaming host port settings (IP address and port) for the virtual host (VHost). By default, Wowza Streaming Engine uses TCP port 1935 for all forms of streaming. To change streaming host port settings for the VHost, go to the Virtual Host Setup page in Wowza Streaming Engine Manager.
      • Application – The name of the application.
      • Stream Name – The name of the incoming live stream. You must specify the stream name in your encoder configuration.
      • Login – A source user name and password for a source account. If the application requires that source connections be authenticated with a password (the default setting), you must enter a source user name and password for a source account in your encoder configuration to connect. If the application doesn't require that source connections be authenticated, the login information isn't required.
For information about how to enter these settings in your RTMP-based or RTSP-based encoder, consult your encoder documentation. We also provide the following articles to help you get started:

Verify the connection

To verify that the stream is published, click Incoming Streams for your application in Wowza Streaming Engine Manager, and then click the stream name.

The information page for the stream displays the uptime, network throughput, and other information about the published stream.

Test playback

Playback URLs

To test playback, you need the playback URLs for your stream and the playback types, or streaming protocols, you want to test. You can get playback URLs from the Test Playback window in Wowza Streaming Engine Manager or by entering information about the stream on the Video Test Players webpage. For more information about playback URLs, see About playing Wowza Streaming Engine streams.

The Test Playback window generates playback URLs for each protocol based on the page you're on when you click Test Playback. You can also edit the Server (IP address or domain name), Stream or Media File Name, and Application fields to update the playback URLs for all protocols as needed.

Test players

To play your stream, enter the playback URL into your player or a mobile browser, depending on the playback type. To learn more about stream playback, see the Players and Playback articles.

You can also test playback using the Video Test Players webpage. Select the tab for the protocol you want to test and enter the playback URL above the player. Entering the server (IP address or domain name), stream name, application name, and application type (VOD or live) will also generate the playback URLs for each protocol. Click Start to play your stream, and then click Stop when you're ready to end your test.

More resources