-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Vignesh Rao edited this page Feb 27, 2024
·
8 revisions
RuStream is a media streaming engine that is self-hosted and cross compatible.
It is designed to function both as a standalone binary and as an integrated library.
Download executable binary
macOS
curl -o RuStream-Darwin-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Darwin-x86_64.tar.gz"
Linux
curl -o RuStream-Linux-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Linux-x86_64.tar.gz"
RaspberryPi
curl -o RuStream-RaspberryPi.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-RaspberryPi.tar.gz"
Windows
curl -o RuStream-Windows-x86_64.zip -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Windows-x86_64.zip"
Import as a library
Installation
cargo add RuStream
Usage
use rustream;
#[actix_rt::main]
async fn main() {
match rustream::start().await {
Ok(_) => {
println!("RuStream session terminated")
}
Err(err) => {
eprintln!("Error starting rustream: {}", err)
}
}
}
Refer to the troubleshooting section of the Wiki if there are errors during the build process.
RuStream allows users to maintain only one active session at a time.
Meaning, if a user initiates a duplicate session using the same username, the previous session becomes invalidated.