Kaltura CE v.4 and Wowza/Red5 integration guide..

22 replies [Last post]
Thu, 08/18/2011 - 18:55
Joined: 02/11/2011
Points: 23

Hello, to all!

I have live streaming and recording from Wowza with Kaltura CE3.
Now I updated to Kaltura CE4 and drilling down to use my existing CDN as before with CE3.

I followed the official setup guide for CE3 and Red5 integratin for live streaming with some modifications on my CE4. But after this, couple of problems appears.

Any ideas are wellcome (and ofcause thank you guys! because of you I've finally done my K-installation). I am sure support team should bring some light on RTMP CDN integration with CE4, as the many scripts for CE4 are differ from previous version.

1) IN



"rtmp_url" => "rtmp://mycdn.net/livestream"

3) IN

$baseUrl = "rtmp://cp{$streamUsername}.live.edgefcs.net/live";

SO I'VE ADDED, IN THE PLACE IT GOES IN CE3, RIGHT BEFORE $flavors = $this->entry->getStreamBitrates();

$baseUrl = "rtmp://mycdn.net/livestream";

REPLACED THE [starting at about line 425]

foreach($flavorAssets as $flavorAsset)
        $url = $urlManager->getFlavorAssetUrl($flavorAsset);


foreach($flavorAssets as $flavorAsset)
    $key = $flavorAsset->getSyncKey(flavorAsset::FILE_SYNC_FLAVOR_ASSET_SUB_TYPE_ASSET);
    $fileSync = kFileSyncUtils::getReadyExternalfileSyncforKey($key, $this->storageId);
     $urlManager = kUrlManager::getUrlManagerByStorageProfile($fileSync->getDc());                                          
     $url = $urlManager->getFileSyncUrl($fileSync);


1. I have the Remote FTP-storage at my Wowza CDN. The export from Kaltura to Wowza is OK. The Adaptive RTMP is OK. But there no default video preview/info in KMC(Media not found).

2. I have the Adaptive RTMP working (In KMC Preview/Embed pane), but there no rtmp url in Embeded code (see the atached img).

