All in One - KalturaCE --- How to Add webcam capture

4 replies [Last post]
Joined: 08/20/2009
Points: 43

Hello,
I am running Kaltura CE and I do have webcams working. However, I am wondering where and how I might add this ability to the wordpress Add Media screen.
Everything else seems to work and I suspect I might just have to modify an xml file???
Hopefully that is the case. Can someone point me in the right direction?

Thanks,
Chris

Joined: 02/18/2010
Points: 52

We made it by installing Red5. Look at the following posts here or here.

If you need the webcam tab on a specific KCW where it doesn't appear by default. I guess you need to add the webcam provider to the configuration file of the ui_conf your application is currently using.

You must find the ui_conf which your application is using. Afterwards, look at the ui_conf table of the db, to get the location of the configuration file for this KCW.

Finally, look at this comment to modify correctly.

Joined: 08/20/2009
Points: 43

I have RED5 installed and it is working with the demo applications. I followed the instructions on how to add webcam support for the KCW xml file and that works fine. It records a video and I can play it back.

What I can't do is get the webcam working with the wordpress All in one plugin. The webcam is not an option in the list of video options.

I am looking for the All in One file I need to modify to add webcam as a video option.

Any suggestions?
Thanks,
Chris

Joined: 02/18/2010
Points: 52

You should do something like (I don't know about Wordpress All plugin.):

1) Find the ui_conf_id you are using of KCW. You can see the source code and there should be a Flash object/Javascript or embeed object.

2) Go to the database: SELECT * FROM kalturadb.ui_conf where id= XXXXX

Look at the conf_file_path. It points to the xml configuration file of your Widget.

3) Add to the configuration file, the webcam section

<service>
        <id>2</id>
        <type>webcam</type>
        <name>WebCam</name>
        <authMethodList>
                <authMethod>1</authMethod>
        </authMethodList>
        <moduleUrl>WebcamView.swf</moduleUrl>
        <logo/>
        <customData>
                <serverUrl>rtmp://{HOST}/oflaDemo</serverUrl>
        </customData>
        <media>
                <type>video</type>
        </media>
  </service>

I hope it helps.

Joined: 08/20/2009
Points: 43

Thanks! The file is located in the content/uiconf/kaltura/wordpress folder and I modified 2 files: cw_wordpress.xml and cw_wordpress_in_se.xml.
I basically eliminated all options except for upload and webcam.

Now when a user goes to use the All in One plugin they can only upload or capture via webcam video.

The above code is exactly what I found and used in the previous response.

Another trick is that when adding webcam support, I had to delete the /content/webcam folder and recreate it with the shortcut link to the RED5 files.

Thanks!!!