Learn how to use a Wowza stream source with a live stream or transcoder in Wowza Streaming Cloud™ to automatically detect broadcast location, automatically start a stream when the video source starts, and automatically stop a stream after the video source disconnects.
Note: Wowza stream sources are 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 firstname.lastname@example.org.
About Wowza stream sources
Wowza stream sources simplify the process of configuring and managing transcoders to make it faster and easier for you to stream live video. Key improvements are detecting the broadcast location automatically, automatic transcoder start and stop, and an instant connection.
The Wowza Streaming Cloud service uses servers on multiple continents to receive source video and deliver transcoded streams. A Wowza stream source provides an entry point into Wowza Stream Cloud that automatically detects the broadcast location of your source encoder or camera and uses the closest ingest point based on a DNS query.
A transcoder connected to a Wowza stream source starts automatically when your video source begins pushing a stream to Wowza Streaming Cloud. There’s no need to click in the user interface or perform any API requests in order to start streaming. The connection is instantaneous, meaning there's no wait for the transcoder to start. The transcoder also stops automatically after the video source stops pushing a stream. The idle timeout value you set for the transcoder determines how quickly the transcoder stops after the video source ends.
To configure a Wowza stream source for a live stream or transcoder, you'll need to:
- Create a Wowza stream source.
- (Live stream workflow) Create a live stream, then associate its corresponding transcoder with the Wowza stream source.
- (Transcoder workflow) While creating a transcoder, associate it with the Wowza stream source.
Add a Wowza stream source
Note: Wowza stream sources are available in private preview.
- In the Wowza Streaming Cloud user interface, click the Advanced menu, click Stream Sources, and then click Add Source.
- Select Wowza Stream Source.
- On the Add Wowza Stream Source page, enter a Stream Source Name.
- Click Add.
Note: Wowza stream sources don't support source authentication.
Wowza Streaming Cloud creates the stream source. Now, create a live stream or transcoder that uses it.
Associate a Wowza stream source with a live stream
If you prefer the live stream workflow, which automatically creates output renditions and a stream target for you, first create a live stream. Then associate the transcoder that corresponds to the live stream with the Wowza stream source.
Add a live stream
- Click the Live Streams menu, and then click Add Live Stream.
- On the Live Stream Setup page, give your stream a name.
You can leave Broadcast Location set to the default value. Wowza Streaming Cloud will override the selected value and use a DNS query to automatically detect the closest ingest location. Click Next.
- On the Video Source and Transcoder Settings page, choose the camera or encoder you're using as your video source and the aspect ratio and resolution of the source video you're sending to Wowza Streaming Cloud. Click Next.
- Wowza stream sources are compatible with video sources using the RTMP source protocol only.
- If using the Other RTMP video source setting, don't select Push to a stream source while creating the live stream, as this will cause Wowza Streaming Cloud to create an Akamai stream source and associate it with the live stream.
- Complete the steps to create the live stream: Specify Playback Settings and Hosted Page Settings, and then review your choices and click Finish.
Associate the corresponding transcoder with the Wowza stream source
- Click the Advanced menu, click Transcoders, and then click the transcoder name that corresponds with the live stream you just created.
- On the Transcoder Setup tab, click Edit.
- Under Source Delivery Method, select Push to an existing stream source.
- Select your Wowza stream source from the list, and click Save.
Associate a Wowza stream source with a transcoder
If you prefer the transcoder workflow, which is more modular, you can create a transcoder at the same time as you associate it with a Wowza stream source.
- Click the Advanced menu, click Transcoders, and then click Add Transcoder.
- On the Transcoder Setup page, give your transcoder a name and specify the transcoder type and billing mode.
You can leave Broadcast Location set to the default value. Wowza Streaming Cloud will override the selected value and use a DNS query to automatically detect the closest ingest location.
- Select a source protocol. For ingest to a stream source, select RTMP.
- For the source delivery method, choose Push to an existing stream source and then select the Wowza stream source you created.
- Specify the remaining setup options and then click Add.
Note: For more information on the transcoder setup options, see the Help panel on the right side of the page.Wowza Streaming Cloud creates the transcoder and displays the Outputs & Targets tab of the transcoder detail page.
- Complete the transcoder by creating at least one output rendition and one target for it. For instructions see Create a custom transcoder with many outputs and targets in Wowza Streaming Cloud.
Test your connection
- Set up your video source using connection details from the live stream or transcoder's detail page.
- Start your video source.
Wowza Streaming Cloud receives the stream from the source, starts transcoding, creates output renditions for the stream, and sends each output rendition to the stream target assigned to it.
- 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 begin to update in the Statistics panel.
- To end your test stream, stop the video source.
Once you disable the video source, the transcoder continues to run and accrue charges until it reaches the default idle timeout value of 20 minutes. The transcoder then stops automatically. You can edit the Idle Timeout value on the Transcoder Setup tab of the transcoder details page so that the transcoder stops sooner.
Alternatively, you can stop the transcoder manually by clicking Stop Transcoder at the top of the transcoder detail page. To stop the live stream manually, click Stop Live Stream at the top of the live stream detail page.