Format | tested |
---|---|
MP4 | yes |
MP3 | yes |
OGG | yes |
yes | |
TXT | yes |
XML | yes |
- Java 8: You will need the Java Runtime Environment (JRE) version 1.8 or higher. At a command line, check your Java version with "java -version".
Build the webapp locally and copy it to server:
$ cd <source_directory_euphoria>
$ mvn clean install
$ scp target/streaming-server-euphoria-3.0.0-SNAPSHOT.jar <user>@<server>:/local/bin
Based on unique resource identifiers corresponding to the requested filenames the server tries to resolve identifiers to a "file:" path. The resolving rules (one rule per line) are configurable with regular expressions in yaml-files, e.g. for production environment see here.
- To run streaming-server-euphoria, e.g.:
/usr/bin/java -XX:+ExitOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -XX:MaxDirectMemorySize=8G -Xmx4G -jar /local/bin/streaming-server-euphoria-3.0.0-SNAPSHOT.jar --spring.profiles.active=PROD --server.port=8080 --server.servlet.context-path=/media --management.server.port=9001 --logging.config=/local/config/euphoria/logback-spring.xml
Open webapp in browser (use configured 'server.port' and 'server.servlet.context-path'): http://localhost:8080/media