RUST · OPEN SOURCE

Setup

The RTMP streaming server written in Rust with the power of a torpedo.

Get Javelin ↗

GET STARTED

Run your own Javelin server.

You’ll need OBS, Cargo or Docker, and a high-bandwidth server. This guide assumes familiarity with server administration.

Install with Cargo

Cargo is Rust’s package and build tool.

cargo install javelin
javelin --permit-stream-key="mysecretstreamkey"

Or run with 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

Broadcast from OBS

Choose Custom in Stream settings. Set server to rtmp://host:1935/app and enter the stream key you permitted above.

Watch your stream

Open the RTMP endpoint in a compatible media player, or use http(s)://host:port/app/playlist.m3u8 when HLS output is enabled.