Skip to content

jamieduk/SWYH-ARM-64Bit-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SWYH-RS for ARM64 Linux

License: MIT

A "Stream-What-You-Hear" implementation for ARM64 Linux Ubuntu, based on the original SWYH-RS by dheijl.

🚀 Quick Start

Pre-compiled Binaries

  1. Extract the archive
  2. Run either:
    ./rs-cli
    # or
    ./swyh-rs
  3. Test in your browser:
    http://localhost:5901/stream/swyh.wav
    

⚠️ Remember: Configure your firewall and port forwarding for external access!

🔧 Building from Source

Prerequisites

Install required system dependencies:

# UI dependencies
sudo apt install -y libx11-dev libxext-dev libxft-dev libxinerama-dev \
                    libxcursor-dev libxrender-dev libxfixes-dev \
                    libpango1.0-dev libgl1-mesa-dev libglu1-mesa-dev

# Audio dependencies
sudo apt install -y libasound2-dev

Install Rust

RUSTUP_INIT_SKIP_PATH_CHECK=yes curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Select option 1 when prompted

📝 Note: Remember to restart your terminal after installing Rust

Firewall Configuration

Configure UFW rules for DLNA/UPNP and streaming:

# DLNA/UPNP
sudo ufw allow in from 192.168.0.0/24 to any port 1900 proto udp
sudo ufw allow in from fc00::/7 to any port 1900 proto udp

# UDP Ports
sudo ufw allow in from 192.168.0.0/24 to any port 32000:60000 proto udp
sudo ufw allow in from fc00::/7 to any port 32000:60000 proto udp

# Streaming Port
sudo ufw allow in from 192.168.0.0/24 to any port 5901 proto tcp
sudo ufw allow in from fc00::/7 to any port 5901 proto tcp

# Apply changes
sudo ufw reload

Build Process

  1. Clone the repository
  2. Run the build script:
    ./buildall
  3. Find the compiled binary in:
    swyh-rs-1.12.0/target/release/
    

🔗 Resources

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Audio Stream Broadcaster Linux For ARM 64 Bit

Resources

Stars

Watchers

Forks

Packages

No packages published