Skip to content

Euphoria is a streaming server for video, audio and other files

License

Notifications You must be signed in to change notification settings

dbmdz/streaming-server-euphoria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Euphoria Streaming Server

Javadocs Build Status License GitHub release Maven Central

Supported formats

Format tested
MP4 yes
MP3 yes
OGG yes
PDF yes
TXT yes
XML yes

Requirements

  • 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".

Installation

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

Configuration

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.

Usage

  • 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