HOW TO USE AND BUILD:
If you downloaded the binary use it from the terminal like this:
./sender (optional: <listn_addr>) ./receiver <addr_to_connect_to>:4433
In the streamcapture folder: Run sender (only linux pipewire as of now) =
- cargo run --release (accepts all connections to port 4433)
- cargo run --release <listen_addr> (accepts connections to listen addr to port 4433)
Run receiver = cargo run --release -p receiver --features="desktop" (IP or DDNS to whihch you wanna connect with port 4433. e.g.) 127.0.0.1:4433
In the receiver folder: Build android app:
- cargo ndk -t arm64-v8a -P 26 -o ../android-app/app/src/main/jniLibs build --release
- In the folder streamcapture/android-app = ./gradlew assembleRelease.
- The apk file should be in app/build/outputs/apk/release