Live Streaming using Flash Media Encoder
This guide provides instructions for a simple example of how to prepare and stream live video and/or audio using Adobe Flash Media Encoder 2.
This guide was written for OnyxServers.com customers using a media streaming web hosting plan.
Flash Media Encoder 2.5 is FREE to use. Download link: https://www.adobe.com/cfusion/entitlement/index.cfm?e=fme25
Using Flash Media Encoder (
download here) you can capture audio/video from any device connected to your computer and broadcast it live using your OnyxServers media streaming account. Once you have installed Flash Media Encoder, connect your video source (e.g. webcam) to the computer and launch Flash Media Encoder. Flash Media Encoder should detect any video and audio devices connected to your computer.
To start streaming your video and/or audio source, please follow these instructions:
- Select the 'Video' option to enable video streaming (see screenshot below). Select the 'Audio' option if you want to stream live audio.
- Select 'Medium Bandwidth (300 Kbps)' for 'Preset'.
- Select the video source you would like to stream for the 'Device' parameter.
- Enter the following address for 'FMS URL':
rtmp: //Your_Domain_or_IP/live/instance_name
Replace Your_Domain_or_IP with your domain name or dedicated IP address (if your account has been assigned one). When entering your domain name, do not enter the 'www.' portion (e.g. mysite.com and not www.mysite.com).
The instance name is arbitrary and is used to reference the stream.
Example FMS URL: rtmp://mysite.com/live/soccermatch
- Choose a name for the stream and enter it in the 'Stream' field. Stream name is arbitrary and could be called anything.
- Click on 'Connect' to connect to the server. If Flash Media Encoder is unable to connect to the server, please check your 'FMS URL' address.
- Click on the big green 'Start' button near the bottom of the page to start streaming your video and/or audio source to your media streaming account.

| Please note: For the purpose of this guide, we provide instructions on how to broadcast a live stream using OnyxServers EZ Stream Wizard which is available to all media streaming customers. Customers wanting to use Macromedia Dreamweaver or Adobe Flash to create the SWF player, can contact support for assistance. |
Once Flash Media Encoder starts streaming your video/audio to the server, point your browser to the EZ Stream Wizard at:
http://Your_Domain_or_IP/ezstream/
Replace Your_Domain_or_IP with your domain name or dedicated IP address (if assigned one).
From the EZ Stream Wizard main page click on the 'Generate code for a live stream' link. You will now be prompted to enter the instance and stream name you entered into Flash Media Encoder.

Click on 'Preview stream and generate code'.
You will now be shown the media player broadcasting your live feed. You can configure the FLV player settings and preferences. Once you have configured the FLV player, copy the generated HTML code and paste it into any web page you want the live stream broadcasted in.
Anytime you stream a live feed using the same instance and stream name, the live feed will be shown in the web page you inserted the HTML code in. There is no need to regenerate the HTML code.
