Live Streaming

Full Version: Installing Govido (RVC 5+)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Installing JabberCam (RVC 5+)
IMPORTANT, READ BEFORE START!
Follow us on Twitter, it is the place we announce new releases and hot-fixes: http://twitter.com/JabberCam
If you have any questions, problems, ideas for development or discussion about RVC, please post them to the respective category in this forum: http://bit.ly/JabberCamForum
New releases will appear at the Video Software Download Center 24-72 hours after release date

Uploading the source files (contents of RandomVideoChat_n.n.zip, the .fxp file or its contents) to your server and making them accessible is a violation of our license (please read details) and we are acting as described in the license file. Only files located in RVC_Release_n.n.zip should be uploaded to the web-server, the contents of the .fxp file are the uncompiled source codes for advanced users/programmers only!

The attached .php files and the database are nothing more but samples, to run the web service and admin tasks used by RVC. The sample scripts are not optimized nor secure. These simple, unsecured scripts may work but it is highly recommended to replace the samples with your own solution.

INSTALLATION of JabberCam (RVC 5.0+)
Adobe Flash Builder not needed
  • Read the "READ BEFORE START" section above, it is important!
  • Unzip RandomVideoChat_n.n.zip (you've already done this)
  • Unzip RVC_Release_n.n.zip
  • Upload the files located in RVC_Release_n.n.zip to your server
  • Get an Adobe Stratus key ( http://www.videosoftware.pro/forum/THREAD-Adobe-Stratus-API-key )
  • Create a MySQL database (you need two databases if you plan to use both Red5 and Stratus on the same domain)
  • Edit and configure: /jabbercam/config.php
  • Run yourdomain.com/jabbercam/admin.php?task=install
  • Access yourdomain.com/ and Enjoy!
*if index.html is missing, rename horizontal html to index.html

IMPORTANT SETTINGS
  • Databases: create TWO databases, one for Red5 and one for Stratus. You may create only a single database if you don't plan to use Red5 (you can create it any time). Edit jabbercam/config.php and fill in the database details.
  • Server Type: this setting will tell the software the type of media server. Stratus or Red5, default is Stratus.
  • Red5 Connect URL: the Red5 rtmp (Real Time Messaging Protocol). You should get this from your Red5 hosting provider. The default resource is provided by us on 'as is' basis (no uptime guarantee). B1 and B2 are backup server URLs in case you have more than one Red5 resource. If the first server is down, the software will connect to the backup servers in this order.
  • Web Service URL: the EXACT location of functions.php, including http:// www.
  • Developer Key: Adobe Stratus Developer Key: http://www.videosoftware.pro/forum/THREAD-Adobe-Stratus-API-key
  • Minimum connected time: This setting allows you to set a minimum time, users must stay connected. Default=3 sec
  • Speed Chat and Speed Date connected time settings: these settings are controlling the speed dating and speed chatting features by setting the connected time (length of one session) and minimum connected time.
  • Filter settings: various settings for different filters. Labels and timers.
  • Custom filter settings: these two filters are completely customizable, both labels and values ( http://www.videosoftware.pro/forum/THREAD-Custom-Filter-Request?highlight=location ).
  • Login screen: this setting enables or disables the log-in screen. If disabled, user name is not required before start.
  • Mandatory camera: if this option is set to false, web camera is not mandatory any more (people can chat without having a camera).
USING THE GEOIP LOCATION / POPULATING GEOIP DATABASE
run yourdomain.com/jabbercam/admin.php?task=importIp
*optionally, download additional country flag images and place them under /jabbercam/media/images/flags folder

CREATING/CHANGING LANGUAGE FILES
make a copy of /jabbercam/language/lang_en.ini and rename it to the language you wish to use ex. lang_be.ini than make the corresponding changes in /jabbercam/config.php

INSERTING THE VIDEO CHAT INTO EXISTING WEBSITE OR BLOG
http://www.videosoftware.pro/forum/THREAD-Inserting-JabberCam-into-existing-website-or-WordPress-blog

ERROR HANDLING
MAINTENANCE
Run yourdomain.com/jabbercam/admin.php?task=cleanAllOlder on a regular basis ex. daily (create a cron job)
Quote:/usr/local/bin/php -q /home/[username]/public_html/jabbercam/admin.php?task=cleanAllOlder
or
/usr/bin/wget -q -O /dev/null http://www.[yourdomain].com/jabbercam/admin.php?task=cleanAllOlder
*cPanel Servers. The [username] you'll find it on the left side of main cPanel: Home Directory /home/[username]

COMMON PROBLEMS
  • make sure you edit /jabbercam/config.php and be aware of the functions.php location (include http:// www. ....)
  • make sure, you created the databases for the program and run /jabbercam/admin.php?task=install
  • make sure you edit the source code correctly. If you changed the JabberCam.mxml file figure out where did you mess it up. Read the error messages.
  • you need to have basic php xml and programming knowledge to install and you need a pro to modify the code!
  • regularly clear your database using yourdomain.com/jabbercam/functions.php?task=cleanAllOlder (create a daily cron job).
COMMON ERRORS
http://www.chatroulette-clone.com/questions/faq/error-messages/

SUPPORT
Please post your questions to our forum: http://bit.ly/JabberCamForum

CUSTOMIZATION AND CUSTOM INSTALLATION
  • follow the instructions for regular installation (above).
  • unzip RandomVideoChat_n.n.zip
  • import n.n.fxp (ex. 5.0.fxp, not RandomVideoChat_n.n.zip nor RVC_Release_n.n.zip) into Adobe Flash Builder.
    *if the import gives you errors, unzip the project archive and import it as a project folder
  • RVC 5+ needs Goole Maps library to build the application. You can either remove the maps from the source or follow these instructions:
    1. download the library for google maps: http://code.google.com/apis/maps/documentation/flash/
      Download the Google Maps API for Flash SDK
    2. extract sdk.zip
    3. copy map_flex_1_20.swc to /src/lib folder
    4. sign up for a Google Maps API Key (http://code.google.com/apis/maps/signup.html) and insert the key in config.php
  • make your changes (read the FAQ: http://www.chatroulette-clone.com/questions/faq/)
  • save and export a release build (File>>Export>>Release Build ... >>chose your FOLDER and press Finish)


    *you need to make different exports to build different (horizontal and vertical) layouts (if any), two different .swf files will be created, everything else can be overwritten.
  • the project should be be exported to the /bin-release folder but you may choose different path
  • rename the exported JabberCam.swf to JabberCam_h.swf
    upload the renamed .swf file (JabberCam_h.swf) to your web-server (overwrite the existing one).
  • Enjoy!

ENABLING Red5 (Switching to own Flash Media Server)
Change $SERVER_TYPE to Red5 ($SERVER_TYPE = 'Red5'; // 'Red5' | 'Stratus') in config.php (Note: you are using our resources, if your connection will be limited or filtered, you will not be notified! No uptime guarantee!)
ENABLING Red5 IN CASE YOU HAVE YOUR OWN RED5 SERVER
* Red5 support is not included, in order to use Red5, you must be familiar with the description below and you must have a hosting service ready to host Red5 applications (Red5 hosting or you must install Red5 on your Server/VPS). Ask help from your web-host administrator with creating the rtmp link (adding ChatrouletteApp to Red5)
  • Download the MySQL jdbc driver from http://dev.mysql.com/downloads/connector/j/ (mysql-connector-java-x.x.x-bin) and place it under /ChatrouletteApp/WEB-INF/lib/ or red5/lib directory on your server.
  • edit /ChatrouletteApp/WEB-INF/red5-web.properties and fill in your database details
  • deploy the application (/Red5_serverapp/deploy_app/ChatrouletteApp) to your webapp folder and restart Red5
  • edit /jabbercam/config.php and insert your RTMP link ($RED5_CONNECT_URL = 'rtmp://localhost/ChatrouletteApp'
    - Change $SERVER_TYPE to Red5 ($SERVER_TYPE = 'Red5'; // 'Red5' | 'Stratus')
* read our description and forum about installing Red5 and common issues, troubleshooting: http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-server
* please DO NOT contact us with Red5 support requests! If Red5 is configured properly, you don't need anything else, but the above. Installing Red5 (and understanding the configuration) might be difficult, please consult with your web hosting support.

More detailed (step-by-step) description here: http://www.videosoftware.pro/forum/THREAD-Installing-and-editing-RVC-5-PART1-step-by-step-description
Sometimes the libs folder is not created. Just create it in the root folder (near assets, src, html-template) and copy the map_flex_1_20.swc file in the libs folder.

In the root you should have the following folders:
/assets
/html-template
/libs
/src
the $GOOGLE_APP_ID in system settings (Version 5.0 and above!):
PHP Code:
//SYSTEM SETTINGS

/* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
$WEB_SERVICE_URL "WEB_SERVICE_URL/jabbercam/functions.php";        // http://www.your_domain.com/jabbercam/functions.php
$GOOGLE_APP_ID "GOOGLE_MAPS_APP_ID";                                // required for Google maps (to remove, read forum) 
$GOOGLE_APP_ID = "just insert your key here";
nothing else to do
Read these two posts, if the database is not connecting:
http://www.videosoftware.pro/forum/THREAD-red5-errors-HELP?highlight=section
http://www.videosoftware.pro/forum/THREAD-difficulty-getting-JabberCamApp-to-respond-server-handshake-too-long-error
If the Flash does not load, rename JabberCam.swf to JabberCam_h.swf (version 5.4 and 5.5)
*this post was deleted by accident, this is rebuilt from cache, please notify mistakes
I was able to run Flash, there is problem in your source code as flash file needs to be renamed. However now the issue is that it says: "Waiting for video signal". Here is my config.php file:
PHP Code:
<?php

/**
 * Configuration file for RVC 5.0+
 * You may want to edit /jabbercam/language/lang_??.ini
 * Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
 */

//SYSTEM SETTINGS

/* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
$WEB_SERVICE_URL "http://rvc.RateMyHot.com/jabbercam/functions.php";        // http://www.your_domain.com/jabbercam/functions.php
$GOOGLE_APP_ID "GOOGLE_MAPS_APP_ID";                                // required for Google maps (to remove, read forum)

/* Optional database configuration for Red5, used to install database tables (for Red5 database configuration read forum) */
$RED5_DB_HOST "localhost";            //database host (server)
$RED5_DB_USER "dbuser";                //database username
$RED5_DB_PASSWORD "dbpassword";        //database password
$RED5_DB_DATABASE "databasename";        //database name
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST "localhost";                    //database host (server)
$DB_USER "dbuser";                    //database username
$DB_PASSWORD "dbpassword";            //database password
$DB_DATABASE "databasename";            //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE 'Red5';                                            // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY "ADOBE_CIRRUS_KEY";                                // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
/* if Red5 */
$RED5_CONNECT_URL 'rtmp://www.videosoftware.pro/JabberCamApp';    // use your own rtmp, this temporary resource may be down 
$RED5_CONNECT_URL_B1 '';                                            // backup server #1
$RED5_CONNECT_URL_B2 '';                                            // backup server #2
$RED5_CONNECT_MAIN_TIMEOUT 30;                                    // minutes


// LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
$CAMERA_REQUIRED true;                // 'true' or 'false'
$LOGIN_SCREEN_ENABLE true;            // 'true' or 'false' (you may use login.php instead RVC 5.1+)
$SOCIAL_BUTTONS_LOGIN_SCREEN true;    // 'true' or 'false'


// CONNECTION SETTINGS
/* User connection timing */
$MINIMUM_CONNECTED_TIME 2;            // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
$TIME_TO_LIVE 10;                     // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)
/* SpeedChat and SpeedDate connection timing settings */
$SPEEDCHAT_CONNECTED_TIME 5;            // the default time for speedchat (if not set different by the client, using the Flash slider)
$SPEEDCHAT_MIMIMUM_CONNECTED_TIME 3;    // the minimum time a user must stay connected before he can disconnect when using SpeedChat
$SPEEDDATE_CONNECTED_TIME 30;            // the default time for speeddate (if not set different by the client, using the Flash slider)
$SPEEDDATE_MINIMUM_CONNECTED_TIME 10;    // the minimum time a user must stay connected before he can disconnect when using SpeedDate
/* User filtering and ban*/
$FILTER_TIMEOUT 30;                    // set the filter button, minutes (do not connect to filtered user for XX minutes)
$NUM_REPORTS_TO_BAN 3;                // set the report button (number of reports needed for a user to be banned)
$BAN_TIMEOUT 180;                        // set the report button, minutes (ban reported user for XX minutes)
/* Maintenance settings */
$REMOVE_SESSIONS_OLDER_THAN '180';    // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function


// UI SETTINGS
/* Language settings */
$LANGUAGES = array("en"=>"English""es"=>"Spanish""cn"=>"Chinese""de"=>"German""it"=>"Italian""fr"=>"French""tr"=>"Turkish""cz"=>"Czech""ro"=>"Romanian""hu"=>"Hungarian");
/* Timed video blur effect */
$BLUR_EFFECT true;                    // true or false (on|off)
$BLUR_EFFECT_INTENSITY 30;            // initial intensity of video blur
$BLUR_EFFECT_DURATION 5;                // seconds
/* Volume settings */
$SPEAKER_VOLUME 0.5;                    // [0-1]
$MICROPHONE_VOLUME 0.3;                // [0-1]
/* Ad settings */
$AD_FOLDER './media/video/blankscreen/';    // for video ads, directory where .swf videos are located
$ADS_FREQUENCY=60;                            // for text ads (/jabbercam/media/text). Seconds, 0 for off


// FEATURE AND FILTER SETTINGS
/* Auto NEXT Settings */
$AUTONEXT_VALUES = array("man"=>0"5"=>5"10"=>10"30"=>30"1min"=>60);
/* Age filter settings */
$AGEFILTER_VALUES = array("Off""16-25""26-40""41+");
/* Language (country) filter settings */
$LANG_FILTERS = array("en"=>"English""es"=>"Spanish""cn"=>"Chinese""ru"=>"Russian""de"=>"German""it"=>"Italian""fr"=>"French""th"=>"Thai""tr"=>"Turkish""cz"=>"Czech""bg"=>"Bulgarian""ro"=>"Romanian""hu"=>"Hungarian");
/* Custom filter #1 settings */
$CUSTOM_FILTER_1_ENABLE true;            // 'true' or 'false'
$CUSTOM_FILTER_1_LABEL "Location";    // any label (text)
$CUSTOM_FILTER_1 = array("paris"=>"Paris""london"=>"London""sanghai"=>"Sanghai""rome"=>"Rome""moscow"=>"Moscow""tokyo"=>"Tokyo""anyother"=>"Any Other");    // option list (text)
/* Custom filter #2 settings */
$CUSTOM_FILTER_2_ENABLE true;            // 'true' or 'false'
$CUSTOM_FILTER_2_LABEL "Looking for";    // any label (text) 
$CUSTOM_FILTER_2 = array("dating"=>"Dating""friends"=>"Make Friends""look"=>"Just Look""talk"=>"Just Talk");    // option list (text)


/*
---------------------------------------------------------------------------------------------
*/

if($SERVER_TYPE == 'Red5') {
    
$DB_HOST $RED5_DB_HOST;
    
$DB_USER $RED5_DB_USER;
    
$DB_PASSWORD $RED5_DB_PASSWORD;
    
$DB_DATABASE $RED5_DB_DATABASE;
}

if(isset(
$_GET['setts'])) {
    
header('Content-type: text/xml');
    echo 
'<?xml version="1.0" encoding="utf-8"?><settings><serverType>'.$SERVER_TYPE.'</serverType>';
    
    if(
$SERVER_TYPE != 'Red5') {
        echo 
'<webServiceUrl>'.$WEB_SERVICE_URL.'</webServiceUrl>'.
        
'<developerKey>'.$DEVELOPER_KEY.'</developerKey>';
    } else {
        echo 
'<red5ConnectUrl>'.$RED5_CONNECT_URL.'</red5ConnectUrl>';
        
        if(isset(
$RED5_CONNECT_URL_B1))
        echo 
'<red5ConnectUrlB1>'.$RED5_CONNECT_URL_B1.'</red5ConnectUrlB1>';
        
        if(isset(
$RED5_CONNECT_URL_B2))
        echo 
'<red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>'.$RED5_CONNECT_URL_B2.
            
'</red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>';
        
        if(isset(
$RED5_CONNECT_MAIN_TIMEOUT) && (isset($RED5_CONNECT_URL_B1) || isset($RED5_CONNECT_URL_B2)))
        echo 
'<red5ConnectMainTimeout>'.$RED5_CONNECT_MAIN_TIMEOUT.'</red5ConnectMainTimeout>';
    }
    
    echo 
'<languages>';
    foreach (
$LANGUAGES as $code=>$lang) {
        echo 
"<lang><label><![CDATA[$lang]]></label><code>$code</code></lang>";
    }
    echo 
'</languages>';
    
    echo 
'<langFilters>';
    foreach(
$LANG_FILTERS as $code=>$lang) {
        echo 
"<filter><label><![CDATA[$lang]]></label><code>$code</code></filter>";
    }
    echo 
'</langFilters>';
    
    echo 
'<timeToLive>'.$TIME_TO_LIVE.'</timeToLive>';
    
    echo 
'<minimumConnectedTime>'.$MINIMUM_CONNECTED_TIME.'</minimumConnectedTime>';
    echo 
'<speedChatConnectedTime>'.$SPEEDCHAT_CONNECTED_TIME.'</speedChatConnectedTime>';
    echo 
'<speedChatMinimumConnectedTime>'.$SPEEDCHAT_MIMIMUM_CONNECTED_TIME.'</speedChatMinimumConnectedTime>';
    echo 
'<speedDateConnectedTime>'.$SPEEDDATE_CONNECTED_TIME.'</speedDateConnectedTime>';
    echo 
'<speedDateMinimumConnectedTime>'.$SPEEDDATE_MINIMUM_CONNECTED_TIME.'</speedDateMinimumConnectedTime>';
    
    echo 
'<ageFilterValues>';
    foreach(
$AGEFILTER_VALUES as $filter) {
        echo 
"<filter><![CDATA[$filter]]></filter>";
    }
    echo 
'</ageFilterValues>';
    
    echo 
'<autoNextValues>';
    foreach(
$AUTONEXT_VALUES as $label=>$value) {
        echo 
"<autoNext><label><![CDATA[$label]]></label><autoValue><![CDATA[$value]]></autoValue></autoNext>";
    }
    echo 
'</autoNextValues>';
    
    if(
is_dir($AD_FOLDER) === TRUE) {
        echo 
'<ads>';
        
$dir opendir($AD_FOLDER);
        
        if(
$dir) {
            while((
$filename readdir($dir)) != FALSE) {
                if(
is_file($AD_FOLDER.$filename) && preg_match('/^.+\.(?:jpg|png|gif|jpeg|swf)$/'$filename))
                echo 
"<ad>{$AD_FOLDER}{$filename}</ad>";
            }
            
            
closedir($dir);
        }
        
        echo 
'</ads>';
    }
    
    if(
$CUSTOM_FILTER_1_ENABLE) {
        echo 
'<customFilter1 label="'.$CUSTOM_FILTER_1_LABEL.'">';
        foreach(
$CUSTOM_FILTER_1 as $key=>$value) {
            echo 
"<filter><filterValue>$key</filterValue><label>$value</label></filter>";
        }
        echo 
'</customFilter1>';
    }
    
    if(
$CUSTOM_FILTER_2_ENABLE) {
        echo 
'<customFilter2 label="'.$CUSTOM_FILTER_2_LABEL.'">';
        foreach(
$CUSTOM_FILTER_2 as $key=>$value) {
            echo 
"<filter><filterValue>$key</filterValue><label>$value</label></filter>";
        }
        echo 
'</customFilter2>';
    }
    
    echo 
'<loginScreenEnable>'.($LOGIN_SCREEN_ENABLE?'true':'false').'</loginScreenEnable>';
    echo 
'<cameraRequired>'.($CAMERA_REQUIRED?'true':'false').'</cameraRequired>';
    
    echo 
'<speakerVolume>'.$SPEAKER_VOLUME.'</speakerVolume>';
    echo 
'<microphoneVolume>'.$MICROPHONE_VOLUME.'</microphoneVolume>';
    
    echo 
'<blurEffect>'.($BLUR_EFFECT?'true':'false').'</blurEffect>';
    echo 
'<blurEffectIntensity>'.$BLUR_EFFECT_INTENSITY.'</blurEffectIntensity>';
    echo 
'<blurEffectDuration>'.$BLUR_EFFECT_DURATION.'</blurEffectDuration>';
    
    echo 
'<googleAppId>'.$GOOGLE_APP_ID.'</googleAppId>';
    
    echo 
'<socialButtonsLoginScreen>'.($SOCIAL_BUTTONS_LOGIN_SCREEN?'true':'false').'</socialButtonsLoginScreen>';
    
    echo 
'<adsFrequency>'.$ADS_FREQUENCY.'</adsFrequency>';
    
    echo 
'</settings>';
}
?>

I was able to run Flash, there is problem in your source code as flash file needs to be renamed. However now the issue is that it says: "Waiting for video signal". Here is my config.php file:

Also I have Adobe CS4. Do you have source project for Adobe Flash Pro CS4?
This project is not built with Adobe CS4 or Flash MX (as referred before) it needs FB4, this technology is based on FB. Please send a link (PM is OK).
This project is built with AFB4 and the technology itself needs FB and not Flash Professional (MX, CS4 or CS5). About the source code, the JabberCam.swf needs to be renamed to JabberCam_h.swf or vice-versa ( http://www.videosoftware.pro/forum/THREAD-Installing-and-editing-RVC-5-PART1-step-by-step-description?highlight=rename ).
Your site does not work, because database is not configured correctly: rvc.ratemyhot.com/jabbercam/admin.php?task=test

I see at least three mistakes: change $SERVER_TYPE to Stratus, fill in the database details and insert your Cirrus developer key (read the post linked above):
PHP Code:
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST "localhost";     //database host (server)
$DB_USER "dbuser";     //database username
$DB_PASSWORD "dbpassword";     //database password
$DB_DATABASE "databasename";     //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE 'Red5';     // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY "ADOBE_CIRRUS_KEY";     // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum) 
I was hoping I could connect to your server/network same way as the free version works (RVCS??). I will configure it tommorow, just to learn more about your project, it is very interesting! Great job! I have tried similar solutions with Silverlights and is is so complex and simply not working... I am interested to port all this into C#/.NET/MVC

Can I use your newtork instead of connecting to my own Stratus account? In the description above you said it is possible:

"ENABLING Red5 (Switching to own Flash Media Server)
Change $SERVER_TYPE to Red5 ($SERVER_TYPE = 'Red5'; // 'Red5' | 'Stratus') in config.php (Note: you are using our resources, if your connection will be limited or filtered, you will not be notified! No uptime guarantee!)"

How can I make this working with your server?

(04-20-2011, 12:42 PM)JabberCam Wrote: [ -> ]This project is not built with Adobe CS4 or Flash MX (as referred before) it needs FB4, this technology is based on FB. Please send a link (PM is OK).
This project is built with AFB4 and the technology itself needs FB and not Flash Professional (MX, CS4 or CS5). About the source code, the JabberCam.swf needs to be renamed to JabberCam_h.swf or vice-versa ( http://www.videosoftware.pro/forum/THREAD-Installing-and-editing-RVC-5-PART1-step-by-step-description?highlight=rename ).
Your site does not work, because database is not configured correctly: rvc.ratemyhot.com/jabbercam/admin.php?task=test

I see at least three mistakes: change $SERVER_TYPE to Stratus, fill in the database details and insert your Cirrus developer key (read the post linked above):
PHP Code:
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST "localhost";     //database host (server)
$DB_USER "dbuser";     //database username
$DB_PASSWORD "dbpassword";     //database password
$DB_DATABASE "databasename";     //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE 'Red5';     // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY "ADOBE_CIRRUS_KEY";     // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum) 


I have folowed your instructions precisly, got Adobe Key, Google API key, installed database and created user, but it still shows the same message: "Waiting for video Signal". I have tried both settings Stratus and Red5 (two digffrent URLs as you can see in my config). Here is my config, I just removed my DB password... Smile
PHP Code:
<?php

/**
 * Configuration file for RVC 5.0+
 * You may want to edit /jabbercam/language/lang_??.ini
 * Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
 */

//SYSTEM SETTINGS

/* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
$WEB_SERVICE_URL "http://rvc.RateMyHot.com/jabbercam/functions.php";        // http://www.your_domain.com/jabbercam/functions.php
$GOOGLE_APP_ID "ABQIAAAAyR_HZ1x4Bb9MqsdMS-i8zxTBLvblEqGlBQMrPPsytoXUuAW94BRCpf7Au1kEt9vg_8gt8I8hHgQulg";                                // required for Google maps (to remove, read forum)

/* Optional database configuration for Red5, used to install database tables (for Red5 database configuration read forum) */
$RED5_DB_HOST "localhost";            //database host (server)
$RED5_DB_USER "rvc";                //database username
$RED5_DB_PASSWORD "CAN_NOT_TELL_YOU";        //database password
$RED5_DB_DATABASE "rvc";        //database name
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST "localhost";                    //database host (server)
$DB_USER "rvc";                    //database username
$DB_PASSWORD "rvc22";            //database password
$DB_DATABASE "rvc";            //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE 'Stratus';                                            // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY "8d913e8072ce07b4a0918ecb-f8409faa6842";                                // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
/* if Red5 */
$RED5_CONNECT_URL 'rtmp://www.jabbercam.com/ChatrouletteApp';    // use your own rtmp, this temporary resource may be down 

/*$RED5_CONNECT_URL = 'rtmfp://p2p.rtmfp.net/8d913e8072ce07b4a0918ecb-f8409faa6842/';    // use your own rtmp, this temporary resource may be down 
*/


$RED5_CONNECT_URL_B1 '';                                            // backup server #1
$RED5_CONNECT_URL_B2 '';                                            // backup server #2
$RED5_CONNECT_MAIN_TIMEOUT 30;                                    // minutes


// LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
$CAMERA_REQUIRED true;                // 'true' or 'false'
$LOGIN_SCREEN_ENABLE true;            // 'true' or 'false' (you may use login.php instead RVC 5.1+)
$SOCIAL_BUTTONS_LOGIN_SCREEN true;    // 'true' or 'false'


// CONNECTION SETTINGS
/* User connection timing */
$MINIMUM_CONNECTED_TIME 2;            // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
$TIME_TO_LIVE 10;                     // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)
/* SpeedChat and SpeedDate connection timing settings */
$SPEEDCHAT_CONNECTED_TIME 5;            // the default time for speedchat (if not set different by the client, using the Flash slider)
$SPEEDCHAT_MIMIMUM_CONNECTED_TIME 3;    // the minimum time a user must stay connected before he can disconnect when using SpeedChat
$SPEEDDATE_CONNECTED_TIME 30;            // the default time for speeddate (if not set different by the client, using the Flash slider)
$SPEEDDATE_MINIMUM_CONNECTED_TIME 10;    // the minimum time a user must stay connected before he can disconnect when using SpeedDate
/* User filtering and ban*/
$FILTER_TIMEOUT 30;                    // set the filter button, minutes (do not connect to filtered user for XX minutes)
$NUM_REPORTS_TO_BAN 3;                // set the report button (number of reports needed for a user to be banned)
$BAN_TIMEOUT 180;                        // set the report button, minutes (ban reported user for XX minutes)
/* Maintenance settings */
$REMOVE_SESSIONS_OLDER_THAN '180';    // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function


// UI SETTINGS
/* Language settings */
$LANGUAGES = array("en"=>"English""es"=>"Spanish""cn"=>"Chinese""de"=>"German""it"=>"Italian""fr"=>"French""tr"=>"Turkish""cz"=>"Czech""ro"=>"Romanian""hu"=>"Hungarian");
/* Timed video blur effect */
$BLUR_EFFECT true;                    // true or false (on|off)
$BLUR_EFFECT_INTENSITY 30;            // initial intensity of video blur
$BLUR_EFFECT_DURATION 5;                // seconds
/* Volume settings */
$SPEAKER_VOLUME 0.5;                    // [0-1]
$MICROPHONE_VOLUME 0.3;                // [0-1]
/* Ad settings */
$AD_FOLDER './media/video/blankscreen/';    // for video ads, directory where .swf videos are located
$ADS_FREQUENCY=60;                            // for text ads (/jabbercam/media/text). Seconds, 0 for off


// FEATURE AND FILTER SETTINGS
/* Auto NEXT Settings */
$AUTONEXT_VALUES = array("man"=>0"5"=>5"10"=>10"30"=>30"1min"=>60);
/* Age filter settings */
$AGEFILTER_VALUES = array("Off""16-25""26-40""41+");
/* Language (country) filter settings */
$LANG_FILTERS = array("en"=>"English""es"=>"Spanish""cn"=>"Chinese""ru"=>"Russian""de"=>"German""it"=>"Italian""fr"=>"French""th"=>"Thai""tr"=>"Turkish""cz"=>"Czech""bg"=>"Bulgarian""ro"=>"Romanian""hu"=>"Hungarian");
/* Custom filter #1 settings */
$CUSTOM_FILTER_1_ENABLE true;            // 'true' or 'false'
$CUSTOM_FILTER_1_LABEL "Location";    // any label (text)
$CUSTOM_FILTER_1 = array("paris"=>"Paris""london"=>"London""sanghai"=>"Sanghai""rome"=>"Rome""moscow"=>"Moscow""tokyo"=>"Tokyo""anyother"=>"Any Other");    // option list (text)
/* Custom filter #2 settings */
$CUSTOM_FILTER_2_ENABLE true;            // 'true' or 'false'
$CUSTOM_FILTER_2_LABEL "Looking for";    // any label (text) 
$CUSTOM_FILTER_2 = array("dating"=>"Dating""friends"=>"Make Friends""look"=>"Just Look""talk"=>"Just Talk");    // option list (text)


/*
---------------------------------------------------------------------------------------------
*/

if($SERVER_TYPE == 'Red5') {
    
$DB_HOST $RED5_DB_HOST;
    
$DB_USER $RED5_DB_USER;
    
$DB_PASSWORD $RED5_DB_PASSWORD;
    
$DB_DATABASE $RED5_DB_DATABASE;
}

if(isset(
$_GET['setts'])) {
    
header('Content-type: text/xml');
    echo 
'<?xml version="1.0" encoding="utf-8"?><settings><serverType>'.$SERVER_TYPE.'</serverType>';
    
    if(
$SERVER_TYPE != 'Red5') {
        echo 
'<webServiceUrl>'.$WEB_SERVICE_URL.'</webServiceUrl>'.
        
'<developerKey>'.$DEVELOPER_KEY.'</developerKey>';
    } else {
        echo 
'<red5ConnectUrl>'.$RED5_CONNECT_URL.'</red5ConnectUrl>';
        
        if(isset(
$RED5_CONNECT_URL_B1))
        echo 
'<red5ConnectUrlB1>'.$RED5_CONNECT_URL_B1.'</red5ConnectUrlB1>';
        
        if(isset(
$RED5_CONNECT_URL_B2))
        echo 
'<red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>'.$RED5_CONNECT_URL_B2.
            
'</red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>';
        
        if(isset(
$RED5_CONNECT_MAIN_TIMEOUT) && (isset($RED5_CONNECT_URL_B1) || isset($RED5_CONNECT_URL_B2)))
        echo 
'<red5ConnectMainTimeout>'.$RED5_CONNECT_MAIN_TIMEOUT.'</red5ConnectMainTimeout>';
    }
    
    echo 
'<languages>';
    foreach (
$LANGUAGES as $code=>$lang) {
        echo 
"<lang><label><![CDATA[$lang]]></label><code>$code</code></lang>";
    }
    echo 
'</languages>';
    
    echo 
'<langFilters>';
    foreach(
$LANG_FILTERS as $code=>$lang) {
        echo 
"<filter><label><![CDATA[$lang]]></label><code>$code</code></filter>";
    }
    echo 
'</langFilters>';
    
    echo 
'<timeToLive>'.$TIME_TO_LIVE.'</timeToLive>';
    
    echo 
'<minimumConnectedTime>'.$MINIMUM_CONNECTED_TIME.'</minimumConnectedTime>';
    echo 
'<speedChatConnectedTime>'.$SPEEDCHAT_CONNECTED_TIME.'</speedChatConnectedTime>';
    echo 
'<speedChatMinimumConnectedTime>'.$SPEEDCHAT_MIMIMUM_CONNECTED_TIME.'</speedChatMinimumConnectedTime>';
    echo 
'<speedDateConnectedTime>'.$SPEEDDATE_CONNECTED_TIME.'</speedDateConnectedTime>';
    echo 
'<speedDateMinimumConnectedTime>'.$SPEEDDATE_MINIMUM_CONNECTED_TIME.'</speedDateMinimumConnectedTime>';
    
    echo 
'<ageFilterValues>';
    foreach(
$AGEFILTER_VALUES as $filter) {
        echo 
"<filter><![CDATA[$filter]]></filter>";
    }
    echo 
'</ageFilterValues>';
    
    echo 
'<autoNextValues>';
    foreach(
$AUTONEXT_VALUES as $label=>$value) {
        echo 
"<autoNext><label><![CDATA[$label]]></label><autoValue><![CDATA[$value]]></autoValue></autoNext>";
    }
    echo 
'</autoNextValues>';
    
    if(
is_dir($AD_FOLDER) === TRUE) {
        echo 
'<ads>';
        
$dir opendir($AD_FOLDER);
        
        if(
$dir) {
            while((
$filename readdir($dir)) != FALSE) {
                if(
is_file($AD_FOLDER.$filename) && preg_match('/^.+\.(?:jpg|png|gif|jpeg|swf)$/'$filename))
                echo 
"<ad>{$AD_FOLDER}{$filename}</ad>";
            }
            
            
closedir($dir);
        }
        
        echo 
'</ads>';
    }
    
    if(
$CUSTOM_FILTER_1_ENABLE) {
        echo 
'<customFilter1 label="'.$CUSTOM_FILTER_1_LABEL.'">';
        foreach(
$CUSTOM_FILTER_1 as $key=>$value) {
            echo 
"<filter><filterValue>$key</filterValue><label>$value</label></filter>";
        }
        echo 
'</customFilter1>';
    }
    
    if(
$CUSTOM_FILTER_2_ENABLE) {
        echo 
'<customFilter2 label="'.$CUSTOM_FILTER_2_LABEL.'">';
        foreach(
$CUSTOM_FILTER_2 as $key=>$value) {
            echo 
"<filter><filterValue>$key</filterValue><label>$value</label></filter>";
        }
        echo 
'</customFilter2>';
    }
    
    echo 
'<loginScreenEnable>'.($LOGIN_SCREEN_ENABLE?'true':'false').'</loginScreenEnable>';
    echo 
'<cameraRequired>'.($CAMERA_REQUIRED?'true':'false').'</cameraRequired>';
    
    echo 
'<speakerVolume>'.$SPEAKER_VOLUME.'</speakerVolume>';
    echo 
'<microphoneVolume>'.$MICROPHONE_VOLUME.'</microphoneVolume>';
    
    echo 
'<blurEffect>'.($BLUR_EFFECT?'true':'false').'</blurEffect>';
    echo 
'<blurEffectIntensity>'.$BLUR_EFFECT_INTENSITY.'</blurEffectIntensity>';
    echo 
'<blurEffectDuration>'.$BLUR_EFFECT_DURATION.'</blurEffectDuration>';
    
    echo 
'<googleAppId>'.$GOOGLE_APP_ID.'</googleAppId>';
    
    echo 
'<socialButtonsLoginScreen>'.($SOCIAL_BUTTONS_LOGIN_SCREEN?'true':'false').'</socialButtonsLoginScreen>';
    
    echo 
'<adsFrequency>'.$ADS_FREQUENCY.'</adsFrequency>';
    
    echo 
'</settings>';
}
?>
Our Red5 server is up only during development phases, due to the extreme traffic we had to limit or disallow connections from other networks. Today, even our Red5 demo is running on a different server, courtesy of our partner.

$WEB_SERVICE_URL OK
http://rvc.ratemyhot.com/jabbercam/admin.php?task=test runs OK
$SERVER_TYPE OK
$DEVELOPER_KEY OK

This should run fine. Since I don't know your server config, please try the following:
Copy the RVC on ratemyhot.com/rvc (or any other directory) and change $WEB_SERVICE_URL to
PHP Code:
$WEB_SERVICE_URL "http://www.RateMyHot.com/rvc/jabbercam/functions.php"
*leave the rest and access the domain with www prefix. It should work.




Please avoid double posts and try inserting PHP code between mybb code (use the "Insert formatted PHP code" button):
Quote:[ php ]
your code here
[ /php ]
I have copied to http://www.ratemyhot.com/rvc/ and the same issue. I am using Windows + IIS with PHP. Wonder if thsi has anything to do with it, but most PHP apps work fine. Please let me know. Here is my updated Config:

[ php ]
<?php

/**
* Configuration file for RVC 5.0+
* You may want to edit /jabbercam/language/lang_??.ini
* Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
*/

//SYSTEM SETTINGS

/* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
$WEB_SERVICE_URL = "http://www.RateMyHot.com/rvc/jabbercam/functions.php"; // http://www.your_domain.com/jabbercam/functions.php
$GOOGLE_APP_ID = "ABQIAAAAyR_HZ1x4Bb9MqsdMS-i8zxTBLvblEqGlBQMrPPsytoXUuAW94BRCpf7Au1kEt9vg_8gt8I8hHgQulg"; // required for Google maps (to remove, read forum)

/* Optional database configuration for Red5, used to install database tables (for Red5 database configuration read forum) */
$RED5_DB_HOST = "localhost"; //database host (server)
$RED5_DB_USER = "rvc"; //database username
$RED5_DB_PASSWORD = "rvc22"; //database password
$RED5_DB_DATABASE = "rvc"; //database name
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST = "localhost"; //database host (server)
$DB_USER = "rvc"; //database username
$DB_PASSWORD = "rvc22"; //database password
$DB_DATABASE = "rvc"; //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE = 'Stratus'; // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY = "8d913e8072ce07b4a0918ecb-f8409faa6842"; // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
/* if Red5 */
$RED5_CONNECT_URL = 'rtmp://www.jabbercam.com/ChatrouletteApp'; // use your own rtmp, this temporary resource may be down

/*$RED5_CONNECT_URL = 'rtmfp://p2p.rtmfp.net/8d913e8072ce07b4a0918ecb-f8409faa6842/'; // use your own rtmp, this temporary resource may be down
*/


$RED5_CONNECT_URL_B1 = ''; // backup server #1
$RED5_CONNECT_URL_B2 = ''; // backup server #2
$RED5_CONNECT_MAIN_TIMEOUT = 30; // minutes


// LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
$CAMERA_REQUIRED = false; // 'true' or 'false'
$LOGIN_SCREEN_ENABLE = true; // 'true' or 'false' (you may use login.php instead RVC 5.1+)
$SOCIAL_BUTTONS_LOGIN_SCREEN = true; // 'true' or 'false'


// CONNECTION SETTINGS
/* User connection timing */
$MINIMUM_CONNECTED_TIME = 2; // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
$TIME_TO_LIVE = 10; // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)
/* SpeedChat and SpeedDate connection timing settings */
$SPEEDCHAT_CONNECTED_TIME = 5; // the default time for speedchat (if not set different by the client, using the Flash slider)
$SPEEDCHAT_MIMIMUM_CONNECTED_TIME = 3; // the minimum time a user must stay connected before he can disconnect when using SpeedChat
$SPEEDDATE_CONNECTED_TIME = 30; // the default time for speeddate (if not set different by the client, using the Flash slider)
$SPEEDDATE_MINIMUM_CONNECTED_TIME = 10; // the minimum time a user must stay connected before he can disconnect when using SpeedDate
/* User filtering and ban*/
$FILTER_TIMEOUT = 30; // set the filter button, minutes (do not connect to filtered user for XX minutes)
$NUM_REPORTS_TO_BAN = 3; // set the report button (number of reports needed for a user to be banned)
$BAN_TIMEOUT = 180; // set the report button, minutes (ban reported user for XX minutes)
/* Maintenance settings */
$REMOVE_SESSIONS_OLDER_THAN = '180'; // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function


// UI SETTINGS
/* Language settings */
$LANGUAGES = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "de"=>"German", "it"=>"Italian", "fr"=>"French", "tr"=>"Turkish", "cz"=>"Czech", "ro"=>"Romanian", "hu"=>"Hungarian");
/* Timed video blur effect */
$BLUR_EFFECT = true; // true or false (on|off)
$BLUR_EFFECT_INTENSITY = 30; // initial intensity of video blur
$BLUR_EFFECT_DURATION = 5; // seconds
/* Volume settings */
$SPEAKER_VOLUME = 0.5; // [0-1]
$MICROPHONE_VOLUME = 0.3; // [0-1]
/* Ad settings */
$AD_FOLDER = './media/video/blankscreen/'; // for video ads, directory where .swf videos are located
$ADS_FREQUENCY=60; // for text ads (/jabbercam/media/text). Seconds, 0 for off


// FEATURE AND FILTER SETTINGS
/* Auto NEXT Settings */
$AUTONEXT_VALUES = array("man"=>0, "5"=>5, "10"=>10, "30"=>30, "1min"=>60);
/* Age filter settings */
$AGEFILTER_VALUES = array("Off", "16-25", "26-40", "41+");
/* Language (country) filter settings */
$LANG_FILTERS = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "ru"=>"Russian", "de"=>"German", "it"=>"Italian", "fr"=>"French", "th"=>"Thai", "tr"=>"Turkish", "cz"=>"Czech", "bg"=>"Bulgarian", "ro"=>"Romanian", "hu"=>"Hungarian");
/* Custom filter #1 settings */
$CUSTOM_FILTER_1_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_1_LABEL = "Location"; // any label (text)
$CUSTOM_FILTER_1 = array("paris"=>"Paris", "london"=>"London", "sanghai"=>"Sanghai", "rome"=>"Rome", "moscow"=>"Moscow", "tokyo"=>"Tokyo", "anyother"=>"Any Other"); // option list (text)
/* Custom filter #2 settings */
$CUSTOM_FILTER_2_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_2_LABEL = "Looking for"; // any label (text)
$CUSTOM_FILTER_2 = array("dating"=>"Dating", "friends"=>"Make Friends", "look"=>"Just Look", "talk"=>"Just Talk"); // option list (text)


/*
---------------------------------------------------------------------------------------------
*/

if($SERVER_TYPE == 'Red5') {
$DB_HOST = $RED5_DB_HOST;
$DB_USER = $RED5_DB_USER;
$DB_PASSWORD = $RED5_DB_PASSWORD;
$DB_DATABASE = $RED5_DB_DATABASE;
}

if(isset($_GET['setts'])) {
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="utf-8"?><settings><serverType>'.$SERVER_TYPE.'</serverType>';

if($SERVER_TYPE != 'Red5') {
echo '<webServiceUrl>'.$WEB_SERVICE_URL.'</webServiceUrl>'.
'<developerKey>'.$DEVELOPER_KEY.'</developerKey>';
} else {
echo '<red5ConnectUrl>'.$RED5_CONNECT_URL.'</red5ConnectUrl>';

if(isset($RED5_CONNECT_URL_B1))
echo '<red5ConnectUrlB1>'.$RED5_CONNECT_URL_B1.'</red5ConnectUrlB1>';

if(isset($RED5_CONNECT_URL_B2))
echo '<red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>'.$RED5_CONNECT_URL_B2.
'</red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>';

if(isset($RED5_CONNECT_MAIN_TIMEOUT) && (isset($RED5_CONNECT_URL_B1) || isset($RED5_CONNECT_URL_B2)))
echo '<red5ConnectMainTimeout>'.$RED5_CONNECT_MAIN_TIMEOUT.'</red5ConnectMainTimeout>';
}

echo '<languages>';
foreach ($LANGUAGES as $code=>$lang) {
echo "<lang><label><![CDATA[$lang]]></label><code>$code</code></lang>";
}
echo '</languages>';

echo '<langFilters>';
foreach($LANG_FILTERS as $code=>$lang) {
echo "<filter><label><![CDATA[$lang]]></label><code>$code</code></filter>";
}
echo '</langFilters>';

echo '<timeToLive>'.$TIME_TO_LIVE.'</timeToLive>';

echo '<minimumConnectedTime>'.$MINIMUM_CONNECTED_TIME.'</minimumConnectedTime>';
echo '<speedChatConnectedTime>'.$SPEEDCHAT_CONNECTED_TIME.'</speedChatConnectedTime>';
echo '<speedChatMinimumConnectedTime>'.$SPEEDCHAT_MIMIMUM_CONNECTED_TIME.'</speedChatMinimumConnectedTime>';
echo '<speedDateConnectedTime>'.$SPEEDDATE_CONNECTED_TIME.'</speedDateConnectedTime>';
echo '<speedDateMinimumConnectedTime>'.$SPEEDDATE_MINIMUM_CONNECTED_TIME.'</speedDateMinimumConnectedTime>';

echo '<ageFilterValues>';
foreach($AGEFILTER_VALUES as $filter) {
echo "<filter><![CDATA[$filter]]></filter>";
}
echo '</ageFilterValues>';

echo '<autoNextValues>';
foreach($AUTONEXT_VALUES as $label=>$value) {
echo "<autoNext><label><![CDATA[$label]]></label><autoValue><![CDATA[$value]]></autoValue></autoNext>";
}
echo '</autoNextValues>';

if(is_dir($AD_FOLDER) === TRUE) {
echo '<ads>';
$dir = opendir($AD_FOLDER);

if($dir) {
while(($filename = readdir($dir)) != FALSE) {
if(is_file($AD_FOLDER.$filename) && preg_match('/^.+\.(?:jpg|png|gif|jpeg|swf)$/', $filename))
echo "<ad>{$AD_FOLDER}{$filename}</ad>";
}

closedir($dir);
}

echo '</ads>';
}

if($CUSTOM_FILTER_1_ENABLE) {
echo '<customFilter1 label="'.$CUSTOM_FILTER_1_LABEL.'">';
foreach($CUSTOM_FILTER_1 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter1>';
}

if($CUSTOM_FILTER_2_ENABLE) {
echo '<customFilter2 label="'.$CUSTOM_FILTER_2_LABEL.'">';
foreach($CUSTOM_FILTER_2 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter2>';
}

echo '<loginScreenEnable>'.($LOGIN_SCREEN_ENABLE?'true':'false').'</loginScreenEnable>';
echo '<cameraRequired>'.($CAMERA_REQUIRED?'true':'false').'</cameraRequired>';

echo '<speakerVolume>'.$SPEAKER_VOLUME.'</speakerVolume>';
echo '<microphoneVolume>'.$MICROPHONE_VOLUME.'</microphoneVolume>';

echo '<blurEffect>'.($BLUR_EFFECT?'true':'false').'</blurEffect>';
echo '<blurEffectIntensity>'.$BLUR_EFFECT_INTENSITY.'</blurEffectIntensity>';
echo '<blurEffectDuration>'.$BLUR_EFFECT_DURATION.'</blurEffectDuration>';

echo '<googleAppId>'.$GOOGLE_APP_ID.'</googleAppId>';

echo '<socialButtonsLoginScreen>'.($SOCIAL_BUTTONS_LOGIN_SCREEN?'true':'false').'</socialButtonsLoginScreen>';

echo '<adsFrequency>'.$ADS_FREQUENCY.'</adsFrequency>';

echo '</settings>';
}
?>
[ /php ]
I have copied to http://www.ratemyhot.com/rvc/ and the same issue. I am using Windows + IIS with PHP. Wonder if thsi has anything to do with it, but most PHP apps work fine. Please let me know. Here is my updated Config:

[ php ]
<?php

/**
* Configuration file for RVC 5.0+
* You may want to edit /jabbercam/language/lang_??.ini
* Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
*/

//SYSTEM SETTINGS

/* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
$WEB_SERVICE_URL = "http://www.RateMyHot.com/rvc/jabbercam/functions.php"; // http://www.your_domain.com/jabbercam/functions.php
$GOOGLE_APP_ID = "ABQIAAAAyR_HZ1x4Bb9MqsdMS-i8zxTBLvblEqGlBQMrPPsytoXUuAW94BRCpf7Au1kEt9vg_8gt8I8hHgQulg"; // required for Google maps (to remove, read forum)

/* Optional database configuration for Red5, used to install database tables (for Red5 database configuration read forum) */
$RED5_DB_HOST = "localhost"; //database host (server)
$RED5_DB_USER = "rvc"; //database username
$RED5_DB_PASSWORD = "rvc22"; //database password
$RED5_DB_DATABASE = "rvc"; //database name
/* Optional database configuration for Stratus, not needed if Red5 is used */
$DB_HOST = "localhost"; //database host (server)
$DB_USER = "rvc"; //database username
$DB_PASSWORD = "rvc22"; //database password
$DB_DATABASE = "rvc"; //database name

/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE = 'Stratus'; // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY = "8d913e8072ce07b4a0918ecb-f8409faa6842"; // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
/* if Red5 */
$RED5_CONNECT_URL = 'rtmp://www.jabbercam.com/ChatrouletteApp'; // use your own rtmp, this temporary resource may be down

/*$RED5_CONNECT_URL = 'rtmfp://p2p.rtmfp.net/8d913e8072ce07b4a0918ecb-f8409faa6842/'; // use your own rtmp, this temporary resource may be down
*/


$RED5_CONNECT_URL_B1 = ''; // backup server #1
$RED5_CONNECT_URL_B2 = ''; // backup server #2
$RED5_CONNECT_MAIN_TIMEOUT = 30; // minutes


// LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
$CAMERA_REQUIRED = false; // 'true' or 'false'
$LOGIN_SCREEN_ENABLE = true; // 'true' or 'false' (you may use login.php instead RVC 5.1+)
$SOCIAL_BUTTONS_LOGIN_SCREEN = true; // 'true' or 'false'


// CONNECTION SETTINGS
/* User connection timing */
$MINIMUM_CONNECTED_TIME = 2; // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
$TIME_TO_LIVE = 10; // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)
/* SpeedChat and SpeedDate connection timing settings */
$SPEEDCHAT_CONNECTED_TIME = 5; // the default time for speedchat (if not set different by the client, using the Flash slider)
$SPEEDCHAT_MIMIMUM_CONNECTED_TIME = 3; // the minimum time a user must stay connected before he can disconnect when using SpeedChat
$SPEEDDATE_CONNECTED_TIME = 30; // the default time for speeddate (if not set different by the client, using the Flash slider)
$SPEEDDATE_MINIMUM_CONNECTED_TIME = 10; // the minimum time a user must stay connected before he can disconnect when using SpeedDate
/* User filtering and ban*/
$FILTER_TIMEOUT = 30; // set the filter button, minutes (do not connect to filtered user for XX minutes)
$NUM_REPORTS_TO_BAN = 3; // set the report button (number of reports needed for a user to be banned)
$BAN_TIMEOUT = 180; // set the report button, minutes (ban reported user for XX minutes)
/* Maintenance settings */
$REMOVE_SESSIONS_OLDER_THAN = '180'; // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function


// UI SETTINGS
/* Language settings */
$LANGUAGES = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "de"=>"German", "it"=>"Italian", "fr"=>"French", "tr"=>"Turkish", "cz"=>"Czech", "ro"=>"Romanian", "hu"=>"Hungarian");
/* Timed video blur effect */
$BLUR_EFFECT = true; // true or false (on|off)
$BLUR_EFFECT_INTENSITY = 30; // initial intensity of video blur
$BLUR_EFFECT_DURATION = 5; // seconds
/* Volume settings */
$SPEAKER_VOLUME = 0.5; // [0-1]
$MICROPHONE_VOLUME = 0.3; // [0-1]
/* Ad settings */
$AD_FOLDER = './media/video/blankscreen/'; // for video ads, directory where .swf videos are located
$ADS_FREQUENCY=60; // for text ads (/jabbercam/media/text). Seconds, 0 for off


// FEATURE AND FILTER SETTINGS
/* Auto NEXT Settings */
$AUTONEXT_VALUES = array("man"=>0, "5"=>5, "10"=>10, "30"=>30, "1min"=>60);
/* Age filter settings */
$AGEFILTER_VALUES = array("Off", "16-25", "26-40", "41+");
/* Language (country) filter settings */
$LANG_FILTERS = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "ru"=>"Russian", "de"=>"German", "it"=>"Italian", "fr"=>"French", "th"=>"Thai", "tr"=>"Turkish", "cz"=>"Czech", "bg"=>"Bulgarian", "ro"=>"Romanian", "hu"=>"Hungarian");
/* Custom filter #1 settings */
$CUSTOM_FILTER_1_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_1_LABEL = "Location"; // any label (text)
$CUSTOM_FILTER_1 = array("paris"=>"Paris", "london"=>"London", "sanghai"=>"Sanghai", "rome"=>"Rome", "moscow"=>"Moscow", "tokyo"=>"Tokyo", "anyother"=>"Any Other"); // option list (text)
/* Custom filter #2 settings */
$CUSTOM_FILTER_2_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_2_LABEL = "Looking for"; // any label (text)
$CUSTOM_FILTER_2 = array("dating"=>"Dating", "friends"=>"Make Friends", "look"=>"Just Look", "talk"=>"Just Talk"); // option list (text)


/*
---------------------------------------------------------------------------------------------
*/

if($SERVER_TYPE == 'Red5') {
$DB_HOST = $RED5_DB_HOST;
$DB_USER = $RED5_DB_USER;
$DB_PASSWORD = $RED5_DB_PASSWORD;
$DB_DATABASE = $RED5_DB_DATABASE;
}

if(isset($_GET['setts'])) {
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="utf-8"?><settings><serverType>'.$SERVER_TYPE.'</serverType>';

if($SERVER_TYPE != 'Red5') {
echo '<webServiceUrl>'.$WEB_SERVICE_URL.'</webServiceUrl>'.
'<developerKey>'.$DEVELOPER_KEY.'</developerKey>';
} else {
echo '<red5ConnectUrl>'.$RED5_CONNECT_URL.'</red5ConnectUrl>';

if(isset($RED5_CONNECT_URL_B1))
echo '<red5ConnectUrlB1>'.$RED5_CONNECT_URL_B1.'</red5ConnectUrlB1>';

if(isset($RED5_CONNECT_URL_B2))
echo '<red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>'.$RED5_CONNECT_URL_B2.
'</red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>';

if(isset($RED5_CONNECT_MAIN_TIMEOUT) && (isset($RED5_CONNECT_URL_B1) || isset($RED5_CONNECT_URL_B2)))
echo '<red5ConnectMainTimeout>'.$RED5_CONNECT_MAIN_TIMEOUT.'</red5ConnectMainTimeout>';
}

echo '<languages>';
foreach ($LANGUAGES as $code=>$lang) {
echo "<lang><label><![CDATA[$lang]]></label><code>$code</code></lang>";
}
echo '</languages>';

echo '<langFilters>';
foreach($LANG_FILTERS as $code=>$lang) {
echo "<filter><label><![CDATA[$lang]]></label><code>$code</code></filter>";
}
echo '</langFilters>';

echo '<timeToLive>'.$TIME_TO_LIVE.'</timeToLive>';

echo '<minimumConnectedTime>'.$MINIMUM_CONNECTED_TIME.'</minimumConnectedTime>';
echo '<speedChatConnectedTime>'.$SPEEDCHAT_CONNECTED_TIME.'</speedChatConnectedTime>';
echo '<speedChatMinimumConnectedTime>'.$SPEEDCHAT_MIMIMUM_CONNECTED_TIME.'</speedChatMinimumConnectedTime>';
echo '<speedDateConnectedTime>'.$SPEEDDATE_CONNECTED_TIME.'</speedDateConnectedTime>';
echo '<speedDateMinimumConnectedTime>'.$SPEEDDATE_MINIMUM_CONNECTED_TIME.'</speedDateMinimumConnectedTime>';

echo '<ageFilterValues>';
foreach($AGEFILTER_VALUES as $filter) {
echo "<filter><![CDATA[$filter]]></filter>";
}
echo '</ageFilterValues>';

echo '<autoNextValues>';
foreach($AUTONEXT_VALUES as $label=>$value) {
echo "<autoNext><label><![CDATA[$label]]></label><autoValue><![CDATA[$value]]></autoValue></autoNext>";
}
echo '</autoNextValues>';

if(is_dir($AD_FOLDER) === TRUE) {
echo '<ads>';
$dir = opendir($AD_FOLDER);

if($dir) {
while(($filename = readdir($dir)) != FALSE) {
if(is_file($AD_FOLDER.$filename) && preg_match('/^.+\.(?:jpg|png|gif|jpeg|swf)$/', $filename))
echo "<ad>{$AD_FOLDER}{$filename}</ad>";
}

closedir($dir);
}

echo '</ads>';
}

if($CUSTOM_FILTER_1_ENABLE) {
echo '<customFilter1 label="'.$CUSTOM_FILTER_1_LABEL.'">';
foreach($CUSTOM_FILTER_1 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter1>';
}

if($CUSTOM_FILTER_2_ENABLE) {
echo '<customFilter2 label="'.$CUSTOM_FILTER_2_LABEL.'">';
foreach($CUSTOM_FILTER_2 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter2>';
}

echo '<loginScreenEnable>'.($LOGIN_SCREEN_ENABLE?'true':'false').'</loginScreenEnable>';
echo '<cameraRequired>'.($CAMERA_REQUIRED?'true':'false').'</cameraRequired>';

echo '<speakerVolume>'.$SPEAKER_VOLUME.'</speakerVolume>';
echo '<microphoneVolume>'.$MICROPHONE_VOLUME.'</microphoneVolume>';

echo '<blurEffect>'.($BLUR_EFFECT?'true':'false').'</blurEffect>';
echo '<blurEffectIntensity>'.$BLUR_EFFECT_INTENSITY.'</blurEffectIntensity>';
echo '<blurEffectDuration>'.$BLUR_EFFECT_DURATION.'</blurEffectDuration>';

echo '<googleAppId>'.$GOOGLE_APP_ID.'</googleAppId>';

echo '<socialButtonsLoginScreen>'.($SOCIAL_BUTTONS_LOGIN_SCREEN?'true':'false').'</socialButtonsLoginScreen>';

echo '<adsFrequency>'.$ADS_FREQUENCY.'</adsFrequency>';

echo '</settings>';
}
?>
[ /php ]
Also the buttons do not show properly, I wonder if thsi has something to do with wrong paths.
Yes
How can we fix it?? I have copied the script to the server and followed your instructions EXACTLY. I wonder maybe application is limited to be on one domain only, not subdomain/directory? I have provided my config file above. Please help.
Pages: 1 2 3