Wowza Media Server Integration With Kaltura CE5
June 21, 2012 by abhimanyu
Enabling my website for RTMP and live streaming for different devices and audio and video formats , I integrate Kaltura CE5 with Wowza Media Server. Wowza Media Server is used for streaming of live and on-demand video, audio, and RIAs (rich Internet applications) over public and private IP networks to desktop, laptop, and tablet computers, mobile devices, IPTV set-top boxes, internet-connected TV sets, and other network-connected devices.This is how you could easily integrate Wowza Media Server with Kaltura CE5 and enjoy live streaming on your website.
vi ${WowzaHome}/conf/oflaDemo/Application.xml
${com.wowza.wms.context.VHostConfigHome}/content
/opt/kaltura/web/content/webcam
ln -s /opt/kaltura/web/content /opt/kaltura/web/content/webcam
ln -s /opt/kaltura/web/content /usr/local/WowzaMediaServer/content
vim /opt/kaltura/app/batch/batches/Provision/Engines/KProvisionEngineAkamai.php
$flashLiveStreamInfo = $this->streamClient->provisionFlash… (lines 91 –123)
$data->streamID = 'livestream';
$data->backupStreamID = $data->streamID;
$data->streamName = $job->entryId . '_%i@' . $data->streamID;
$data->rtmp = 'rtmp://YourSite/live';
$data->primaryBroadcastingUrl = 'rtmp://YourSite/live';
$data->secondaryBroadcastingUrl = 'rtmp://YourSite/live';
$data->encoderUsername = '';
vim /opt/kaltura/app/alpha/apps/kaltura/modules/extwidget/actions/streamclipperAction.class.php
$this->logMessage( "streamclipper: serving entry [$entry_id] file[$file] streamer[$streamer]" , "warning" );
$streamer = "rtmp://YourSite/live";
service WowzaMediaServer start
- Download WowzaMediaServer to your machine and install it.
- Edit your server.license file and enter your key.
- To connect wowza server to your kaltura instance create a folder oflaDemo both in ${WowzaHome}/conf and ${WowzaHome}/applications
- Copy Application.xml of ${WowzaHome}/vod to ${WowzaHome}/conf/oflaDemo
- Open Application.xml in any editor like
- Go to line 28
- and change your storage directory for your recorded media as
- Create a symbolic link for your webcam records to be found by application while playing
- Create a symbolic link of kaltura's content to wowza's content so that media is found when doing rtmp as
- Open file
- Comment everything from
- Paste the following before the return line:
- Open file
- at line 24:
- change
- Start your wowza server as
- Check If RTMP and live streaming works

