Publish and play a live stream from an MPEG-TS encoder in Wowza Streaming Engine

Configure Wowza Streaming Engine™ media server software to receive an encoded live stream from an MPEG-TS-based source and play the live stream over all supported streaming protocols.

Note: With Wowza Streaming Engine 4.7.5.01 and later, you can ingest an MPEG-TS stream with low overhead audio stream (LOAS) audio lossless coding (MPEG-4 ALS) audio and deliver it using MPEG-DASH.

Before you start


You should complete the following tasks:

1. Configure playback


  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.

2. Connect to a source stream


This section provides the basic steps for creating a .stream file to publish the encoded live stream to Wowza Streaming Engine.

Note: Consult your MPEG-TS encoder documentation for information about how to configure an outgoing live stream.

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

  2. Click Add Stream File.
  3. In the Add Stream File dialog box, enter a name for the stream file, for example, mpegts.stream.

  4. For Stream URI, enter the URI to connect to the source. To connect over UDP, rather than TCP/IP, specify udp://0.0.0.0:10000.

    If you're receiving a multicast stream, change 0.0.0.0 to the multicast address of the stream. If needed, you can also use a unique port, for example, udp://0.0.0.0:26400.

  5. Click Add.

    When your source encoder is connected, start the stream.

  6. Click Stream Files in the contents panel and then click the Connect icon for your MPEG-TS  .stream file.

  7. In the Connect a Stream File dialog box, click the Application Name menu and choose your application.
  8. Click the MediaCaster Type menu and choose one of the following options:
     
    • rtp – Connect over UDP.
    • mpegtstcp – Connect over TCP/IP.

  9. Click OK.

    The Connection successful message displays.

3. 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.

4. Test playback


  1. In Wowza Streaming Engine Manager, in the contents panel for your application, click Stream Files.
  2. In the Stream Files list, click the name of your stream file.
  3. From your stream file's page, click Test Playback.
  4. 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]).

    Note: The stream name should include the .stream file extension.
  5. (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.
  6. Click the Copy icon for the streaming protocol you want to use to test playback.
  7. 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