3. When creating the live channel there no data for stream name and rtmp encoder. The live is NOT OK (Primiry Url: rtmp://EntryPoint Stream Name: )

Thank you!

Joined: 08/30/2010
Points: 95

you're awesome! if I didn't remove CE4 I'd investigate this. but guess it's the unlucky #4 waiting for CE5 to get released now >.<
CE3 was so easy compared to the hiccups in CE4. guess ripping out KAE and KSE screwed things up :(

Joined: 02/11/2011
Points: 23

Thank you. BTW I spent about week to setup the CE4. There a big lack of normal guide and troubleshooting recomendations. I think the support of Kaltura is the main weakness of this flexible solution.

Joined: 03/01/2011
Points: 83

cyrilamai-I have spent multiple weeks on this without getting anywhere. That code on "about line 425" is nowhere near line 425, its about line 540, am I right? Or am I looking for something else?

Joined: 10/05/2011
Points: 103

yes the code is on line 540....meanwhile..I can also do RTMP streaming but there is no rtmp url in embedded code. Also, if I create new live streaming its status changes from "provisioning to error" . So what should I do?

Joined: 11/23/2014
Points: 433

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.
appartamenti in affitto a Monaco

Joined: 11/02/2010
Points: 4

Check this video post series:
Webcam integration to Red5: http://blog.kaltura.org/rtmp-vod-and-live-streaming-using-red5-and-kaltu...
RTMP and Live Stream integration to Red5: http://blog.kaltura.org/webcam-recording-on-kaltura-ce4-using-red5

Joined: 09/07/2011
Points: 21


Joined: 05/27/2009
Points: 189

Read through the guide but I am a little confused.

1. Does your guide assume that both the Wowza and Kaltura servers have to be on the same physical machine?
- I have separate physical servers for Wowza and Kaltura so no idea how to properly symlink them.

2. My Wowza server currently has a number of clients on there all having their own content folders.
- I am brand new to kaltura, just now finishing install (fingers crossed). Is Kaltura capable of having multiple customers folders?

the idea being that I also use WordPress, where each customer has their own site. Each site would use the kaltura all-in-one plugin for WordPress. Then each customer would input the info to their kaltura server, which somehow maps to a folder on Wowza?

*I store all the videos on the Wowza server as it has my raid setup and massive storage compared to my WordPress server.

**I sure hope that kaltura only needs to be installed one time on my server, yet can have different instances for different customers, each with their own 'content folder' on wowza.... suppose I'll find out soon enough

Joined: 09/21/2014
Points: 167

Just keep publish what you are passionate about, and the readers will come to your posting obat gagal ginjal.

Joined: 09/07/2011
Points: 21

hi anoinnted, yes, my instructions assumed you have Wowza and Kaltura installed on the same machine. As for Kaltura, as far as i know there is only shared content storage, but i am not sure if this could be tweaked as I am fairly new to it as well.

Joined: 05/27/2009
Points: 189


Any chance that you might be able to post a vs. for separate servers?
As resource intensive as both wowza and kaltura are, I can't imagine trying to run them on the same server. Guessing most users would have separate servers, and any help would be greatly appreciated. I was asking about this 2 years ago but gave up after getting no answers. It is really nice to finally see other people working on this now.

Joined: 09/07/2011
Points: 21

removed , see comment below

Joined: 05/27/2009
Points: 189

Thanks Comzis

Just wanted to drop a line saying that if I follow your instruction guide perfectly I end up with an infinite loop of /webcam/ directories.


Are you sure that the symlink directions are accurate?

For instance in the first part you say to create 2 symlinks, yet you list 3 symlinks.

If I follow the directions one step at a time and do them all, my server almost crashes until I delete the top level webcam directory and the symlinks.


Joined: 10/05/2011
Points: 103

Hii All
Let us make it more simpler
If wowza and kaltura are on the same machine. Create a folder named oflaDemo in wowza's conf and application folder. Copy vod's Application.xml to conf/oflaDemo.
vi {wowza_install_dir}/conf/oflaDemo/Application.xml
You can change your storage directory path.
If you do not that is ok.
You need only two symlinks( these are the symlinks to be created if you do not change default storage directory)
ln -s /opt/kaltura/web/content /usr/local/WowzaMediaServer/content
ln -s /opt/kaltura/web/content /opt/kaltura/web/content/webcam

Rest of the configuration is described on blog.kaltura.org for webcam,rtmp and live changes.
Hope this helps
Enjoy :)

Joined: 09/07/2011
Points: 21

thanks neuron, I have made it more complicated than it is..it worked for me ..but thanks for helping though, oflaDemo folder is indeed needed for start

Joined: 03/08/2012
Points: 2

kaltura content root directory ( /opt/kaltura/web/content)

This is the directory where all the video information which appear in the KMC Video Content tab appear. Here video details such as entry id, thumbnails, player ui info etc are stored, required by the kaltura to play back video. webcam folder stores all the recorded videos
Wowza Media Server content root directory (/usr/local/WowzaMediaServer/content)
This is the directory where all the videos recorded through RTMP stream are stored. This folder storage name is as mentioned in the wowza application (any) Application.xml file. It is recommended not to change this storage folder name, since this is the default name referenced by both the applications.

Linking content root folder of Kaltura and wowza

This is very important and crucial step in integrating kaltura with wowza/RED5. I suggest you all to read below explanation to understand and proceed to execute the steps.

To integrate Kaltura with wowza or RED5, it is required to create a common folder to store the kaltura video information and also the wowza/red5 recorded video information, so that it is accessible from both the applications. Perform below steps from the console

Step 1:

Go to kaltura content root folder.
>cd /opt/kaltura/web/content

Step 2:

Check if there is a folder by name ‘webcam’, if exists rename it to webcam_x
>mv /opt/kaltura/web/content/webcam /opt/kaltura/web/content/webcam_x

Step 3:

Now create a symbolic link “webcam” which points to /opt/kaltura/web/content, so that both path contains same data
>ln -s /opt/kaltura/web/content /opt/kaltura/web/content/webcam

Step 4:

Now go to wowza/red5 root directory and rename existing content folder to content_x.
>mv /usr/local/WowzaMediaServer/content /usr/local/WowzaMediaServer/content_x

Step 5:

Create symbolic link “content” which points to the path kaltura content root path “/opt/kaltura/web/content”
>ln -s /opt/kaltura/web/content /usr/local/WowzaMediaServer/content

That's it.

Joined: 10/05/2011
Points: 103

Hi there
For CE5 and wowza integration you can follow this guide .........

working for CE4 also. there are little changes only. Will post that soon ;)

Keep Moving

Cheers :)

Joined: 09/21/2014
Points: 167

amazon Plus Obat Tradisional Penyaki Kanker Paru-paru

Kanker merupakan salah satu jenis penyakit yang begitu membahayakan. Jika seseorang terjangkit kanker, dia pasti langsung kehilangan harapan hidup karna hingga saat ini belum ditemukan obat pasti yang dapat menyembuhkan penyakit kanker sampai sembuh total. Dalam artikel ini kita akan mengulas tentang kanker. Penyebab terkena penyakit kanker paru-paru, ciri-ciri kanker serta tahap pengobatan yang paling benar dalam mengatasi penyakit yang mematikan ini. Jus Kulit Manggis Obat Herbal Penyaki Kanker Paru-paru salah satu solusi yang paling aman & ampuh dalam menyembuhkan penyakit kanker paru-paru. Obat Herbal Kanker Paru Paru

Joined: 06/02/2014
Points: 2147

It was great to see the old printshop and everyone who works there again. I am excited to see a printing business still operating and growing, great job guys
GM Tech2

Joined: 06/02/2014
Points: 2147

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job!
naturepedic mattresses

Joined: 06/02/2014
Points: 2147

Hey – great blog, just looking around some blogs, seems a really nice platform you are using. I’m currently using WordPress for a few of my blogs but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?

Joined: 06/02/2014
Points: 2147

Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign!