Menu
Amazon CloudFront
Developer Guide (API Version 2016-09-07)

Setting Up an Encoder to Publish a Live Stream

You need to encode the live stream captured by your device before you send it to Wowza Streaming Engine 4.2. You can encode the live stream by using either the Wowza GoCoder app for iOS-based devices or encoders that support RTMP encoding, such as Telestream Wirecast.

The steps for publishing a stream from your encoder to Wowza Streaming Engine vary with your choice of encoder. For more information about how to configure your encoder, go to Specific Encoding Technologies on the Wowza website or review the documentation for your encoder.

Encode Apple HLS streams using the following formats:

  • Video:

    • Apple iPhone, iPod, and iPod touch – H.264 Baseline Profile Level 3.0. Don't use B-frames when targeting iPhone and iPod devices.

    • Apple iPad – H.264 Main Profile Level 3.1

  • Audio: AAC-LC up to 48 kHz, stereo audio.

Smooth Streams must have both audio and video. The key frame frequency must be between 1 and 4 seconds. We recommend a key frame frequency of two seconds.

Wowza Gocoder

To configure Wowza GoCoder to publish a live stream, perform the following steps.

Note

Wowza GoCoder is available for purchase from the Apple AppStore.

  1. Go to the Wowza tutorial How to use Wowza GoCoder video broadcasting iOS app with Wowza Streaming Engine.

  2. Follow the procedure in the Configure Wowza GoCoder App section of the tutorial. Specify the following values for Host settings:

    1. Open the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation/.

    2. On the AWS CloudFormation console, choose the Outputs tab.

    3. Copy the value of the WowzaEngineDomainName key, for example, ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com.

    4. For Server, paste the value that you just copied.

    5. For Port, enter 1935.

  3. Specify the following values for Application settings:

    1. For Application, enter the application name that you specified when you created the stack, for example, livecf.

    2. On the Outputs tab of the AWS CloudFormation console, copy the value of the PublishStreamName key, for example, myStream.

    3. For StreamName, paste the value that you just copied in the previous step.

  4. Change other values as applicable.

RTMP encoder

RTMP encoders typically use the following settings:

Publish URL

This is the value of the AWS CloudFormation PublishRTMPURL key, for example, rtmp://ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com/livecf.

Stream Name

This is the value of the AWS CloudFormation PublishStreamName key, for example, myStream.

Login Credentials

If you are prompted for login credentials, use the values from the AWS CloudFormation WowzaServerLoginInfo key, for example, username=wowza, password=i-1234a567.

Next: Playing the Live Stream in a Web Application.