#rtmp #hls #media #live-streaming

yanked javelin

Simple streaming server

0.3.7 Sep 8, 2019
0.3.6 Apr 3, 2019
0.3.3 Jan 14, 2019
0.2.3 Dec 3, 2018

#14 in #rtmp

GPL-3.0 license

82KB
2K SLoC

javelin

Javelin RTMP Server

Streaming server written in Rust.

Supported sources:

  • RTMP

Supported outputs:

  • RTMP
  • HLS (H.264 + AAC)

How to install and run

Via Cargo

cargo install javelin
# Make sure your $CARGO_HOME/bin is in your $PATH
javelin --permit-stream-key="mysecretstreamkey"

Via Docker

docker pull registry.gitlab.com/valeth/javelin:latest
docker run --tty -p 1935:1935 \
    registry.gitlab.com/valeth/javelin:latest \
    --hls-root=/tmp/streamout \
    --permit-stream-key=123456

Try javelin --help for more command line options.

Dependencies

~12–23MB
~332K SLoC