Two bugs prevented real-world trunk conversations from working: 1. onTrunkTalkerUpdated only notified clients selected on a TG, not clients monitoring it. SvxLink repeaters monitoring a foreign TG never received MsgTalkerStart and could not auto-switch. Fixed by adding TgMonitorFilter to trunk talker broadcasts, matching the existing behavior of onTalkerUpdated for local talkers. 2. Trunk TG routing was one-way: when a client visited a foreign TG, isSharedTG forwarded to the owner, but the owner had no return path. Added per-link peer interest tracking — when a peer sends MsgTrunkTalkerStart for a TG, the receiving side records interest and forwards local activity on that TG back. Interest refreshes on audio, expires after 10 minutes idle, clears on disconnect. New integration test verifies the full round-trip: client-A talks on a foreign TG, monitoring client-B receives the notification, client-B replies, and client-A receives audio back through the trunk.
41 lines
473 B
Plaintext
41 lines
473 B
Plaintext
# Build output
|
|
build/
|
|
|
|
# Compiled object files and binaries
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.so.*
|
|
*.dylib
|
|
*.out
|
|
*.elf
|
|
|
|
# CMake generated files
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
cmake_install.cmake
|
|
install_manifest.txt
|
|
CTestTestfile.cmake
|
|
_deps/
|
|
|
|
# Claude
|
|
.claude/
|
|
CLAUDE.md
|
|
docs/superpowers/
|
|
|
|
# Test generated files (regenerated by tests/generate_configs.py)
|
|
tests/configs/
|
|
tests/docker-compose.test.yml
|
|
tests/__pycache__/
|
|
|
|
# Editor and IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|