Crates.io | hylarana-codec |
lib.rs | hylarana-codec |
version | 0.1.0 |
source | src |
created_at | 2024-11-02 15:44:44.374542 |
updated_at | 2024-11-02 15:44:44.374542 |
description | A cross-platform screen casting library implemented by Rust. |
homepage | |
repository | https://github.com/mycrl/hylarana |
max_upload_size | |
id | 1432966 |
size | 64,919 |
Pure software screen projection is different from Miracast, AirPlay, etc., which need to rely on hardware support. This project was not designed to work on a wide area network, but works well in a local area network environment.
The project is cross-platform, but the priority platforms supported are Windows and Android, Unlike a solution like DLAN, this project is more akin to airplay, so low latency is the main goal, currently the latency is controlled at around 150-250ms (with some variations on different platforms with different codecs), and maintains a highly easy to use API and very few external dependencies.
Automated builds can be downloaded from the github release page.
example-cpp
.example
.For Linux, you need to install additional dependencies to build SRT and other.
sudo apt-get update
sudo apt-get install tclsh pkg-config cmake libssl-dev build-essential libasound2-dev libsdl2-dev libva-dev v4l-utils
brew install cmake ffmpeg@7
Examples and SDK library files can be automatically packaged by running an automatic compilation script.
npm run build:release
The Release version is compiled by default. If you need the Debug version, just run npm run build:debug
.
For android, there is no need to manually call compilation. You can directly use Android Studio to open android.
LGPL Copyright (c) 2024 mycrl.