Blogs

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

Comments

  • Posted : by gzmask

    I followed your instructions. The webcam upload works now. However, when I switch to RTMP playback, it says "Media not found". And ideas what am I doing wrong?

  • Posted : by neuron005

    Hi , Can you please tell what is in your wowza access logs? If rtmp says media not found,then there is issue with symbolik link or permissions. Cheers

  • Posted : by rnasoon

    thanks for your steps they helped

  • Posted : by trevor

    Can't seem to post more than a few words...

  • Posted : by trevor

    This is in our wowza access log... open: java.io.FileNotFoundException: /opt/kaltura/web/content/101/sp/10100/serveFlavor/flavorId/0_kmz9qxqo/forceproxy/true/name/0_kmz9qxqo.flv (No such file or directory)

  • Posted : by trevor

    It seems to be mixing the local and web based-paths for some reason. Have you encountered this before? Any suggestions would be most appreciated. Thanks!

  • Posted : by trevor

    (Sorry for all of the comment posts. It wouldn't post unless I broke my comment into smaller chunks)

  • Posted : by jerry

    I totally followed your document, but I got 'media not found' error, and I checked the log, it said 'pplication folder ([install-location]/applications/p) is missing', in applications, it only has 'oflaDemo' folder, what is it 'p'? thanks

  • Posted : by neuron005

    Hi I dont know what is this p. But If this issue has occurred, somehow your application is looking for this application folder instead of oflaDemo. Why dont you try creating p folder and copy content from oflaDemo to it and try playing videos.Thanks

Leave a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Follow Us

Recent Entries