Project GameSurvey 2.0 is now finished and availiable.
GameSurvey 2.0 – Beta is now public under the Creative Common Namensnennung- Weitergabe unter gleichen Bedingungen 3.0 Österreich licence available.
Link to the source code and the documentary: Github
GSurveyCode consists of two services:
- gsWeb – provides web server and rest interfaces, talks to the database.
- gsVideo – receives file uploads, handles streaming content to clients.
This repository contains the full GameSurvey code.
- ffmpeg: The video server requires a working ffmpeg installation for transcoding, expecting path to
ffprobein his config file.
- JDK: JDK 8 is required to build GSurveyCode
https://gradle.org/ is used as build system.:
Builds both services and packs them as seperates jar files.
server: applicationConnectors: - type: http port: 8080 adminConnectors: - type: http port: 8081 jwtkey: fbappID: 42 fbsecureCode: 42 #mail settings smtpAuth: true startTls: true ssl: false smtpHost: smtp.gmail.com smtpPort: 587 username: email@example.com password: password from: firstname.lastname@example.org database: # the name of your JDBC driver driverClass: org.postgresql.Driver # # the username user: username # # # the password password: password # url: jdbc:postgresql://127.0.0.1/gamesurvey # Logging settings. logging: # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. level: INFO
videoDirName: C:\uploaded\ gsServiceURL: http://localhost:8080 jwtkey: serverID: 1 ffmpeg: C:\Program Files\ffmpeg\bin\ffmpeg.exe ffprobe: C:\Program Files\ffmpeg\bin\ffprobe.exe jerseyClient: timeout: 3s server: applicationConnectors: - type: http port: 9000 adminConnectors: - type: http port: 9001 # Logging settings. logging: # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. level: INFO
Both servers require a matching jwt key for internal communication and user authentication.
If the jwtkey field is empty, a random jwt key is generated and logged to stdout. This key should be put into the configuration files.
java -jar gsweb.jar server gsweb.yml java -jar gsvideo.jar server gsvideo.yml