#server #live #experimental #video-streaming #ipfs #live-streaming

app rectangle-device

Experimental decentralizable live video server

1 unstable release

0.1.0 Oct 6, 2020

#448 in Video

Apache-2.0 OR MIT

94KB
2K SLoC

Rust 1K SLoC // 0.0% comments Shell 751 SLoC // 0.1% comments Bitbake 27 SLoC

rectangle device

This is an experimental live + vod video server that integrates with IPFS for long-term distributed storage.

This is a proof of concept for streaming video ingest in a format that could be quickly shared via IPFS while the stream is still ongoing.

Build dependencies:

  • rust -- get it from rustup if you like. the project builds with cargo.
  • yarn -- yes, yarn, not npm. npm is bad at reproducible builds. the rust build system invokes yarn to build the javascript, so install it.

Runtime dependencies:

  • linux -- this project is basically linux-only due to the way it interacts with transcode containers. if you use another OS, run this inside docker or your favorite virtual machine.
  • openssl -- just used temporarily for generating keys, as a bug workaround
  • podman -- get the thing. this is a lightweight container manager and runtime which does not require any additional privileges to run. this is used to manage sandboxed reproducible transcodes, with hashed ffmpeg images.

Dependencies

~28–43MB
~716K SLoC