Set up live streaming using an RTSP/RTP-based encoder in Wowza Streaming Engine

Configure Wowza Streaming Engine™ media server software to receive an encoded live stream from an RTSP/RTP-based source and play the live stream over multiple streaming protocols.

Before you start


You should complete the following tasks:

1. Authenticate live RTSP/RTP sources


By default, Wowza Streaming Engine requires that RTSP/RTP-based encoders provide a source user name and password before they can connect to a live application and publish a live stream. Complete the following steps to create a source account and manage source authentication.

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


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

  4. Click Add.

    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. By default, the source credentials are stored in [install-dir]/conf/publish.password.

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


     

  1. Under your source type, select Require password authentication.

  2. (Optional) Under Client Restrictions, select one of the options to control which IP addresses encoders can connect from. Restricting source publishing to specific IP addresses or blocking source publishing from specific IP address is recommended for security purposes.
  3. Click Save and then restart the application.

For more information about Source Security options, see Secure incoming sources.

2. Configure playback


Before connecting a live source and publishing a live stream, complete the following steps to configure playback support for your application.

  1. Click the Applications tab at the top of the page and then select your application in the contents panel.
  2. Click the Setup tab on your application's page and then click Edit.
  3. Under Playback Types, select any streaming protocols you need to support for playing streams sent to this application. The playback types enable transmuxing a source stream into MPEG-DASH, HLS, RTMP, and RTSP/RTP.
  4. Click Save.

  1. In the application's contents panel, click Playback Security, and then click Edit.


     
  2. Under Client restrictions, select No client restrictions to allow players to connect from any IP address.

  3. Click Save and then restart the application.

For more information about Playback Security options, see Playback security options.

3. Publish the source stream

To connect an RTSP/RTP-based source to Wowza Streaming Engine and publish a live stream, complete the following steps.

  1. In your encoder software, enter the following application connection settings:
     
    • Server URL – rtsp://[wowza-ip-address]:[port]/[application-name]
    • Stream Name – Any unique name to identify the stream.
    • User – [source-user-name]
    • password – [source-password]

    Depending on your encoder, you may need to enter this information in the following format instead:

    rtsp://[source-user-name]:[source-password]@[wowza-ip-address]:[port]/[application-name]

    Notes:  
    • You can find the IP address (Host - Server) and port (Host - Port) of the Wowza Streaming Engine instance in Wowza Streaming Engine Manager under Application Connection Settings from the Home page or the Sources (Live) page for your application. The default streaming port for RTMP is 1935.
    • See the documentation for your source encoder for help configuring it.
  2. Publish your live stream in your encoder software to send your live stream to Wowza Streaming Engine.

4. Verify the connection


To verify that Wowza Streaming Engine is receiving the published stream, complete the following steps in Wowza Streaming Engine Manager.

  1. Click Incoming Streams in the contents panel for your live application.

    You should see your stream listed with Active for the status.

  2. Click the stream name to see the uptime, network throughput, and other information about the published stream.

5. Test playback


  1. From your application's page in Wowza Streaming Engine Manager, click Incoming Streams.
  2. Click the name of your stream and then click Test Playback from your stream's page.
  3. Review and, if needed, edit the following information in the Test Playback window for your stream:
     
    • Server – The IP address or domain name of the server and the streaming port ([address]:[port]).

  4. (Optional) In the Streaming URLs section, select Secure URL for the streaming protocol you want to use to test playback if you have configured SSL/TLS for streaming over https, rtmps, or rtsps.
  5. Click the Copy icon for the streaming protocol you want to use to test playback.
  6. Paste the playback URL into your player or a mobile browser depending on the protocol. Alternatively, you can use the Wowza Video Test Players webpage.

For more information about playback URLs, see About playing Wowza Streaming Engine streams.

Next steps


More resources