Skip to content

Audio packets carry the talkgroup tags - #5

Merged
robotastic merged 7 commits into
mainfrom
audio-tags
Nov 24, 2026
Merged

robotastic merged 7 commits into
mainfrom
audio-tags

Conversation

@robotastic

@robotastic robotastic commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Replaces #4 by @aknitt-rsos, whose commits are kept here. One commit is added on top, to follow the SDK field as it is in TrunkRecorder/trunk-recorder-pro#226 (which replaces trunk-recorder-pro#224). The packets this plugin sends are the same as in #4. (This is a new PR only because maintainer edits could not be pushed to the fork.)

What

  • Audio packets with JSON carry patched_talkgroup_tags: the tag of the call's talkgroup, then the tags of the talkgroups patched with it. A call start lists every patched talkgroup's tag, not only the call's own.
  • src and src_tag follow the call as it's updated (the plugin subscribes to call.update). src_tag was always empty before.

Why

A receiver that names each transmission by its tags needs them on every audio packet. Before this, the tags only came on call start packets.

Change from #4

  • The tags come from CallInfo.patched (each patched talkgroup with its name) instead of pairing patched_talkgroups with patched_talkgroup_tags by index.

Notes for review

  • Builds on trunk-recorder-plugin 0.15.1 from crates.io (published after trunk-recorder-pro#226 merged).
  • The CI manifest check now knows every topic the SDK has (call.update was missing).
  • The plugin's version isn't bumped and the registry isn't touched; both wait for the release.

🤖 Generated with Claude Code

aaknitt and others added 5 commits November 23, 2026 17:26
The SDK now lists the talkgroups patched with a call's own, each with its
name, so the tags need no pairing of two lists by index. The packets are
unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
robotastic and others added 2 commits November 24, 2026 09:57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p tags

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robotastic
robotastic merged commit 7f9896e into main Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants