Once an instance configuration has been created, an encoder (i.e., Adobe Flash Media Live Encoder 3.2) may publish one or more streams to it.
Basic encoder configuration consists of:
Defining the audio/video source from which the live feed will be generated.
Please refer to your encoder's documentation for detailed setup information.
The video output generated by an encoder defines the viewing experience. Key settings that require special attention are:
Video Format: Video should be encoded using one of the following H.264 codecs:
Audio Format: HE-AAC or AAC-LC up to 48 kHz, stereo audio
Bit Rate Levels: Define each bit rate level that will be generated by the encoder.
When defining bit rate levels, try to strike a balance between providing high quality feeds and the amount of bandwidth supported by the computer hosting your encoder. The minimum bandwidth required by an encoder can be calculated by summing up all of the bit rate levels being generated by it.
The Dynamic Cloud Packaging - Live page provides a set of publishing point URLs for each instance configuration. Use these URLs when pushing an encoder's media output to our service.
Key information:
An encoder may only publish to an instance. A subfolder may not be appended to the publishing point URL.
Define an encoder's publishing point by pointing it to the publishing point URL provided from the Dynamic Cloud Packaging - Live page. Make sure to remove "/<streamName>?<Live Authentication Key>" from the publishing point URL.
In order to prevent unauthorized streams, a global or stream key is required to authorize each stream published by an encoder to our servers. This live authentication keyAuthenticates streams before they can be ingested into our network. There are two types of live authentication keys, which are global and stream keys. A live authentication key (e.g., MyStream?MyLiveAuthenticationKey) must be specified when setting an encoder’s stream setting for use with our Flash Media Streaming, HLS, HDS, or DCP solutions. must be appended after the stream name.
Example:
Stream Keys
Unlike a global key, a unique stream key is required for each bit rate stream (e.g., MyStream750, MyStream500, and MyStream250).
Encoding multiple bit rates requires that the name of each stream include its total bit rate value.
The easiest way to specify a unique name for each stream is to include the %b parameter in the stream name. However, this requires the use of a global live authentication key.
Example:
A stream name is case-sensitive and should not contain spaces. Additionally, it should not include other special characters (e.g., !@#). Notable exceptions are listed below.
To define an encoder's output location
Perform the following steps to define the CDN ingest location:
Delete "/<streamName>?<Live Authentication Key>" from the FMS URL option.
The FMS URL option should now look like:
Perform the following steps to define the streams that will be generated:
From the Stream option, type the name by which the stream will be identified.
Multi-bit Rate: Please append %b to the stream name when encoding multiple bit rates.
Append a Live Authentication key directly after the question mark.
The Stream option should now look like: