Support: AVChat Documentation

eMeeting 9

The AVChat Plugin for eMeeting 9 handles the integration between your eMeeting web site and our AVChat software. Here's what it will do:

  • Automatic username, gender and profile picture integration: users will have the same username, gender and profile picture in the web site and in the video chat
  • Different features for different user groups
  • User profiles integration: you can access the profile of other users directly from the video chat
  • Placement of video chat within the web site (user and admin interface)

If you cannot find the answer you’re looking for here, we encourage you to try our FAQ or forums. There's also more documentation regarding AVChat in the documentation area for the main standalone version.

All the specific documentation regarding eMeeting is on this page so if you're looking for something specific just hit Ctrl+F on your browser.

Here are the eMeeting related topics we will cover on this page:

1. Installing the AVChat Plugin for eMeeting 9

First you have to download 2 archives from the client/trial area on avchathq.com to your computer. These 2 archives are:

  • AVChat 3.0.zip (contains media server files for Red5/FMIS/Wowza and AVChat Standalone)
  • avchat3_emeeting_9x_integration.zip (includes the actual eMeeting Plugin)

Extract the 2 archives somewhere on your computer to have all the files handy! We will use files from both archives!

After installation, the first time you will log in the video chat you will be asked or a license key, it's in your client/trial area.

1.1 Setting up the avchat30 application on the media server

First you need to install the avchat30 app on your media server. If you don't know what a media server is check out the requirements. If you already have a media server (Red5, FMIS, FMIS hosting, Wowza) here's what you need to do:

Red5 0.8
installed on a
dedicated or VPS server
Wowza
installed on a
dedicated or VPS server

1. Upload the avchat30 folder from the AVChat 3.0.zip/Files to upload to your media server (Red5 0.8) folder to the webapps folder of your Red5 0.8 installation (C:\Program Files\Red5\webapps on Win, /opt/red5/webapps/ on Linux).

2. Linux only: Chmod the new avchat30 folder to 777.

3. Restart the Red5 server

You're done, move to Part 1.2 below

1. Upload the applications, lib and conf folders from the AVChat 3.0.zip/Files to upload to your media server (Wowza) folder to the root folder of your Wowza Media Server installation (C:\Program Files\Wowza Media Systems\Wowza Media Server Pro 1.7.2\ on Windows).

2. Restart the Wowza server

You're done, move to Part 1.2 below

FMIS
installed on a
dedicated or VPS server
FMIS
hosting from
http://influxis.com

1. Upload the avchat30 folder from the AVChat 3.0.zip/Files to upload to your media server (FMS) folder to the applications folder of your FMIS installation (C:\Program Files\Macromedia\Flash Media Server\applications on Windows, /opt/macromedia/fms/applications/ on Linux).

2. Linux only: Chmod the new avchat30 folder to 777.

You're done, move to Part 1.2 below

While logged in your Influxis.com account:

1) Go to File Manager:
2) Click the root folder
3) Click the folder icon at the top labeed New Folder
4) Give the new folder the name avchat30 and click OK
5) click the avchat30 folder in the list to the left
6) At the top click the red arrow labeled Upload
7) In the empty list that shows up add main.ase, settings.asc and Application.xml from the AVChat 3.0.zip\Files to upload to your media server (FMS)
8) Cick Upload

Done.

Your connection string used in Part 2 will look like: rtmp://123.rtmphost.com/avchat30/_definst_ where 123.rtmphost.com is shown at the top of your Influxis.com account.

Now that we've got that out of the way, let's move on to installing the AVChat Plugin on eMeeting.

