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:
- Push streams to Wowza CDN from Wowza Streaming Engine
- Send Apple HLS and MPEG-DASH content to Amazon S3 using Wowza Streaming Engine
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.
- In Wowza Streaming Engine Manager, click the Applications tab, and then click Add Application in the sidebar navigation.
- On the Add Application page, click Live HTTP Origin.
- In the New Application modal, name your application and click Add.
- 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 you get from Wowza Video in the following steps.
2. Create a Wowza CDN on Fastly stream target in Wowza Video
- Sign in to Wowza Video.
- Go to Advanced > Stream Targets in the sidebar navigation.
- Click Add Target.
- Select Wowza CDN on Fastly, and then click Add.
- 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.
- Select Enable a Custom Origin to connect your Wowza Streaming Engine instance to this stream target.
- Select the region where your Wowza Streaming Engine instance is located for Custom Origin Region.
- 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://220.127.116.11, http://my.domain.com or https://my.domain.com.
- 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:
Note: September 13, 2022 — We'll soon be replacing the IP addresses 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 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.
We'll add information to the release notes when the transition is complete so you know when to remove the old addresses.
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.
- Start the stream in the H.264 camera or encoder that's sending the stream to your live application in Wowza Streaming Engine.
- Verify that the stream is published by clicking Incoming Streams for your application.
- 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.
- In Wowza Video, on your stream target page, get the playback URL by clicking Playback URLs and then HLS. For example:
- Verify that the stream is playing by pasting the playback URL into an HLS player.
- Stop the stream in the source camera or encoder to end your test connection.
Viewer data for Wowza CDN on Fastly stream targets is available in near-real time. Use the following resources to get viewer data:
- Usage Details page in Wowza Video
- Get viewer data for a Wowza CDN stream target with the Wowza Video REST API
- Wowza Streaming Engine with Wowza Video
- Scaling Wowza Streaming Engine with Wowza CDN
- Push streams to Wowza CDN from Wowza Streaming Engine
- Send a stream from Wowza Streaming Engine to Wowza Video for transcoding
- Protect a Wowza CDN on Fastly stream target with token authentication in Wowza Video
- Geo-block Wowza CDN on Fastly stream targets in Wowza Video
- Manage HLS playback over SSL for Wowza CDN on Fastly in Wowza Video