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:
- LiveStream->add with the following parameters:
- liveStreamEntry:name => whatever you choose
- liveStreamEntry:mediaType => LIVE_STREAM_FLASH
- 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.
- 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.
- liveStreamEntry:streamUrl =>onprem-falcon1/oflaDemo
- 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/.
- 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/
- sourceType => MANUAL_LIVE_STREAM
Configuring the sourceType parameter to MANUAL_LIVE_STREAM is crucial for the live streaming process to succeed.
- Save.
The live stream should appear as “Ready” in your KMC. - In the FMLE, under the tab “encoding options”, enter the following information:
- 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.
- 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.
- Click “Start” at the bottom of the FME application window.
- 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.