Quick Start

1. Download BlueCam.zip

Download

2. Move the code into your project’s web directory

Your domain/ server needs to be encrypted with https:// for all of WebRTCs features to work. We recomend Let's Encrypt for easy & free SSL certificates.

3. Create the Database tables

Create the PrivateRooms and BlueChatMessages PostgreSQL tables (you can use an existing PostgreSQL database if applicable). This will facilitate data exchange before the peer connection is established and will track video chat durations if you would like to bill your users or clients in a time based manner. Change psqlConfig.php to reflect your Database name and credentials. Database Docs

4. Create a Private Room

Create a room with BlueCam’s php library for two users

5. Connect Your Users

Use the new room's roomId to connect the two users by video and text chat
BlueCam