Posts: 255
Threads: 28
Joined: Jun 2011
Reputation:
3
Installing and configuring SVC SR video chat
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):
download svc_videochat-sr.n.n.zip
extract (unzip) svc_videochat-sr.n.n.zip, you will get the following files:
*replace YOUR-DOMAIN.COM with the domain (and/or subdomain, folder) of your video chat
** 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/THREAD-Localization-Flash-Builder-4-5)
edit the database configuration section of /svc/config/config.php
/* 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):
*some of these instructions should apply for SVC as well, you may need basic knowledge and some basic experience with Flex
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:
*replace YOUR-DOMAIN.COM with the domain (and/or subdomain, folder) of your video chat
** 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/THREAD-Localization-Flash-Builder-4-5)
edit the database configuration section of /config/configuration.php
/* 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
Posts: 14
Threads: 4
Joined: Dec 2011
Reputation:
0
RE: Installing and configuring SVC SR video chat
I have already registered users on my website and will be sending details of 2 users (both partners who want to chat),.
How can i do this?
Do i need registration.php in this case? do i have to modify registration.php ??
Please guide.
Posts: 255
Threads: 28
Joined: Jun 2011
Reputation:
3
RE: Installing and configuring SVC SR video chat
Gotcha. You need to pass the username (or name/first name) of the user to SVC for both users, connecting them will need SVC 0.9.? since the user-list/phonebook feature is still unreleased. To pass usernames and other relevant data, see this post: http://www.videosoftware.pro/forum/THREAD-SVC-questions?pid=4948#pid4948
Posts: 150
Threads: 4
Joined: Feb 2012
Reputation:
0
RE: Installing and configuring SVC SR video chat
If someone is missing the .sql file to set up the database, here is a simple script to create SQL tables (attached). Copy the script to /svc folder and run it on your server. The config.php needs to be configured properly in order to run the script.
The script was created for SVC-SR 0.8.141- and later versions and it should work fine with previous releases as well.
Posts: 18
Threads: 3
Joined: Jun 2010
Reputation:
0
RE: Installing and configuring SVC SR video chat
Something is wrong with the package, I followed what has been mentioned above, but no success, the application loads but there is no loading of the languages for labels.
Posts: 150
Threads: 4
Joined: Feb 2012
Reputation:
0
RE: Installing and configuring SVC SR video chat
The package is tested, the problem, SVC is unable to load the config.xml try to check with your server admin, instadates.com/webcam/VideoChat.swf does not have permission to load instadates.com/webcam/svc/config/config.xml
Posts: 150
Threads: 4
Joined: Feb 2012
Reputation:
0
RE: Installing and configuring SVC SR video chat
If you did try on different servers than you may have a point here... would you test a demo account on a standard server, from one of the popular US providers if ask for and I send you login details in a PM?