Pull streams from Wowza Streaming Engine to Wowza CDN

With Wowza Streaming Engine™ media server software, you can stream directly to Wowza CDN™ and use its edge network to deliver streams to global audiences over HLS. You can send a single stream or a group of transcoded live stream renditions straight to a Wowza CDN on Fastly endpoint for distribution.

Pull-based workflow overview

This guide provides information about creating a Fastly stream target for a pull-based CDN workflow that bypasses transcoding in Wowza Video. These steps require configuring your firewall to allow proper traffic flow and security. After a successful setup, you should be able to use the Wowza Video edge network to deliver your live stream to viewers.

You can also set up your connection to Wowza CDN on Fastly for a push-based workflow that eliminates the need to configure your firewall. To configure your stream targets using a push connection, see:

Before you start


Before you start, review Scaling Wowza Streaming Engine with Wowza CDN to better understand the various workflows for using Wowza CDN with Wowza Streaming Engine. You should be able to determine which workflow best fits your streaming needs:

  • Streaming directly to Wowza CDN (pull-based workflow), as described in this guide.
  • Sending a stream to Wowza Video for transcoding and delivery over Wowza CDN.

1. Create a Live HTTP Origin application


To send streams directly to Wowza CDN, 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 sidebar navigation.
  2. On the Add Application page, click Live HTTP Origin.
  3. In the New Application modal, name your application and click Add.
  4. Click Save to save the application with default values.
  5. On the Properties tab, make sure httpRandomizedMediaName is set to true.

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

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


  1. Sign in to Wowza Video.
  2. Go to Advanced > Stream Targets in the sidebar navigation.
  3. Click Add Target.
  4. Select Wowza CDN on Fastly, and then click Add.
  5. 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.
  6. Select Enable a Custom Origin to connect your Wowza Streaming Engine instance to this stream target.
  7. Select the region where your Wowza Streaming Engine instance is located for Custom Origin Region.
  8. Enter the Custom Origin URL for your Wowza Streaming Engine instance or public IP address starting with http:// or https://. This will be the address for the location where you are running Wowza Streaming Engine.
     
    Note: Your address must be a host address with no paths. For example, http://12.12.12.12http://my.domain.com or https://my.domain.com.
  9. If your instance of Wowza Streaming Engine is protected by a firewall, 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 Wowza Streaming Engine through your firewall using port forwarding:
     
    • 44.232.207.68
    • 54.245.251.133
    • 35.161.232.146
    • 13.124.180.184
    • 3.39.128.171
    • 3.39.185.132
    • 3.65.160.245
    • 3.76.110.124
    • 18.195.249.55
    Note: September 26, 2024 — We'll be replacing the IP addresses above with the IP addresses listed here on October 11, 2024. 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. 
    • 54.68.61.81
    • 44.225.129.35
    • 35.161.247.138
    • 13.125.58.224
    • 3.35.119.29
    • 43.200.156.236
    • 52.29.60.88
    • 3.123.121.43
    • 3.77.81.251

    We recommend configuring Wowza Streaming 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.
  3. Click 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. 
  4. In Wowza Video, on your stream target page, get the playback URL by clicking Playback URLs and then HLS. For example:

    https://cdn3.wowza.com/5/c0hPyh6jVVVDv8k/[application-name]/[stream-name]/playlist.m3u8

  5. Verify that the stream is playing by pasting the playback URL into an HLS player.
  6. 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