PHP 2 Way Video Chat - Scripts for Video Streaming, Chat, Conference, Presentation Website Home | Download | Order |Red5 Hosting | Forum | Contact
PHP 2 Way Video Chat - Scripts for Video Streaming, Chat, Conference, Presentation Website
Member Panel
Please submit your login details or register.
Username
Password
Register    
Login    

1 On 1 Video Chat Script
VideoWhisper > 2 Way Video Chat > PHP Stand Alone

PHP 2 Way Video Chat edition can be used for quick stand alone setup and fast integration with php sites.

2 Way Video Chat Script : Instant One on One HD Video Conferencing

Demo

Enter 2 Way Video Chat Script Demo

On the simple php demo you'll be able to create an instant one on one video chat room, get the invite link and enter video chat to wait for the other person to join.

Installation Instructions for PHP 2 Way Video Chat

Before installing, make sure your hosting environment meets all requirements.

1. If you're not hosting RTMP with us go to RTMP Application Setup for installation details.
2. Download PHP Stand Alone zip and copy contents of 2wvc_php inside to your web installation location. (Example: www.yoursite.com/videochat/)
3. Fill your RTMP path into settings.php as $rtmp_server .
4. Get a RTMFP path (i.e. by registering for a free developer key from Adobe Stratus ) and fill into settings.php as $rtmfp_server .

Customizations
  • Edit skins, icons, logo, background in templates/2wvc .
  • This can be integrated with your members database and login system. Variables like username, loggedin (1 if user was logged in and allowed to enter, 0 otherwise), welcome message, streaming settings are passed from 2_login.php :
    • servers:
      server=<?=$rtmp_server?>&serverAMF=<?=$rtmp_amf?>&serverRTMFP=<?=$rtmfp_server?>
    • user login and room:
      &room=<?=urlencode($room)?>&welcome=<?=urlencode($welcome)?>&username=<?=$username?>&msg=<?=$message?>&loggedin=<?=$loggedin?>
    • enable credits / time limitations:
      &showTimer=1&showCredit=1&disconnectOnTimeout=0
    • allow P2P/Server video streaming:
      &enableP2P=1&enableServer=1
    • configure streaming settings:
      &camWidth=320&camHeight=240&camFPS=15&micRate=22
      &camBandwidth=40960&showCamSettings=1&camMaxBandwidth=81920
    • enable/disable text chat and buttons:
      &showTextChat=1&sendTextChat=1
      &configureConnection=1&configureSource=1&enableNext=1
      &enableBuzz=1&enableSoundFx=1&requestSnapshot=1
    • configure buffering:
      &bufferLive=0.5&bufferFull=0.5&bufferLivePlayback=0.2&bufferFullPlayback=0.5
    • text filtering i.e. bad words:
      &filterRegex=<?=$filterRegex?>&filterReplace=<?=$filterReplace?>
    • disable emoticons (faster loading):
      &disableEmoticons=0
      disabling emoticons will replace emoticons chat with standard html text area that loads css styles from templates/2wvc/styles.css and standard text copy
    • configure automated snapshots:
      &autoSnapshots=1&snapshotsTime=20000
  • Sessions are reported and can be controlled from 2_status.php (see comments in file for details)
  • Edit logout page 2_logout.php
  • Edit emoticons list and mappings in emoticons/emoticons.xml
  • Edig text chat loggin in vc_chatlog.php
  • Edit snapshot publishing in vc_snapshots.php
  • This can be configured to load other script extensions by swf parameters. Example: For using .cfm scripts edit 2wvideochat.php and change $swfurl="2wvc.swf" to $swfurl="2wvc.swf?extension=.cfm";
  • Implement a NEXT button functionality from 2_next.php :
    • $redirect_url=urlencode(""); //disconnect and redirect to url
    • $disconnect=urlencode(""); //disconnect with that message to standard disconnect page
    • $message=urlencode("Next button pressed. This feature can be programmed from 2_next.php or disabled from 2_login.php parameters. $chatlog"); //show this message to user
    • $send_message=urlencode("I pressed next."); //user sends this message to room
    • $next_room=urlencode($next_room); //user moves to this room
  • Translate to any language (or multiple with php scripting) with translation.php:
    Just type "/videowhisper translation" in chat to get current translation xml in your clipboard.
    Only texts that were used during current session will be listed - if you encounter new messages get translations list again for updates.
Details, Forums, Downloads

Follow us on Twitter

Contact Us

Spread the Word
& Get Discounts