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

Configure Wowza Streaming Engine™ media server software to receive an encoded live stream from an MPEG-TS-based source over a TCP/IP connection, 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:

Configure the live streaming application in Wowza Streaming Engine Manager


Live streams are configured and managed in live applications in Wowza Streaming Engine. 

  1. In Wowza Streaming Engine Manager, click the Applications tab at the top of the page and then select your application in the contents panel.
  2. On the Setup tab of your application's page, make sure all Playback Types are selected.

Note: Every time you edit an application's configuration, Wowza Streaming Engine prompts you to restart the application. However, you can wait until all changes are completed before you restart.

Next, disable playback authentication.

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

  1. On the Playback Security page, select No client restrictions, and then click Save.

  2. Restart the application.

The application runs whenever Wowza Streaming Engine is running.

Publish the MPEG-TS source stream to Wowza Streaming Engine over TCP/IP


This section provides the basic steps for creating a .stream file to publish the encoded live stream to Wowza Streaming Engine over TCP/IP. Consult your MPEG-TS encoder documentation for information about how to configure an outgoing live stream.

Note: Wowza Streaming Engine currently does not support ingesting an MPEG-TS stream published over TCP/IP with SSL/TLS.

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

  1. In the Add Stream File dialog box, enter a name for the stream file, for example, mpegtstcp.stream, and enter the Stream URI.

  1. Click Add.

When your source encoder is connected, start the stream.

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

  1. In the Connect a Stream File dialog box, click the Application Name menu and choose your application.
  2. Click the MediaCaster Type menu and choose mpegtstcp.

  1. Click OK.

The Connection successful message is displayed.

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.

To test playback of the MPEG-TS TCP/IP stream mpegtstcp.stream make sure the encoder is sending a stream to your application in Wowza Streaming Engine. In playback URLs for stream files, the stream name includes the .stream file extension. For example, to use the HLS protocol to play a stream file named mpegtstcp.stream, use the following playback URL:

http://[address]:1935/[application-name]/mpegtstcp.stream/playlist.m3u8

More resources