Skip to content

Audio packets carry the talkgroup tags - #4

Closed
aknitt-rsos wants to merge 3 commits into
TrunkRecorder:mainfrom
aknitt-rsos:upstream-audio-tags
Closed

aknitt-rsos wants to merge 3 commits into
TrunkRecorder:mainfrom
aknitt-rsos:upstream-audio-tags

Conversation

@aknitt-rsos

@aknitt-rsos aknitt-rsos commented Nov 23, 2026 •

Copy link
Copy Markdown

What

Audio packets (the ones with JSON) now include patched_talkgroup_tags: the tag of the call's talkgroup, then the tags of the talkgroups patched with it. A call start lists the tags of every patched talkgroup, not only the call's own.

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, so a receiver that ignores call start had only the numbers.

Notes for review

  • Ready for review, but it can't merge until #224 is merged and its SDK is released. The dependency line points at the branch with the new SDK field, because that release isn't out yet. It goes back to a normal version number once it is.

Also in this PR

  • src and src_tag (the radio talking and its name) now come from the call's latest update, as the call record changes, rather than from the call's start. The plugin subscribes to call.update for this. src_tag was always empty before.
  • The name is from the call's sources, so it's empty when the recorder doesn't know the radio's name yet.

@robotastic

Copy link
Copy Markdown
Contributor

Thanks @aknitt-rsos. This is carried on in #5 with your commits kept, plus one that reads the tags from CallInfo.patched (the SDK field as reworked in TrunkRecorder/trunk-recorder-pro#226) and one that teaches the CI manifest check the call.update topic. The packets are the same as yours. Closing this in favour of #5.

@robotastic robotastic closed this Nov 24, 2026
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.

3 participants