https://github.com/motionspell/lldash-relay
Low latency HTTP relay acting like a WebRTC SFU
https://github.com/motionspell/lldash-relay
dash http sfu
Last synced: 13 days ago
JSON representation
Low latency HTTP relay acting like a WebRTC SFU
- Host: GitHub
- URL: https://github.com/motionspell/lldash-relay
- Owner: MotionSpell
- License: bsd-3-clause
- Created: 2025-01-21T16:05:22.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-05-02T15:43:53.000Z (17 days ago)
- Last Synced: 2025-05-02T16:46:26.577Z (17 days ago)
- Topics: dash, http, sfu
- Language: C++
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Evanescent : a low-latency HTTP server
# Dependencies
## Build dependencies
```
$ sudo apt install libssl-dev
```## Code formatter (optional)
Install [uncrustify](https://github.com/uncrustify/uncrustify)
```
$ git clone https://github.com/uncrustify/uncrustify.git
$ cd uncrustify
$ git checkout uncrustify-0.64
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j $(nproc)
$ sudo make install
```# Running
Usage examples:
```sh
$ evanescent --port 10333
$ evanescent --tls --port 10777
$ evanescent --long-poll 5000 # accepts client connections on non-existing resources, value in ms.```
# Building
## Native build
```
$ make
```## Cross-compiling
Simply override CXX and PKG_CONFIG_LIBDIR to use your target toolchain:
```
$ export PKG_CONFIG_LIBDIR=/my_w32_sysroot
$ export CXX=x86_64-w64-mingw32-g++
$ make
```Beware: if you don't override PKG_CONFIG_LIBDIR, the build will use your system
headers, which will lead to strange compilation errors.# Testing
```
./check
```# Computing coverage
```
./scripts/cov.sh
```# Usefull links
- HTTP 1.1: https://tools.ietf.org/html/rfc7231
- OpenSSL manual: https://www.openssl.org/docs/manmaster/man3/