Expressway Flexchat v1.0
Installation
-
Unzip the download and copy the contents of the 'public' directory within your web server's document. The Flexchat works fine anywhere within the document root, including subdomains and subdirectories.
- Create a MySQL database for the flexchat. Import the data in mysql/flexchat.sql into that database.
- Open up inc/config.php from the location you installed the public directory and edit the DB_HOST, DB_NAME, DB_USER, and DB_PASSWORD so that the application can connect to the database.
-
Install the media server application.
-
Wowza Media Server
- Create a folder in the Wowza Media Server’s application and conf directories named flexchat.
- Copy the .jar files in wms/lib to Wowza Media Server’s lib directory.
- Copy the Application.xml file from wms/conf to Wowza Media Server’s conf/flexchat directory.
- Open up the Application.xml you just copied. Scroll down to the bottom and change the dbHost, dbName, dbUser, and dbPassword properties so that the media server can access the Flexchat database.
-
Flash Media Server
- Copy the files in fms/applications/flexchat to Flash Media Server’s application/flexchat directory.
- Open up applications/flexchat/Application.xml in the Flash Media Server’s directory and edit the <amfphp> property. Change the first part of the property—http://localhost/flexchat—to the URL of the Flexchat, so that it becomes http://yourdomain.com/flexchat/installion/dir/amfphp/gateway.php
-
Red5 Media Server
- Create a folder named flexchat in Red5’s webapps directory.
- Copy the all of the files and folders in the red5 directory to the flexchat directory you just created.
- In the flexchat directory you just created, open up red5-web.xml and edit the dbHost, dbName, dbUser, and dbPassword properties so that the media server can access the Flexchat database.
- Restart the media server.
- Navigate to the admin section of the Flexchat, which is the URL that you installed the Flexchat in, plus /admin. e.g. http://yourdomain.com/flexchat/installion/dir/admin.
- Login with the username admin and the password password.
- In Configuration > External Server, change URL Media Server to the IP or URL that your media server is broadcasting on, plus /flexchat. You can include the port as well, if you need to. e.g. http://127.0.0.1:443/flexchat.
- Test the connection. If it works, you can now login, register, and test the Flexchat at your leisure.
Demo Limitations
The demo is not time-restricted, however there are several limitations placed on its functionality.
- You can only create one room.
- All users in a room will be kicked out after ten minutes of being logged in.
- There is a permanent watermark displayed over the entire interface.