Stream to Wowza CDN from Wowza Streaming Engine

Learn how to stream directly to Wowza CDN™ and use its edge network to deliver streams to global audiences over HLS with Wowza Streaming Engine™ media server software. You can send a single stream or a group of transcoded renditions of a live stream directly to a Wowza CDN on Fastly endpoint. This workflow allows you to bypass transcoding in Wowza Video and just use the Wowza Video edge network to deliver the stream to viewers.

This article explains how to create a Fastly stream target for a pull-based workflow. This requires that you configure your firewall to allow proper traffic flow and security.

Alternatively, you may configure your connection to Wowza CDN on Fastly for a push-based workflow. This requires that you use an Amazon account for S3 storage, but eliminates the need to configure your firewall.

To configure your stream target using a pull connection, see Send Apple HLS and MPEG-DASH content to Amazon S3 using Wowza Streaming Engine.

Important: If you are using the provided Wowza Video player, you'll need to create a new livestream and update the player embed code on your website.

Before you start

You should be familiar with the following concepts:

  • Scaling Wowza Streaming Engine with Wowza CDN – Review the workflows for using Wowza CDN with Wowza Streaming Engine to determine which best fits your streaming needs: streaming directly to Wowza CDN, as described in this article, or sending a stream to Wowza Video for trancoding and delivery over Wowza CDN.

1. Create a Live HTTP Origin application

To send streams directly to Wowza CDN, you need to use a Live HTTP Origin application in Wowza Streaming Engine. Complete the following steps to create one if you haven't already.

Note: Content delivery networks, including Wowza CDN, don't support adaptive bitrate streaming based on SMIL files. To send a set of adaptive bitrate renditions to a CDN endpoint, you must use the Transcoder feature to produce renditions with the same stream name prefix.
  1. In Wowza Streaming Engine Manager, click the Applications tab, and then click Add Application in the contents panel.
  2. On the Add Application page, click Live HTTP Origin.
  3. In the New Application dialog box, name your application and click Add.
  4. Click Save to save the application with default values.

You will use this application's name and the names of any streams you send to it in the playback URL that you get from Wowza Video in the following steps.

2. Create a Wowza CDN on Fastly stream target in Wowza Video

  1. Sign into Wowza Video.
  2. Click Advanced on the menu bar, and then click Stream Targets.
  3. Click Add Target, select Wowza CDN on Fastly, and then click Add.
  4. Specify the Target Name. The Target Name is required but doesn't have to be unique, and it can't be longer than 255 characters.
  5. Select Enable a Custom Origin to connect your Wowza Streaming Engine instance to this stream target.
  6. Select the region where your Wowza Streaming Engine instance is located for Custom Origin Region.
  7. Set custom_origin_URL to your Wowza Streaming Engine instances domain or public IP address starting with http:// or https://. This will be the address for the location where you are running engine.
    Note: Your address must be a host address with no paths. For examples or
  8. If your instance of Engine is protected by a firewall, you must configure the firewall to allow incoming connections from the following Wowza servers on the appropriate port (80 or 443). For improved security, we strongly recommend you only add the following addresses to your firewall rules to allow Wowza Video to access Engine through your firewall using port forwarding:
    Note: September 13, 2022 — We'll soon be replacing the IP address above with the IP addresses listed here. To prepare, we recommend adding these addresses to your firewall rules so your integration continues to work seamlessly when the change occurs. When we've completed the transition to these new IP addresses, you should remove the old addresses from your rules. We expect the IP addresses below to remain static moving forward.

    We'll add information to the release notes when the transition is complete so you know when to remove the old addresses.
    We also recommend you configure Engine to utilize port 443 with SSL to help secure your server. Port-forwarding is necessary for most non-host based firewalls.

Wowza Video generates a target and displays the target detail page. You can find the target's playback URL on the Playback URLs tab.

3. Test the connection 

Streams sent directly to Wowza CDN targets for distributed delivery are first sent to the Wowza Streaming Engine Live HTTP Origin application and then played using a Wowza CDN playback URL provided by Wowza Video.

  1. Start the stream in the H.264 camera or encoder that's sending the stream to your live application in Wowza Streaming Engine.
  2. Verify that the stream is published by clicking Incoming Streams for your application and then clicking the stream name.

    The stream detail page displays the Status of the stream (Active) as well as details about connections, uptime, and throughput for the published stream. 
  3. In Wowza Video, on your stream target page, get the playback URL by clicking Playback URLs and then HLS. For example,[application-name]/[stream-name]/playlist.m3u8
  4. Verify that the stream is playing by pasting the playback URL into an HLS player.
  5. Stop the stream in the source camera or encoder to end your test connection.

Next steps

Viewer data for Wowza CDN on Fastly stream targets is available in near-real time. Use the following resources to get viewer data:

More resources