1.2 Installing the actual AVChat Plugin for eMeeting

  1. Download and unpack the eMeeting Integration Kit for AVChat 3 archive (avchat3_emeeting_9x_integration.zip) on your computer.
  2. Connect with an FTP client (like WinSCP or FileZilla) to your website and go to [your website root]/inc/exe/.
  3. Create a new folder named videochat.
  4. Copy the contents of avchat3_emeeting_9x_integration.zip/avchat3 to the videochat folder.
  5. Now open videochat/avc_settings.php in a text editor and set the value of
    $avconfig['connectionstring']
    like this:

    $avconfig['connectionstring']='rtmp://myFMSserver.com/avchat30/_definst_';

    where myFMSserver.com is the domain name or ip of the server where your media server is installed.
  6. CHMOD the videochat/avchat3/uploadedFiles folder to 777 (otherwise the upload function might not work)
  7. Create a new folder tokens (videochat/avchat3/tokens) and CHMOD it to 777 (otherwise we might have token generation issues later on)
  8. Login as admin into your eMeeting website and go to Design >> Create pageadmin page create
  9. For the Page Name field use videochat.
  10. Click on the source tab at the bottom of the text editor, then copy the code below and paste it in the text editor from your admin area:
    <?php $HOST = 'http://'.$_SERVER["HTTP_HOST"].'/'; if((isset($_SESSION["site_moderator"]) && $_SESSION["site_moderator"] == 'yes') || (isset($_SESSION["admin_level"]) && $_SESSION["admin_level"] == 1) || (isset($_SESSION['admin_super_user']) && $_SESSION['admin_super_user'] == 'yes')){?> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="index_obj" width="100%" height="100%" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> <param name="movie" value="<?php echo $HOST.'inc/exe/videochat/';?>admin.swf?cachebuster=1" /> <param name="quality" value="high" /> <param name="bgcolor" value="#272727" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="base" value="<?php echo $HOST.'inc/exe/videochat/';?>" /> <embed src="<?php echo $HOST.'inc/exe/videochat/';?>admin.swf?cachebuster=2" quality="high" bgcolor="#272727" width="100%" height="100%" name="index_embed" align="middle" play="true" loop="false" quality="high" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" base="<?php echo $HOST.'inc/exe/videochat/';?>" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed> </object> <?php }else{ ?> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="index_obj" width="100%" height="100%" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> <param name="movie" value="<?php echo $HOST.'inc/exe/videochat/';?>index.swf?cachebuster=1" /> <param name="quality" value="high" /> <param name="bgcolor" value="#272727" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="base" value="<?php echo $HOST.'inc/exe/videochat/';?>" /> <embed src="<?php echo $HOST.'inc/exe/videochat/';?>index.swf?cachebuster=2" quality="high" bgcolor="#272727" width="100%" height="100%" name="index_embed" align="middle" play="true" loop="false" quality="high" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" base="<?php echo $HOST.'inc/exe/videochat/';?>" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed> </object> <?php } ?>
    It's a long code make sure you copy it all. Here's how it should look in your eMeetings admin area:avchat 3 embed code
  11. Press Save Page at the bottom.
  12. After the page was saved, you need to add a menu item. Go to Design >> Menu bars
  13. From the drop down the menu bar choose the Top Menu Bar
  14. In the empty fields at the bottom add an entry with:
    1. Menu Link: videochat
    2. Menu Caption: Video Chat
  15. Click the Update button at the bottom
  16. Done, a Video Chat link will now show up in the top menu on the front end of the website

2. Accessing the AVChat admin interface in eMeeting

...

3. Location of AVChat files in a eMeeting installation

All the AVChat Standalone files including language files, audio/video quality profile files, avc_settings.php and, well, everything else are on your eMeeting web site in:

[your website root]/inc/exe/videochat/

In there you will also find some special integration files like integration.php, these contain all the logic behind the integration! How they work is that they modify the default values in avc_settings.php depending on the logged in user/browser requesting them.

4. Opening up the video chat in a pop up

Bummer, we're still writing this one...

5. Placing ads around the video chat

Bummer, we're still writing this one...

6. eMeeting's user levels and AVChat

Bummer, we're still writing this one...

7. Allowing visitors/guests to join the video chat

Bummer, we're still writing this one...

 

8. Changing the looks of AVChat to better fit your eMeeting web site

Changing the design of AVChat is explained in detail in the documentation for the standalone version.

When working with the eMeeting Plugin keep in mind that AVChat is installed in [your website root]/inc/exe/videochat/ so all the files you need to edit (like style.css for fonts and colors, avc_settings.php for the background image,) are there.