Skip to content

Client Server

Aymeric edited this page Jan 13, 2015 · 15 revisions

The official documentation has been moved to http://wiki.sarah.encausse.net/

.
.
.
.
.
.
.
.

Architecture

SARAH is a standalone windows zip with both Client and Server. Installation can be splitted between

  • A NodeJS Server (on Windows, Linux, Mac, RaspberryPi)
  • Multiple C# Clients (on Windows)

See also Architecture

Files

Here is a list of files for client and server

WSRNodeJS

  • NodeJS: Standalone install for windows
  • ExpressJS: Standalone install for windows
  • PhantomJS: Standalone install for windows
  • plugins: plugin's server part
  • script: server script and libraries
  • webapp: html, js, css
  • custom.prop: Serveur configuration
  • Server_NodeJS.cmd: Launch NodeJS

WSRKinect

  • bin: Exe, Dll, Logs
  • chromeless: A Chromeless Webkit browser
  • macros: Core grammar files
  • plugins: plugin's client part
  • audio: recognize uploaded files
  • dump: dump recognized wav and sml in debug mode
  • medias: audio files to play
  • profile: Facial recognition data
  • Log2Console: Client log viewer (for windows)
  • custom.ini: Client configuration
  • Client_Kinect.cmd: Launch Kinect mode
  • Client_Kinect_Audio.cmd: Launch Kinect mode (audio only)
  • Client_Microphone.cmd: Launch Microphone mode

Configuration

Client

custom.ini require address of NodeJS server to send HTTP request

; NodeJS server address
server=127.0.0.1

; NodeJS server port
port=8080

; Client identifier
id=SARAH1

Server

custom.prop require address of Client. There is no clean way to handle multiple client at the moment.

"http" : {
  "remote"    : "http://127.0.0.1:8888/"
},

The Hologram EJS File must be configured to use Client WebSocket Address

Clone this wiki locally