Installing problems



  • Thanks a lot! Here is my Config.

    /**

    // Room #
    $room = 1;

    // 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.theparentschannel.com/room{$room}/jabbercam/functions.php"; // http://www.your-domain.com/jabbercam/functions.php

    // Database configuration for Stratus
    $DB_HOST = "XXXXXXXXXX"; //database host (server)
    $DB_USER = "XXXXXXXXXX"; //database username
    $DB_PASSWORD = "XXXXXXXXXX"; //database password
    $DB_DATABASE = "XXXXXXXXXX"; //database name

    // Optional database configuration for Red5, used to install database tables (for Red5 database configuration read INSTALL.txt)
    $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

    // Flash media server settings (rtmfp or rtmp | values: Stratus or Red5)
    $SERVER_TYPE = 'Stratus'; // 'Red5 or 'Stratus'

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

    // Stratus
    $DEVELOPER_KEY = "XXXXXXXXXX"; // your Adobe Stratus developer key obtained from Adobe (read INSTALL.txt)

    // Red5
    $RED5_CONNECT_URL = 'rtmp://www.jabbercam.com/ChatrouletteApp'; // leave this free, temporary resource or use your own
    $RED5_CONNECT_URL_B1 = '';
    $RED5_CONNECT_URL_B2 = '';
    $RED5_CONNECT_MAIN_TIMEOUT = 30; // minutes

    // Maintenance settings
    $REMOVE_SESSIONS_OLDER_THAN = '180'; // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function

    // Video ads on idle partner window
    $AD_FOLDER = './media/video/blankscreen/'; // set the directory where video ads (.swf videos) are placed

    // Login process settings (turn on/off mandatory username and camera | values: true or false)
    $LOGIN_SCREEN_ENABLE = false; // 'true' or 'false'
    $CAMERA_REQUIRED = false; // 'true' or 'false'

    // Volume settings
    $SPEAKER_VOLUME = 0.5; // [0-1]
    $MICROPHONE_VOLUME = 0.3; // [0-1]

    // User connection timing and user filtering
    $MINIMUM_CONNECTED_TIME = 1; // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
    $TIME_TO_LIVE = 50; // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)

    $FILTER_TIMEOUT = 15; // set the filter button, minutes (do not connect to filtered user for XX minutes)
    $BAN_TIMEOUT = 45; // set the report button, minutes (ban reported user for XX minutes)
    $NUM_REPORTS_TO_BAN = 5; // set the report button (number of reports needed for a user to be banned)

    // 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

    // Feature and filter settings
    $LANGUAGES = array("en"=>"English");

    $AUTONEXT_VALUES = array("man"=>0, "5"=>5, "10"=>10, "30"=>30, "1min"=>60);
    $AGEFILTER_VALUES = array("Off", "16-25", "26-40", "41+");
    $LANG_FILTERS = array ("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "ru"=>"Russian", "de"=>"German", "it"=>"Italian", "fr"=>"French");

    $CUSTOM_FILTER_1_ENABLE = true; // 'true' or 'false'
    $CUSTOM_FILTER_1_LABEL = "Location"; // any label (text)
    $CUSTOM_FILTER_1 = array(
    "Alabama"=>"Alabama",
    "Alaska"=>"Alaska",
    "American Samoa"=>"American Samoa",
    "Arizona"=>"Arizona",
    "Arkansas"=>"Arkansas",
    "California"=>"California",
    "Colorado"=>"Colorado",
    "Connecticut"=>"Connecticut",
    "Delaware"=>"Delaware",
    "District of Columbia"=>"District of Columbia",
    "Florida"=>"Florida",
    "Georgia"=>"Georgia",
    "Guam"=>"Guam",
    "Hawaii"=>"Hawaii",
    "Idaho"=>"Idaho",
    "Illinois"=>"Illinois",
    "Indiana"=>"Indiana",
    "Iowa"=>"Iowa",
    "Kansas"=>"Kansas",
    "Kentucky"=>"Kentucky",
    "Louisiana"=>"Louisiana",
    "Maine"=>"Maine",
    "Maryland"=>"Maryland",
    "Massachusetts"=>"Massachusetts",
    "Michigan"=>"Michigan",
    "Minnesota"=>"Minnesota",
    "Mississippi"=>"Mississippi",
    "Missouri"=>"Missouri",
    "Montana"=>"Montana",
    "Nebraska"=>"Nebraska",
    "Nevada"=>"Nevada",
    "New Hampshire"=>"New Hampshire",
    "New Jersey"=>"New Jersey",
    "New Mexico"=>"New Mexico",
    "New York"=>"New York",
    "North Carolina"=>"North Carolina",
    "North Dakota"=>"North Dakota",
    "Northern Marianas Islands"=>"Northern Marianas Islands",
    "Ohio"=>"Ohio",
    "Oklahoma"=>"Oklahoma",
    "Oregon"=>"Oregon",
    "Pennsylvania"=>"Pennsylvania",
    "Puerto Rico"=>"Puerto Rico",
    "Rhode Island"=>"Rhode Island",
    "South Carolina"=>"South Carolina",
    "South Dakota"=>"South Dakota",
    "Tennessee"=>"Tennessee",
    "Texas"=>"Texas",
    "Utah"=>"Utah",
    "Vermont"=>"Vermont",
    "Virginia"=>"Virginia",
    "Virgin Islands"=>"Virgin Islands",
    "Washington"=>"Washington",
    "West Virginia"=>"West Virginia",
    "Wisconsin"=>"Wisconsin",
    "Wyoming"=>"Wyoming",
    "International"=>"International"); // option list (text)

    $CUSTOM_FILTER_2_ENABLE = true; // 'true' or 'false'
    $CUSTOM_FILTER_2_LABEL = "Looking for"; // any label (text)
    $CUSTOM_FILTER_2 = array("friends"=>"Make Friends", "advice"=>"Advice", "listen"=>"Someone to Listen", "mixed"=>"Mixed Bag!"); // option list (text)

    $BLUR_EFFECT = true; // true or false
    $BLUR_EFFECT_INTENSITY = 2;
    $BLUR_EFFECT_DURATION = 5; // seconds

    $GOOGLE_APP_ID = "XXXXXXXXXX";

    $SOCIAL_BUTTONS_LOGIN_SCREEN = false; //
    /*
    ā€“-------------------------------------------------------------------------------------------
    */

    if(isset($_GET['setts'])) {
    header('Content-type: text/xml');
    echo '<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></label>$code</lang>";
    }
    echo '</languages>';

    echo '<langfilters>';
    foreach($LANG_FILTERS as $code=>$lang) {
    echo "<filter><label></label>$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 "";
    }
    echo '</agefiltervalues>';

    echo '<autonextvalues>';
    foreach($AUTONEXT_VALUES as $label=>$value) {
    echo "<autonext><label></label><autovalue></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 '</settings>';
    }
    ?>



  • I made a test, both database and fms are OK. If you access the RVC with "www", it should work.



  • I did exactly as described but as soon as I copy the files from the shared account to the server where my site is hosted, it stops working.The admin keeps asking if there's some module besides PHP and MySQL, that needs to be installed on their server, for the script to work, a module which on some other servers maybe standard issue, but not on theirs.



  • No, there is only PHP and MySQL needed and write access to the web-service folder. There must be something wrong with creating the files by the script.



  • Is there a way of uploading a screen capture? The engineering working on this with me is telling me there are errors with the latest release 5.9 and I'd like to get your opinion JabberCam. Could be nothing but he's putting down tools until I get feedback.



  • We are getting errors from the latest source code - please see screenshot attached. Any suggestions? Thanks as ever for your help!



  • Did you delete the chat area TextInput form JabberCam.mxml?



  • Hi guys - so had a flex guy work on the latest release and there are a few challenges we're experiencing:

    1. The Camera is not recognized when trying to use chatroulette software on a mac and only occasionally with a pc
    2. The 'Next' button text disappears when pressed and will only comes back when page is refreshed - without refreshing its just a gray blank button

    Any suggestions or could someone take a look?

    Thanks

    Andrew



  • Hi,




 

Looks like your connection to H7 was lost, please wait while we try to reconnect.