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):

    1. download svc_videochat-sr.n.n.zip

    2. extract (unzip) svc_videochat-sr.n.n.zip, you will get the following files:

      VideoChat.zip
      svc.fxp (svc.zip)
      README.txt
      license.pdf

    3. extract VideoChat.zip, you will get the following folders and files:

      /svc
      crossdomain.xml
      index.html
      README.txt
      VideoChat.swf

    4. 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!)

    5. edit serviceURL and configURL in /svc/config/config.xml

      
       <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> 
      
      ```*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)
      
    6. edit the database configuration section of /svc/config/config.php

    7. 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):

    EDITING (editing a Flex application with Flash Builder):

    *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):

    1. download svc_videochat-sr.n.n.zip

    2. extract (unzip) svc_videochat-sr.n.n.zip, you will get the following files:

      VideoChat.zip
      svc.fxp
      README.txt
      license.pdf

    3. extract VideoChat.zip, you will get the following folders and files:

      /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

    4. 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!)

    5. edit serviceURL and configURL in /config/config.xml

      
       <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> 
      
      ```*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)
      
    6. edit the database configuration section of /config/configuration.php



  • I am not sure I understand what you mean …



  • 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.

    Thanks



  • 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



  • 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.



  • 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.



  • 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



  • I'm sure what you are suggesting, but I just tried same package on 3 different hosts/server, same issue.



  • 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?



  • @Govido
    I PMed you last night, but didn't heard back from you.



  • Here is the video chat, installed on a new cPanel VPS with default settings (nothing changed): http://209.50.248.XXX/~sharkman -sent you a PM witht cPanel/FTP access details and full URL.



  • You may use the install.php to create your tables on your own server, please don't forget to place create.sql near install.php under the /svc directory (the downloadable installer package can be found earlier in this post).

    During the installation I noticed something. The software did not connect for me either, came back with Not Connected… message. This is a rare issue and can be fixed by editing config.xml

    original config.xml

    
     <config><language>en_US</language>
    	<serviceurl>../services/registration.php</serviceurl>
    	<configurl>../services/configuration.php</configurl></config> 
    
    

    edited config.xml - the complete URL to services was added

    
     <config><language>en_US</language>
    	<serviceurl>http://209.50.248.XXX/~sharkman/svc/services/registration.php</serviceurl>
    	<configurl>http://209.50.248.XXX/~sharkman/svc/services/configuration.php</configurl></config> 
    
    

    the above should look like this if the domain is videosoftware.pro

    
     <config><language>en_US</language>
    	<serviceurl>http://www.videosoftware.pro/svc/services/registration.php</serviceurl>
    	<configurl>http://www.videosoftware.pro/svc/services/configuration.php</configurl></config> 
    
    


  • You were right the config.xml file does not get loaded by the swf file. Have you ever experienced such issue, any idea how to fix it, or should contact the host ?


    I thing the whole problem is caused by the crossdomain.xml and "allowscriptaccess" flashvars in the home page,
    I changed all "params.allowscriptaccess = "true";"
    but I'm not sure about theses:
    <allow-access-from domain="" to-ports=""><allow-http-request-headers-from domain="" headers=""></allow-http-request-headers-from></allow-access-from>



  • Yes, that is a highly possible cause. Also, some previous versions had parameters pointing to videosoftware.pro in the HTML sample. Please reply if you figure out the problem, in order to help others.
    If there is a .js issue, loading the SWF application directly, should override it.



  • Couldn't figure it out, I'm not familiar with cross-domain and these kind of setups. Godaddy is well known for not going well with cross-domain files. Is there any way to get rid of cross domain setup and make it like previous version of the script ?



  • Yes, delete crossdomain.xml



  • Still not working after removing crossdomain.xml



  • It must be a server setting, disallowing access to config.xml; as you see, the software works just fine on the shared account I sent. Try to copy the soft from there -as it is- and edit config.php and config.xml after your needs. If you still receive no connection messages, you need to figure out the issue with your host.



  • We tested on different servers like Bluehost, HostGator, RackSpace, Hosting Marketers, etc. The last one offers Red5 in their package. I am not sure about the support quality, all the above should be good if not excellent. We had our Red5 versions tested and hosted (courtesy) by Hosting Marketers for about six months, I can recommend them. Stable service, excellent support.



  • I have followed all this with no luck.

    My chat works but still seems to be finding a bunch of users from some one else's server because mine is not even published yet?

    What this does not explain is where to insert by Adobe Developer code and the URL to their cirrus server? I have asked this several times and so far it appears no one knows??? :huh:

    Is there an actual set of documentations on installing this for Random Chat?

    No users, using Cirrus ( formerly Stratus )


Log in to reply
 

© 2108 H7 | Powered by NodeBB

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