2 releases
0.3.4 | Apr 2, 2019 |
---|---|
0.3.3 | Apr 1, 2019 |
#1034 in Audio
25 downloads per month
Used in javelin
28KB
736 lines
Javelin
A simple video live streaming server.
Supported sources:
- RTMP (H.264 + AAC)
Supported outputs:
- RTMP
- HLS (H.264 + AAC)
Install
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.
Contributions
See CONTRIBUTING.md
Versioning
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
)
Dependencies
~2MB
~30K SLoC