|
Installing Govido (RVC 5+)
|
|
04-20-2011, 05:04 AM
(This post was last modified: 04-20-2011 05:32 AM by RVC Video Chat.)
Post: #1
|
|||
|
|||
|
Installing Govido (RVC 5+)
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
IMPORTANT SETTINGS
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/THREA...Press-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*cPanel Servers. The [username] you'll find it on the left side of main cPanel: Home Directory /home/[username] COMMON PROBLEMS
http://www.chatroulette-clone.com/questi...-messages/ SUPPORT Please post your questions to our forum: http://bit.ly/JabberCamForum CUSTOMIZATION AND CUSTOM INSTALLATION
*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. upload the renamed .swf file (JabberCam_h.swf) to your web-server (overwrite the existing one). 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)
* 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/THREA...escription 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 SETTINGSnothing else to do Read these two posts, if the database is not connecting: http://www.videosoftware.pro/forum/THREA...ht=section http://www.videosoftware.pro/forum/THREA...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 chatroulette
|
|||
|
04-20-2011, 09:35 AM
(This post was last modified: 04-20-2011 12:55 PM by RVC Video Chat.)
Post: #2
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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: <?phpI 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? |
|||
|
04-20-2011, 12:42 PM
(This post was last modified: 04-20-2011 12:53 PM by RVC Video Chat.)
Post: #3
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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/THREA...ght=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 */I chatroulette
|
|||
|
04-20-2011, 01:35 PM
(This post was last modified: 04-20-2011 01:36 PM by rateMyHot.com.)
Post: #4
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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
|
|||
|
04-20-2011, 11:22 PM
(This post was last modified: 04-21-2011 03:52 AM by RVC Video Chat.)
Post: #5
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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). 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... ![]() PHP Code: <?php |
|||
|
04-21-2011, 04:03 AM
(This post was last modified: 04-21-2011 04:06 AM by RVC Video Chat.)
Post: #6
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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"; Please avoid double posts and try inserting PHP code between mybb code (use the "Insert formatted PHP code" button): Quote:[ php ] |
|||
|
04-21-2011, 05:47 AM
(This post was last modified: 04-21-2011 05:47 AM by rateMyHot.com.)
Post: #7
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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...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...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 ] |
|||
|
04-21-2011, 07:16 AM
Post: #8
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
Also the buttons do not show properly, I wonder if thsi has something to do with wrong paths.
|
|||
|
04-22-2011, 01:46 AM
Post: #9
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
Yes
|
|||
|
04-22-2011, 09:43 AM
(This post was last modified: 04-22-2011 11:28 AM by RVC Video Chat.)
Post: #10
|
|||
|
|||
|
RE: Installing JabberCam (RVC 5+)
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.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)






