V0.1.9 (#26)
* fix: prevent duplicate call link detection (#23) Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> * bot improvements (#25) Co-authored-by: Maksim <maksim@MBP-Maksim.lan> * headless vk video creator * add scroll to logs * allow peer reconnection * add todo about topology changes, kick stale peer to prevent SFU topology * unified relay for headless * remove relay binaries, extend build-go.sh to build them * refactor constants * limit headless resource usage * nuke everyone and yourself at sfu topology changes * add headless for creator * save bot enabled state * increment release version --------- Co-authored-by: Nevenuga <80585376+Nevenuga@users.noreply.github.com> Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> Co-authored-by: Maksim <maksim@MBP-Maksim.lan> Co-authored-by: kulikov <user@Mac.lan>
This commit is contained in:
37 files changed
+2589
-133
No files matched your search
+12
-1
@@ -12,7 +12,8 @@ command -v gomobile >/dev/null || { echo "gomobile not found, run: go install go
|
||||
command -v gobind >/dev/null || { echo "gobind not found, run: go install golang.org/x/mobile/cmd/gobind@latest"; exit 1; }
|
||||
[ -d "$ANDROID_NDK_HOME" ] || { echo "NDK not found at $ANDROID_NDK_HOME"; exit 1; }
|
||||
|
||||
cd "$(dirname "$0")/relay"
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$ROOT/relay"
|
||||
|
||||
echo "Building gomobile .aar..."
|
||||
gomobile bind -v -target=android -androidapi 23 -o mobile.aar ./mobile/ 2>&1
|
||||
@@ -34,3 +35,13 @@ cp ../hooks/video-vk.js ../android-app/app/src/main/assets/video-vk.js
|
||||
cp ../hooks/video-telemost.js ../android-app/app/src/main/assets/video-telemost.js
|
||||
|
||||
echo "Done. .aar size: $(du -h mobile.aar | cut -f1)"
|
||||
|
||||
echo ""
|
||||
echo "Building desktop relay..."
|
||||
go -C "$ROOT/relay" build -o relay .
|
||||
|
||||
echo "Building headless-creator..."
|
||||
go -C "$ROOT/headless" build -o headless-creator .
|
||||
|
||||
echo "Done."
|
||||
ls -lh "$ROOT/relay/relay" "$ROOT/headless/headless-creator"
|
||||
Reference in new issue
Block a user