RTMP streaming with Wowza Media Server

From MediaLooks Knowledge Base
Jump to: navigation, search

Other types of streaming you can find in "RTMP, HTTP and Windows Media Streaming" article.

MediaLooks playout objects (included in Broadcast Automation Platform, Vision Mixer SDK etc.) create virtual devices that can be used as virtual device sources in third party software (for example, Adobe Flash Media Live Encoder or Windows Media Encoder). Here's how you can stream to multiple users using Broadcast Automation Platform, Adobe Flash Media Live Encoder (FMLE) and Wowza Media Server (WMS). Note: If you require to test streaming via Adobe Flash Media Encoder, please, ensure the software is installed on your desktop. To download the latest version, please, use the link below:

http://www.adobe.com/products/flashmediaserver/flashmediaencoder/

In order to download FMLE, you will be asked to log in and accept FMLE End User License Agreement.

Here is a sequence of actions:

  • Download and install Broadcast Automation Platform.
  • Compile and run С# Playout sample.
  • You will see the colored bars in a preview window. This is our test video stream. You can add some files to playlist, or leave the bars. There is a virtual device, registered in the system by Broadcast Automation Platform. Now let’s broadcast stream from this device using FMLE and WMS.
  • Let's configure WMS for live streaming. Open \[Wowza Media Server Install Dir]\examples\LiveVideoStreaming
  • Run install.bat to copy configuration file for live streaming to the config directory.
  • Run WMS by \[Wowza Media Server Install Dir]\bin\startup.bat
  • Now let's configure FMLE. You can do this in 2 ways: Using FMLE GUI and using FMLE command line.

Using FMLE GUI

  • Run FMLE GUI.
  • In the “Device:” dropdown of FMLE select the “MediaLooks MG Playout (Playout C#)” device. You will see your stream in preview areas.
  • Write WMS url (rtmp://localhost/live) to the right input field.
  • Write stream name into “Stream:” field (for example “ml-test”).
  • Press “Connect” button to connect to WMS and “Start” button to start broadcasting.

Fmle7.jpg

Using FMLE command line

Note: Works with FMLE 3.0 or higher. If FMLE is installed not into default directory you'll need to specify the path to FMLECmd.exe on the first usage of this method.

  • Specify the FMS server url in С# Playout sample (bottom left corner).

The url must be like "rtmp://User:Stream@localhost/live/ml-test", where:

- "User" is FMS username;

- "Stream" is FMS password;

- "localhost" is FMS url;

- "ml-test" is your stream name.

  • Put the RTMP flag on.

Fmle8.jpg

Now you broadcast your steam via WMS. Let’s test the broadcasting.

  • Open client page from \[Wowza Media Server Install Dir]\examples\LiveVideoStreaming\client\live.html
  • Write your server url into "Server" field: rtmp://localhost/live
  • Write your stream name into "Stream" field: ml-test
  • Press "Play" button to connect to your WMS server and see your stream broadcasting

Fmle6.jpg

Personal tools