RuStream 0.0.1-temp

An API written in Rust, to stream videos using Actix framework, via authenticated sessions
Documentation
RuStream-0.0.1-temp has been yanked.

RuStream

made-with-rust

build

Summary

RuStream is an application written in Rust to stream videos using Actix API via authenticated sessions.

Usage

macOS
curl -o asset -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Darwin-x86_64.tar.gz"
Linux
curl -o asset -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Linux-x86_64.tar.gz"
RaspberryPi
curl -o asset -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-RaspberryPi.tar.gz"
Windows
curl -o asset -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Windows-x86_64.zip"

Arguments

  • debug - Enable debug level logging

Flags

  • --filename / -f - Filename (JSON) for the secrets config
  • --version / -v - Get package version

Config file

RuStream requires a JSON file with secrets loaded as key-value paris.

{
  "authorization": {"rustic":  "S0m3rAn0mP@ssW0rD"},
  "video_source": "/Users/hannibal/Downloads/stream",
  "video_port": 5883,
  "file_formats": [".mov", ".mp4", ".mkv"],
  "workers": 10
}

Crate

https://crates.io/crates/RuStream

Linting

Requirement

rustup component add clippy

Usage

cargo clippy --no-deps --fix --allow-dirty

License & copyright

© Vignesh Rao

Licensed under the MIT License