Configuring Live Streaming on Kaltura On-Prem Using Red5

To support a non-Akamai live stream from the KMC, this article describes a workaround on how to configure live streaming through the TestMe Console. Red5 through FMS live streaming can be configured using the process described here.

Prerequisites:

FMLE (Flash Media Live Encoder) – Can be downloaded from here: http://www.adobe.com/sea/products/flash-media-encoder.html

Make sure you have created and set a valid Kaltura Session.

To configure live streaming through the TestMe Console:

  1. LiveStream->add with the following parameters:
    1. liveStreamEntry:name => whatever you choose
    2. liveStreamEntry:mediaType => LIVE_STREAM_FLASH
    3. liveStreamEntry:bitrates => relevant if you want to stream more than 1 bitrate. Could be left as-is. Otherwise edit and add the parameters as you would like to stream them.
    4. liveStreamEntry:streamName => anything you like. If you need to stream more than 1 bitrate, include “%i” in the name which the Adobe FMLE and the Kaltura backend interpret as the token for bitrate index.
    5. liveStreamEntry:streamUrl =>onprem-falcon1/oflaDemo
    6. liveStreamEntry:encodingIP1 => the IP address of the machine you are streaming from. From your own computer, get the IP address from: http://www.whatismyip.com/.
    7. liveStreamEntry:encodingIP2 => the IP address of the machine you are streaming from. From your own computer, get the IP address from: http://www.whatismyip.com/
    8. sourceType => MANUAL_LIVE_STREAM
      Configuring the sourceType parameter to MANUAL_LIVE_STREAM is crucial for the live streaming process to succeed. 
  2. Save.
    The live stream should appear as “Ready” in your KMC.
  3. In the FMLE, under the tab “encoding options”, enter the following information:
  4. In the section titled “video”, find the “Bit rate” section and enter the same bitrates' information as in the live stream entry. Enter the bitrate, height and width information identical to what you entered when creating the live stream entry.
  5. In the section titled “stream to flash media server”, enter:
    • FMS URL => rtmp://onprem-falcon1/oflaDemo
    • Stream => the stream name as you entered in the Live Stream Entry along with the %i token, if required.
  6. Click “Start” at the bottom of the FME application window.
  7. When selecting "Preview & embed", for the entry in the KMC, the stream will be shown as “OnLine” after several seconds and you can select to play.
Was this article helpful?
Thank you for your feedback!
In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter