Control a transcoder with a Wowza stream source in Wowza Video

Learn how to use a Wowza stream source with a live stream or transcoder in Wowza Video™ to automatically detect broadcast location, automatically start a stream when the video source starts, and automatically stop a stream after the video source disconnects.

To learn about other live stream or transcoder settings you might see in the user interface, see Live Stream Setup page in Wowza Video or Transcoder Setup page in Wowza Video.

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. They automatically detect the broadcast location and automatically start and stop an associated transcoder, providing an instant connection between your source encoder and a Wowza Video transcoder.

The Wowza Video service uses servers on multiple continents to receive source video and deliver transcoded streams. A Wowza stream source provides an entry point into Wowza Video 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 Video. 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:

  • (Live stream workflow) Create a live stream that uses an RTMP push connection to receive the encoded video at the stream source.
  • (Transcoder workflow) Add a Wowza stream source and then add a transcoder and associate it with the stream source.

Live stream workflow

1. 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, create a live stream that receives your encoded video at a stream source.

  1. Sign in to Wowza Video.
  2. Click Add Live Stream.
  3. On the Live Stream Setup page, give your stream a name, and then click Next.
    You can leave Broadcast Location set to the default value. Wowza Video will override the selected value and use a DNS query to automatically detect the closest ingest location.
  4. On the Video Source and Transcoder Settings page, choose Other RTMP as the encoder you're using as your video source.
    Note: Wowza stream sources are compatible with video sources using the RTMP source protocol only.
  5. Specify the delivery method for your source video: Select Push Stream and then select Push to a stream source.

  1. Specify the aspect ratio of the encoded video you're sending to Wowza Video as well as the other video source and transcoder setup options.
  2. Complete the steps to create the live stream: Specify Playback Settings and Hosted Page Settings, and then review your choices and click Finish.

Transcoder workflow

1. 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. First add the stream source and then configure a transcoder to use it.

Add a Wowza stream source

  1. Under Advanced on the left navigation bar, click Stream Sources, and then click Add Source.
  2. Enter a Stream Source Name, and then click Add.
    Note: Wowza stream sources don't support source authentication.
    Wowza Video creates the stream source. Next, create a transcoder and associate it with the stream source.

Add a transcoder

  1. Under Advanced on the left navigation bar, click Transcoders, and then click Add Transcoder.
  2. 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 Video will override the selected value and use a DNS query to automatically detect the closest ingest location.
  3. Select a source protocol. For ingest to a stream source, select RTMP.
  4. For the source delivery method, choose Push to an existing stream source and then select the Wowza stream source you created.
  5. Specify the remaining setup options and then click Add. Wowza Video creates the transcoder and displays the Outputs & Targets tab of the transcoder detail page.
  6. 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 Video.

2. Test your connection

  1. Set up your video source using connection details from the live stream or transcoder's detail page.
  2. Start your video source.

    Wowza Video 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.
  3. In the Wowza Video web manager, confirm that the live stream is playing by looking at the Video Preview in the Overview tab of the Live Stream Details or Transcoder Details page.

    The video preview displays a frame from the live stream every 5 seconds. The started date and time appear under the preview. Source stream, transcoder, and delivery metrics begin to update.

  1. 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.

More resources