Get started streaming to Wowza CDN on Fastly with Wowza Streaming Cloud

Learn how to configure a live stream or transcoder in Wowza Streaming Cloud™ to deliver streams over Wowza CDN on Fastly. This configuration provides an alternative integrated CDN option for reliable delivery in regions around the world.

About streaming over Wowza CDN on Fastly

With Wowza CDN on Fastly, you can reliably scale your streams to reach global audiences of any size using an integration between Wowza Streaming Cloud and Fastly CDN. Because Wowza CDN on Fastly is integrated directly with Wowza Streaming Cloud, you don't need a separate CDN provider subscription. For a feature comparison of Wowza CDN on Fastly stream targets and other supported target types, see Stream target features and properties in Wowza Streaming Cloud.

We recommend using Wowza CDN on Fastly stream targets for new stream configurations. You can also update existing live streams or transcoders by deleting all stream targets associated with outputs and replacing them with Wowza CDN on Fastly targets. Your HLS playback URLs will change during this process, but source connection information will remain the same.

Note: Ultra low latency streams aren't compatible with Wowza CDN on Fastly.

Add a live stream

By default, when you create a Wowza Streaming Cloud live stream, a transcoder with Wowza CDN on Fastly stream targets is automatically created under the hood.

For detailed instructions on creating a live stream, see Get started with Wowza Streaming Cloud. To use the Advanced settings and create a custom transcoder instead, continue to Add a transcoder.

After adding a live stream, you can continue on to Test your connection.

Add a transcoder

To use Wowza CDN on Fastly with a transcoder, first create a transcoder and then add one or more output renditions.

  1. In Wowza Streaming Cloud, click Advanced on the menu bar, click Transcoders, and then click Add Transcoder.
  2. On the Transcoder Setup page, enter a Transcoder Name, specify the other transcoder setup options, and click Add.

    Wowza Streaming Cloud creates the transcoder and displays the Outputs & Targets tab of the transcoder detail page.
  3. Add output renditions to the transcoder. See Create output renditions for a transcoder for more information.

Add a Wowza CDN on Fastly stream target for each output rendition

Each output rendition for the transcoder now needs at least one stream target. 

Note: As a best practice, each output rendition should have no more than 10 stream targets. Five or fewer is better for the most efficient processing and delivery of your stream.

  1. On the Outputs & Targets tab of the transcoder detail page, click the Add a Stream Target button for any output rendition.

Output rendition with add a stream target button highlighted

  1. Select Wowza CDN on Fastly.
  2. Enter a Target Name and then click Add.
  3. To add the same Wowza CDN on Fastly stream target to another output rendition of the transcoder, click Add a Stream Target, select Existing stream target, and select the target from the list.
  4. Repeat the last step until each output has at least one stream target.

Test your connection

Now you can connect the configured live stream or transcoder to a source encoder or camera and test the setup. 

  1. Connect a video source. For more information, see Connect to Wowza Streaming Cloud.
  2. Select the live stream or transcoder to view its detail page.
  3. Click Start Live Stream or Start Transcoder at the top of the page, and click the confirmation button.
  4. Start your video source.
  5. In Wowza Streaming Cloud, confirm that the stream is working by looking at the Video Thumbnail on the Overview tab of the live stream or transcoder detail page.

The Video Thumbnail displays a frame from the stream every five seconds. The started date and time appear at the bottom of the thumbnail. Connection, transcoding, and delivery metrics begin to update in the Statistics panel. For streams using Wowza CDN on Fastly targets, Current Unique Viewers shows the number of unique viewers in the last 5 minutes, while Total Unique Viewers updates in near real-time.

Video thumbnail and statistics panel

  1. To check playback over Wowza CDN on Fastly, do one of the following:
    • For a live stream with a hosted page enabled, view the test stream at the Hosted Page URL.
    • For a live stream without a hosted page, click on the live stream overview page, and use the HLS Playback URL to configure and view a test stream using an HLS-compatible player such as Wowza™ Player.
    • For a transcoder, click on the stream target's details page, select the Playback URLs tab, and use the HLS playback URL to configure and view a test stream using an HLS-compatible player such as Wowza Player.
  2. Click Stop Transcoder at the top of the detail page to end your test stream, and then stop the video source.

Configure advanced properties

Wowza CDN on Fastly stream targets support a subset of advanced properties available for Wowza CDN on Akamai HLS stream targets and for custom stream targets whose Provider is Akamai HLS Push. By default, these protocol properties are enabled and configured to use their default values. You can, however, change or customize them.

  1. Click Advanced on the menu bar, and then click Stream Targets.
  2. Select your Wowza CDN on Fastly stream target.
  3. Click the Properties tab and then click Edit.
  4. Select Enabled for any property and then specify the value you want to use for it.
  • HLS segment duration – Specifies the duration of the time-based audio and video media segments that Wowza Streaming Cloud delivers to the target. The HLS segment duration can be 2, 4, 6, 8, or 10 seconds. The default is 10 seconds. A lower (shorter) duration can reduce latency but may affect playback on some older devices.
  • Convert AMF data – Determines whether Wowza Streaming Cloud converts AMF data into ID3 tags. ID3 tags allow you to include metadata in your HLS stream. If set to True, Wowza Streaming Cloud listens for AMF data events coming from the source encoder or camera, parses the data events, maps the events to ID3 tags, and sends the ID3 tags in the HLS stream. The default is False.
Caution: For most HLS stream targets, the segment duration doesn't need to be changed. Edit it only if viewers experience unacceptably long latency.
  • Playlist seconds – Determines the maximum allowable duration of the master playlist. The default, 100, results in a default media playlist length of 10 segments, because the default HLS segment duration is 10 seconds. You can specify any number of seconds between 6 and 28800 (8 hours).
  • Relative playlists – Determines whether a stream's playlist contains relative or absolute paths. Relative playlists allow the viewer to play the stream over HTTP or HTTPS, whichever way their browser connects to the stream target. The default, True, means that relative playlists are used.
  1. Click Save.
  2. If you started a live stream or transcoder before updating a property associated with its stream target, you must reset the live stream or transcoder for the property to take effect. If you haven't started a live stream or transcoder, skip this step.
  • To reset a live stream, go to the live stream details page, start the live stream, and then click Reset Live Stream.
  • To reset a transcoder, go to the transcoder details page, start the transcoder, then click Reset Transcoder.

More resources