09-22-2011, 05:16 AM
Updated for SVC-SR 0.9, for older versions scroll down.
Software: SVC SR
Description: Social Video Chat
Module(s): Single connection, Random (SR)
Function: Video chat to connect two random strangers with each other, also known as "chat roulette", the partner is switched by pressing "NEXT" (aka. Nexting).
Package: svc-videochat-sr-n.n-release.zip
INSTALLATION (Version 0.8 and later):
TROUBLESHOOTING (Some frequently encountered errors and mistakes):
EDITING (editing a Flex application with Flash Builder):
INSTALLATION (Versions prior to 0.8):
Software: SVC SR
Description: Social Video Chat
Module(s): Single connection, Random (SR)
Function: Video chat to connect two random strangers with each other, also known as "chat roulette", the partner is switched by pressing "NEXT" (aka. Nexting).
Package: svc-videochat-sr-n.n-release.zip
INSTALLATION (Version 0.8 and later):
- download svc_videochat-sr.n.n.zip
- extract (unzip) svc_videochat-sr.n.n.zip, you will get the following files:
Quote:VideoChat.zip
svc.fxp (svc.zip)
README.txt
license.pdf - extract VideoChat.zip, you will get the following folders and files:
Quote:/svc
crossdomain.xml
index.html
README.txt
VideoChat.swf - upload files ONLY from /VideoChat folder (the files from nr. 3) to your server (do not upload svc.fxp or other contents of original zip package!)
- edit serviceURL and configURL in /svc/config/config.xml
*replace YOUR-DOMAIN.COM with the domain (and/or subdomain, folder) of your video chatPHP Code:
<?xml version="1.0" encoding="utf-8"?>
<config>
<language>en_US</language>
<serviceURL>http://www.YOUR-DOMAIN.COM/svc/registration.php</serviceURL>
<configURL>http://www.YOUR-DOMAIN.COM/svc/configuration.php</configURL>
</config>
** if you know what you are doing, replace en_US with your preferred language. Info and detailed description about Flash Builder SVC localization, here: http://www.videosoftware.pro/forum/THREA...ilder-4-5) - edit the database configuration section of /svc/config/config.php
PHP Code:
<?php
/**
* Configuration file for SVC-SR 0.8+
* Help: http://www.videosoftware.pro/forum/THREAD-Installing-and-configuring-SVC-SR-video-chat
*/
/* database configuration */
$MYSQL_DB_HOST = "localhost"; // database host
$MYSQL_DB_PORT = "3306"; // database port (optional)
$MYSQL_DB_USER = ""; // database username
$MYSQL_DB_PASS = ""; // database password
$MYSQL_DB_NAME = ""; // database name
$VALID_INTERVAL = 15; // sec.
/* connection settings */
$PING_INTERVAL = 5 * 1000; // sec. - ping server for updates every N seconds
$REQUEST_CONFIG_INTERVAL = 60 * 60000; // min. - reload configuration file after N minutes
$INVITATION_SENT_TIMEOUT = 3 * 1000; // sec. - timeout to wait for a serponse (available/busy) from a pinged partner; starts after ping was sent
$FIND_NEXT_BUTTON_ACTIVATION_TIMEOUT = 5; // sec. - timeout (countdown) before NEXT button is activated; starts after successful connection
$FIND_NEXT_ACTIVATION_TIMEOUT = 2 * 1000; // sec. - idle (available) timeout before SVC starts to look for a new partner; starts after NEXT is pressed
$VALIDATION_CODE = "136699";
/* system settings */
$HIDE_AGE_FEMALE = true; // hide age if user is female (true/false)
$HIDE_AGE_MALE = false; // hide age if user is male (true/false)
$FILTER_DENSITY = 15; // number between 0-255 (the bigger will be more blurred)
$REPORTS_MAX_ALLOWED_PER_DAY = 5; // after this number all the rest connection video display will be blured for today
$REPORTS_ABUSE_DETECTION_STRATEGY = "IP"; // possible values: IP, USER. Determines the used strategy when detecting user abuse if the reported number is higher than $REPORTS_MAX_ALLOWED_PER_DAY
// Please edit /config/config.xml to set service and config URLs and locale
?> - run /svc/install.php (YOUR_DOMAIN.COM/svc/install.php)
if your database details are correctly set, this should install the database tables and the software should be ready for local connections. Delete install.php.
TROUBLESHOOTING (Some frequently encountered errors and mistakes):
- Error #2032 - http://www.videosoftware.pro/forum/THREAD-Error-2032
- Possible issues - http://www.videosoftware.pro/forum/THREA...SVC-SR-0-7
- Local connection - http://www.videosoftware.pro/forum/THREA...93#pid6393
- Errors while editing - http://www.videosoftware.pro/forum/FORUM...uilder-4-5
EDITING (editing a Flex application with Flash Builder):
- Using Adobe Flash Builder (video training): http://www.adobe.com/devnet/flex/videotraining.html
- Getting started with Adobe Flash Builder 4: http://www.adobe.com/newsletters/inspire...index.html
- Importing your Flex project (.fxp) to Adobe Flash Builder: http://www.videosoftware.pro/forum/THREA...-Builder-4
- Some basic editing: http://www.videosoftware.pro/forum/THREA...ed-editing
- http://www.videosoftware.pro/forum/THREAD-Installing-and-editing-RVC-5-PART2-step-by-step-description
INSTALLATION (Versions prior to 0.8):
- download svc_videochat-sr.n.n.zip
- extract (unzip) svc_videochat-sr.n.n.zip, you will get the following files:
Quote:VideoChat.zip
svc.fxp
README.txt
license.pdf - extract VideoChat.zip, you will get the following folders and files:
Quote:/config (config.xml)
/doc (README.txt, license.pdf)
/history (history.css, history.js, historyFrame.html)
configuration.php
crossdomain.xml
playerProductInstall.swf
registration.php
swfobject.js
VideoChat.html
VideoChat.swf
VideoChat.jpg - upload files ONLY from /VideoChat folder (the files from nr. 3) to your server (do not upload svc.fxp or other contents of original zip package!)
- edit serviceURL and configURL in /config/config.xml
*replace YOUR-DOMAIN.COM with the domain (and/or subdomain, folder) of your video chatPHP Code:
<?xml version="1.0" encoding="utf-8"?>
<config>
<language>en_US</language>
<serviceURL>http://www.YOUR-DOMAIN.COM/svc/registration.php</serviceURL>
<configURL>http://www.YOUR-DOMAIN.COM/svc/configuration.php</configURL>
</config>
** if you know what you are doing, replace en_US with your preferred language. Info and detailed description about Flash Builder SVC localization, here: http://www.videosoftware.pro/forum/THREA...ilder-4-5) - edit the database configuration section of /config/configuration.php
PHP Code:
<?php
/**
* Configuration file for SVC-SR 0.6+
* Help: http://www.videosoftware.pro/forum/THREAD-Installing-and-configuring-SVC-SR-video-chat
*/
/* database configuration */
$MYSQL_DB_HOST = "localhost"; // database host
$MYSQL_DB_PORT = "3306"; // database port (optional)
$MYSQL_DB_USER = ""; // database username
$MYSQL_DB_PASS = ""; // database password
$MYSQL_DB_NAME = ""; // database name
$VALID_INTERVAL = 15; // sec.
/* connection settings */
$PING_INTERVAL = 5 * 1000; // sec. - ping server for updates every N seconds
$REQUEST_CONFIG_INTERVAL = 60 * 60000; // min. - reload configuration file after N minutes
$INVITATION_SENT_TIMEOUT = 3 * 1000; // sec. - timeout to wait for a serponse (available/busy) from a pinged partner; starts after ping was sent
$FIND_NEXT_BUTTON_ACTIVATION_TIMEOUT = 5; // sec. - timeout (countdown) before NEXT button is activated; starts after successful connection
$FIND_NEXT_ACTIVATION_TIMEOUT = 2 * 1000; // sec. - idle (available) timeout before SVC starts to look for a new partner; starts after NEXT is pressed
/* system settings */
$HIDE_AGE_FEMALE = true; // hide age if user is female (true/false)
$HIDE_AGE_MALE = false; // hide age if user is male (true/false)
// Please edit /config/config.xml to set service and config URLs and locale
?>