#video #audio #codec


Codecs for the Javelin streaming server

2 releases

0.3.4 Apr 2, 2019
0.3.3 Apr 1, 2019

#103 in Video

Used in javelin

GPL-3.0 license

736 lines


A simple video live streaming server.

Supported sources:

  • RTMP (H.264 + AAC)

Supported outputs:

  • RTMP
  • HLS (H.264 + AAC)


cargo install javelin
# Make sure your $CARGO_HOME/bin is in your $PATH

# add an user with an associated stream key to the database
javelin permit-stream username mysecretstreamkey

# start the server
javelin run

Check out the Wiki for more info about other possible installation methods.

Feature flags

The following feature flags can be supplied to cargo:

Flag Default Description
rtmp yes Enables the RTMP source
rtmps no Enables additional TLS support for RTMP
hls yes Enables the HLS server
db-sqlite yes Use SQLite as database backend
db-mongo no Use MongoDB as database backend

Note: One database backend is required.




The project follows semantic versioning.

We are not on a stable version yet, which means the following additional rules apply:

  • Breaking changes cause a minor version bump (0.1.0 -> 0.2.0)
  • Non-breaking changes cause a patch version bump (0.1.1 -> 0.1.2)


~26K SLoC