Learn how to configure a 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.
Note: The Wowza Streaming Cloud integration with Fastly is an alpha feature that's available in private preview. Participation is by invitation only and is subject to the terms of the Wowza Preview End User License Agreement. To be considered for preview participation, contact email@example.com.
About streaming over Wowza CDN on Fastly
We recommend using Wowza CDN on Fastly stream targets for new stream configurations only, not for updating existing live streams or transcoders. Because Wowza CDN on Fastly is integrated directly with Wowza Streaming Cloud, you don't need a separate CDN provider subscription.
Usage-based billing for streaming to Wowza CDN on Fastly from Wowza Streaming Cloud is not currently available. We invite preview participants to provide feedback on the feature functionality while testing this configuration free from egress and CDN usage charges.
The following limitations also apply:
- Security features such as token authorization and geo-blocking aren't currently available
- You can't currently track stream target bandwidth usage and stream target viewer data
- Ultra low latency streams aren't compatible with Wowza CDN on Fastly
Add a transcoder
To get started with Wowza CDN on Fastly, first create a transcoder and add one or more output renditions.
- In Wowza Streaming Cloud, click Advanced on the menu bar, click Transcoders, and then click Add Transcoder.
- 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.
- 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 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.
- On the Outputs & Targets tab of the transcoder detail page, click the Add a Stream Target button for any output rendition.
- Select Wowza CDN on Fastly (alpha).
- Enter a Target Name and then click Add.
- 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.
- Repeat the last step until each output has at least one stream target.
Test your connection
Now you can connect the configured transcoder to the source encoder or camera and test the setup. For more information on setting up a video source, see Connect to Wowza Streaming Cloud.
- Select the transcoder to view its detail page.
- Click Start Transcoder at the top of the page, and click the confirmation button.
- Start your video source.
- In Wowza Streaming Cloud, confirm that the stream is working by looking at the Video Thumbnail on the Overview tab of the transcoder detail page.
The Video Thumbnail displays a frame from the transcoder 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.
- To check playback over Wowza CDN on Fastly, click on the stream target's details page, and use the Apple HLS Playback URL to configure and view a test stream using an HLS-compatible player such as Wowza™ Player.
- 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 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.
- Click Advanced on the menu bar, and then click Stream Targets.
- Select your Wowza CDN on Fastly stream target.
- Click the Properties tab and then click Edit.
- Select Enabled for any property and then specify the value you want to use for it.
- 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.
- HLS segment duration – Specifies the duration of the time-based audio and video chunks 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.
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 playlist. The default, 100, results in a chunklist of 10, because the default chunk size (HLS segment duration) is 10 seconds. You can specify any number of seconds between 6 and 200.
- Click Save.
- 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.